Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68887

CssSyntaxError when linting war module on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core
    • windows 11, java11
      also ci.jenkins.io - but that also continues but does not fail

      git core.autocrlf=false
    • 2.358

      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.)

      https://ci.jenkins.io/blue/rest/organizations/jenkins/pipelines/Core/pipelines/jenkins/branches/master/runs/3747/nodes/75/steps/88/log/?start=0

      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)?

            basil Basil Crow
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: