• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • gradle-jpi-plugin
    • None

      Due to a regression in version 0.11.0 of the Gradle JPI plugin, the published HPI file contains the POM XML.

      Example: http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/job-dsl/1.33/job-dsl-1.33.hpi

          [JENKINS-28305] Published HPI file contains POM XML

          Daniel Spilker added a comment - https://github.com/jenkinsci/gradle-jpi-plugin/pull/52

          Code changed in jenkins
          User: Daniel Spilker
          Path:
          CHANGELOG.md
          src/main/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPlugin.groovy
          src/test/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPluginSpec.groovy
          src/test/resources/org/jenkinsci/gradle/plugins/jpi/bitbucket-pom.xml
          src/test/resources/org/jenkinsci/gradle/plugins/jpi/compile-dependencies-pom.xml
          src/test/resources/org/jenkinsci/gradle/plugins/jpi/complex-pom.xml
          src/test/resources/org/jenkinsci/gradle/plugins/jpi/minimal-pom.xml
          src/test/resources/org/jenkinsci/gradle/plugins/jpi/optional-plugin-dependencies-pom.xml
          src/test/resources/org/jenkinsci/gradle/plugins/jpi/plugin-dependencies-pom.xml
          http://jenkins-ci.org/commit/gradle-jpi-plugin/d35ac7db89fdf3e12faa5e0862821562fdbbd899
          Log:
          JENKINS-28305 changed packaging back to jpi

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Spilker Path: CHANGELOG.md src/main/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPlugin.groovy src/test/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPluginSpec.groovy src/test/resources/org/jenkinsci/gradle/plugins/jpi/bitbucket-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/compile-dependencies-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/complex-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/minimal-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/optional-plugin-dependencies-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/plugin-dependencies-pom.xml http://jenkins-ci.org/commit/gradle-jpi-plugin/d35ac7db89fdf3e12faa5e0862821562fdbbd899 Log: JENKINS-28305 changed packaging back to jpi

          Code changed in jenkins
          User: Daniel Spilker
          Path:
          CHANGELOG.md
          src/main/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPlugin.groovy
          src/test/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPluginSpec.groovy
          src/test/resources/org/jenkinsci/gradle/plugins/jpi/bitbucket-pom.xml
          src/test/resources/org/jenkinsci/gradle/plugins/jpi/compile-dependencies-pom.xml
          src/test/resources/org/jenkinsci/gradle/plugins/jpi/complex-pom.xml
          src/test/resources/org/jenkinsci/gradle/plugins/jpi/minimal-pom.xml
          src/test/resources/org/jenkinsci/gradle/plugins/jpi/optional-plugin-dependencies-pom.xml
          src/test/resources/org/jenkinsci/gradle/plugins/jpi/plugin-dependencies-pom.xml
          http://jenkins-ci.org/commit/gradle-jpi-plugin/8f6c1176214561f7f87b7b32d902e06ef29cc860
          Log:
          Merge pull request #52 from daspilker/JENKINS-28305

          JENKINS-28305 changed packaging back to jpi

          Compare: https://github.com/jenkinsci/gradle-jpi-plugin/compare/03e6dde2ef97...8f6c11762145

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Spilker Path: CHANGELOG.md src/main/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPlugin.groovy src/test/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPluginSpec.groovy src/test/resources/org/jenkinsci/gradle/plugins/jpi/bitbucket-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/compile-dependencies-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/complex-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/minimal-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/optional-plugin-dependencies-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/plugin-dependencies-pom.xml http://jenkins-ci.org/commit/gradle-jpi-plugin/8f6c1176214561f7f87b7b32d902e06ef29cc860 Log: Merge pull request #52 from daspilker/ JENKINS-28305 JENKINS-28305 changed packaging back to jpi Compare: https://github.com/jenkinsci/gradle-jpi-plugin/compare/03e6dde2ef97...8f6c11762145

          Fixed in 0.11.1.

          Daniel Spilker added a comment - Fixed in 0.11.1.

          Daniel Beck added a comment -

          Why is this a critical regression? Don't all maven-based plugins bundle their POM as well?

          Daniel Beck added a comment - Why is this a critical regression? Don't all maven-based plugins bundle their POM as well?

          No, the content HPI is the POM. Both files are identical. See http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/job-dsl/1.33/.

          Daniel Spilker added a comment - No, the content HPI is the POM. Both files are identical. See http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/job-dsl/1.33/ .

          Daniel Beck added a comment -

          Thanks for the clarification!

          Daniel Beck added a comment - Thanks for the clarification!

          Shall I add job-dsl-1.33 to https://github.com/jenkinsci/backend-update-center2/blob/master/src/main/resources/artifact-ignores.properties to avoid exceptions when generating the Update Center json?

          Daniel Spilker added a comment - Shall I add job-dsl-1.33 to https://github.com/jenkinsci/backend-update-center2/blob/master/src/main/resources/artifact-ignores.properties to avoid exceptions when generating the Update Center json?

          Code changed in jenkins
          User: Daniel Spilker
          Path:
          job-dsl-plugin/build.gradle
          http://jenkins-ci.org/commit/job-dsl-plugin/d70de64eceef401bdda2dce51e68d2014aac6c76
          Log:
          updated Gradle JPI plugin to 0.11.1 to fix problems with published HPI file

          JENKINS-28305

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Spilker Path: job-dsl-plugin/build.gradle http://jenkins-ci.org/commit/job-dsl-plugin/d70de64eceef401bdda2dce51e68d2014aac6c76 Log: updated Gradle JPI plugin to 0.11.1 to fix problems with published HPI file JENKINS-28305

          Daniel Beck added a comment -

          daspilker There are so many exceptions already, they're no longer exceptional Not worth the effort IMO.

          Daniel Beck added a comment - daspilker There are so many exceptions already, they're no longer exceptional Not worth the effort IMO.

            daspilker Daniel Spilker
            daspilker Daniel Spilker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: