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

Binary compatibility broken between JIRA plugin 3.0.2 and Artifactory plugin 2.16.2

    XMLWordPrintable

Details

    Description

      Jira integration doesn't work within Artifactory plugin after update of Jira plugin to 3.0.2 After downgrade to 3.0.0 or disabling Jira integration in every job it works again.

      When the SCM commit match the Jira issue pattern I get this

      FATAL: hudson.plugins.jira.JiraSite.existsIssue(Ljava/lang/String;)Z
      java.lang.NoSuchMethodError: hudson.plugins.jira.JiraSite.existsIssue(Ljava/lang/String;)Z
       at org.jfrog.hudson.util.IssuesTrackerHelper.<init>(IssuesTrackerHelper.java:49)
       at org.jfrog.hudson.util.ExtractorUtils.getArtifactoryClientConfiguration(ExtractorUtils.java:183)
       at org.jfrog.hudson.util.ExtractorUtils.addBuilderInfoArguments(ExtractorUtils.java:147)
       at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:139)
       at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:881)
       at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:57)
       at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:168)
       at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:634)
       at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
       at hudson.model.Run.execute(Run.java:1815)
       at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
       at hudson.model.ResourceController.execute(ResourceController.java:97)
       at hudson.model.Executor.run(Executor.java:429)
      

      Attachments

        Activity

          oleg_nenashev Oleg Nenashev added a comment -

          CC olamy. Most likely t is a Jira plugin issue

          oleg_nenashev Oleg Nenashev added a comment - CC olamy . Most likely t is a Jira plugin issue
          olamy Olivier Lamy added a comment - - edited

          looks to be removed here https://github.com/jenkinsci/jira-plugin/commit/23a00c1cedaaa3d4b0b00ff8f1cdeece5053bc2c#diff-974b061f6eda1c5088eaa93c765904ed 

          I agree it's a bit rough to break backward compat for a minor release...

          but doesn't too hard about using?

          getIssue(String id) 

           

          olamy Olivier Lamy added a comment - - edited looks to be removed here https://github.com/jenkinsci/jira-plugin/commit/23a00c1cedaaa3d4b0b00ff8f1cdeece5053bc2c#diff-974b061f6eda1c5088eaa93c765904ed   I agree it's a bit rough to break backward compat for a minor release... but doesn't too hard about using? getIssue( String id)  
          olamy Olivier Lamy added a comment -

          anyway I will restore binary compat.

          olamy Olivier Lamy added a comment - anyway I will restore binary compat.
          olamy Olivier Lamy added a comment - pr https://github.com/jenkinsci/jira-plugin/pull/165

          People

            olamy Olivier Lamy
            mi_ko Milan Konzal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: