Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-994

Artifactory plugin do NOT work with JIRA plugin

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 2.9.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Description

      End goal - have build info in artifactory populated with issues from JIRA. (doesn't work)


      I have jenkins artifactory maven job that pushes to artifactory without any problem.
      Also I have configured JIRA plugin to correctly link git commit messages to JIRA issues.
      BUT when there is Enable JIRA Integration and at least one link to JIRA is found, it will break artifactory with this message:

      Jenkins Artifactory Plugin version: 2.9.1
      FATAL: hudson.plugins.jira.JiraSite.getIssue(Ljava/lang/String;)Lhudson/plugins/jira/JiraIssue;
      java.lang.NoSuchMethodError: hudson.plugins.jira.JiraSite.getIssue(Ljava/lang/String;)Lhudson/plugins/jira/JiraIssue;
      	at org.jfrog.hudson.util.IssuesTrackerHelper.<init>(IssuesTrackerHelper.java:59)
      	at org.jfrog.hudson.util.ExtractorUtils.getArtifactoryClientConfiguration(ExtractorUtils.java:170)
      	at org.jfrog.hudson.util.ExtractorUtils.addBuilderInfoArguments(ExtractorUtils.java:141)
      	at org.jfrog.hudson.maven3.ArtifactoryMaven3Configurator$1.buildEnvVars(ArtifactoryMaven3Configurator.java:483)
      	at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:886)
      	at org.jfrog.hudson.maven3.Maven3Builder.perform(Maven3Builder.java:85)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:735)
      	at hudson.model.Build$BuildExecution.build(Build.java:206)
      	at hudson.model.Build$BuildExecution.doRun(Build.java:163)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)
      	at hudson.model.Run.execute(Run.java:1735)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:405)
      

      I've tried JIRA plugin in version 2.3, 2.3.1, 2.4.2 and all of them will break artifactory plugin in the same way.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eyalb Eyal Ben Moshe
                Reporter:
                miroslav.hedl Miroslav Hedl
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: