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

CssSyntaxError when linting war module on Windows

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

          [JENKINS-68887] CssSyntaxError when linting war module on Windows

          James Nord created issue -
          Basil Crow made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: core [ 15593 ]
          Basil Crow made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: maven-plugin [ 16033 ]
          Basil Crow made changes -
          Labels New: regression
          Alexander Brandes made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/jenkins/pull/6720 (Web Link)" [ 27901 ]
          Basil Crow made changes -
          Labels Original: regression New: regression ux-untriaged
          Basil Crow made changes -
          Summary Original: can no longer build Jenkins on windows New: CssSyntaxError when linting war module on Windows
          Basil Crow made changes -
          Assignee New: Basil Crow [ basil ]
          Basil Crow made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Basil Crow made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Basil Crow made changes -
          Remote Link New: This issue links to "jenkinsci/jenkins#6744 (Web Link)" [ 27909 ]

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

              Created:
              Updated:
              Resolved: