-
Type:
Bug
-
Status: Resolved
-
Resolution: Done
-
Affects Version/s: 2.4.4
-
Fix Version/s: 2.5.0
-
Component/s: None
-
Labels:None
When using JIRA plugin 2.0.2, the build fails with the following:
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:157) at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:914) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:620) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533) at hudson.model.Run.execute(Run.java:1745) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)
Steps to reproduce:
1. Install JIRA.
2. In the manage screen configure the JIRA client.
3. Run Maven build with Enable JIRA integration.
4. The build would fail with the above error.