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

Plugin is broken when integrating with Jira plugin version 2.0.3

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.4.7
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      jenkins version LTS 1.642-1 artifactory plugin 2.4.7

      Description

      After upgrading Jira plugin from version 1.3.9 to 2.0.3 I get this error when triggering maven build with the Jira integration enabled

      FATAL: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper
      java.lang.IllegalAccessError: tried to access method hudson.plugins.jira.JiraSite.createSession()Lhudson/plugins/jira/JiraSession; from class org.jfrog.hudson.util.IssuesTrackerHelper
      	at org.jfrog.hudson.util.IssuesTrackerHelper.<init>(IssuesTrackerHelper.java:47)
      	at org.jfrog.hudson.util.ExtractorUtils.addBuilderInfoArguments(ExtractorUtils.java:152)
      	at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132)
      	at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:947)
      	at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56)
      	at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:166)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:622)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      	at hudson.model.Run.execute(Run.java:1738)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eyalbe Eyal Ben Moshe (Inactive)
                Reporter:
                elig Eli Givoni
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: