-
Bug
-
Resolution: Fixed
-
Blocker
-
windows 11, java11
also ci.jenkins.io - but that also continues but does not fail
git core.autocrlf=false
building jenkins core (master) fails on windows
```
INFO] 67:3 â?¼ Expected selector "#plugins tr.deleted .jenkins-toggle-switch label" to come before selector "#plugins tr.has-disabled-dependency .enable .jenkins-toggle-switch label" no-descending-specificity
[INFO]
[INFO] src/main/less/pages/setupWizardFirstUser.less
[INFO] 21:25 â?¼ Expected newline after "," selector-list-comma-newline-after
[INFO]
[INFO] error Command failed with exit code 2.
[INFO] error Command failed with exit code 2.info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[INFO] error Command failed with exit code 2.
[INFO] error Command failed with exit code 2.info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Jenkins main module 2.358-SNAPSHOT:
[INFO]
[INFO] Jenkins main module ................................ SUCCESS [ 3.305 s]
[INFO] Jenkins BOM ........................................ SUCCESS [ 0.225 s]
[INFO] Jenkins cli ........................................ SUCCESS [ 21.519 s]
[INFO] Jenkins core ....................................... SUCCESS [02:51 min]
[INFO] Jenkins war ........................................ FAILURE [01:56 min]
[INFO] Tests for Jenkins core ............................. SKIPPED
[INFO] Jenkins coverage ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
```
this is also the case on CI however there due to the profiles it uses the failure does not seem to be fatal (or because these yarn things are tests.)
Steps to reproduce
checlout the latest jenkinsci/jenkins code on windows
mvn install
expected behaviour
the build and tests pass and the artfacts are installed to the local repo
Actual Results
build fails (yarn lint)?
- is caused by
-
JENKINS-68903 Frontend lint violations do not fail the build
-
- Closed
-
- links to
The difference between the passing build (Linux) and failing build (Windows) is in src/main/less/abstracts/theme.less. On Linux it prints:
On Windows it fails after printing:
Line 327 is:
Pinging janfaracik as this was added in https://github.com/jenkinsci/jenkins/pull/6538. Perhaps there should be a semicolon at the end of line 329?