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

js-lib "core-asset" jar files are not properly generated

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • js-modules
    • None

      The js-libs "core-asset" scoped jars are not being generated properly - js, css etc assets not copied into jar.

      Not visible in a full running Jenkins because the js-lib plugins are installed and so the UI is able to resolve the assets via the plugins.

      However, it is visible when running Jenkins via HPI e.g. go to the main "New Item" page and you'll see it is blank and there's a script loading exception in the browser console.

          [JENKINS-48831] js-lib "core-asset" jar files are not properly generated

          Tom FENNELLY added a comment -

          Tom FENNELLY added a comment - https://github.com/jenkinsci/jenkins/pull/3215 https://github.com/jenkinsci/js-libs/pull/4

          Jesse Glick added a comment -

          when running Jenkins via HPI e.g. go to the main "New Item" page and you'll see it is blank

          I do not recall ever seeing such a problem. Is this something new?

          Jesse Glick added a comment - when running Jenkins via HPI e.g. go to the main "New Item" page and you'll see it is blank I do not recall ever seeing such a problem. Is this something new?

          Tom FENNELLY added a comment -

          Sorry ... not HPI ... running jenkins core via org.jenkins-ci.tools:maven-jenkins-dev-plugin. Sorry for misleading.

          Not sure how new it is. I noticed it recently when playing with an idea for jenkins core.

          1. Build jenkins core
          2. cd into the war dir
          3. mvn org.jenkins-ci.tools:maven-jenkins-dev-plugin:run
          4. Open jenkins and try "New Item"

          Tom FENNELLY added a comment - Sorry ... not HPI ... running jenkins core via org.jenkins-ci.tools:maven-jenkins-dev-plugin . Sorry for misleading. Not sure how new it is. I noticed it recently when playing with an idea for jenkins core. Build jenkins core cd into the war dir mvn org.jenkins-ci.tools:maven-jenkins-dev-plugin:run Open jenkins and try "New Item"

          Jesse Glick added a comment -

          I always use hudson-dev:run. Not sure about the plugin you mention.

          Jesse Glick added a comment - I always use hudson-dev:run . Not sure about the plugin you mention.

            tfennelly Tom FENNELLY
            tfennelly Tom FENNELLY
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: