Skip to content

d

8cec7fc
Select commit
Loading
Failed to load commit list.
Open

Ad usergroup widget and enhance group block #296

d
8cec7fc
Select commit
Loading
Failed to load commit list.
Jenkins - ci.eionet.europa.eu / Jenkins failed Jul 3, 2025 in 1m 45s

Testing/Volto 17/ES lint: error in 'sh' step

Testing / Volto 17 / Volto 17 / ES lint / Shell Script

Error in sh step, with arguments docker run --rm --name="$IMAGE_NAME-eslint" --entrypoint=make --workdir=/app/src/addons/$GIT_NAME $IMAGE_NAME-frontend lint.

script returned exit code 2
Build log
+ docker run --rm --name=jenkins-volto-addons-volto-eea-website-theme-pr-296-11-eslint --entrypoint=make --workdir=/app/src/addons/volto-eea-website-theme jenkins-volto-addons-volto-eea-website-theme-pr-296-11-frontend lint
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
ESLint found too many warnings (maximum: 0).

/app/src/addons/volto-eea-website-theme/src/components/theme/Widgets/ADUserGroupSelectWidget.jsx
   25:3   warning  'MultiValueContainer' is defined but never used  no-unused-vars
  460:11  warning  Unexpected console statement                     no-console
  479:7   warning  Unexpected console statement                     no-console
  525:7   warning  Unexpected console statement                     no-console

✖ 4 problems (0 errors, 4 warnings)

make: *** [Makefile:122: lint] Error 1

Details

  • Declarative: Checkout SCM (7.7 sec)
    • Declarative: Tool Install (2.7 sec)
      • Release (2.3 sec)
      • Check if testing needed (2.1 sec)
      • Testing (1 min 17 sec)
        • Volto 17 (37 ms)
          • Volto 17 (1 min 9 sec)
            • Build test image (31 sec)
            • Fix code (2.1 sec)
            • ES lint (9.5 sec)
              Error: script returned exit code 2 - logs
            • Style lint (2 sec)
            • Prettier (2.1 sec)
            • Unit tests (1.9 sec)
            • Integration tests (2.7 sec)
            • Report to SonarQube (2.2 sec)
        • Volto 16 (26 sec)
          • Volto 16 (22 sec)
            • Build test image (2.1 sec)
            • Unit tests Volto 16 (2.1 sec)
            • Integration tests Volto 16 (1.9 sec)
      • SonarQube compare to master (2.2 sec)
      • Pull Request (2.3 sec)
      • Declarative: Post Actions (2.2 sec)