[HAP-217] Release fails with git plugin 1.1.10+ Created: 25/Jul/11  Updated: 26/Jul/11  Resolved: 25/Jul/11

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: None
Affects Version/s: 2.0.2
Fix Version/s: 2.0.3

Type: Bug Priority: Critical
Reporter: Eli Givoni Assignee: Yossi Shaul
Resolution: Fixed Votes: 0
Labels: None


 Description   

Fails after creating the tag



 Comments   
Comment by Eli Givoni [ 25/Jul/11 ]
FATAL: org/spearce/jgit/transport/RemoteConfigjava.lang.NoClassDefFoundError: org/spearce/jgit/transport/RemoteConfig
	at org.jfrog.hudson.release.scm.git.GitManager.getRemoteUrl(GitManager.java:142)
	at org.jfrog.hudson.release.scm.git.GitCoordinator.afterSuccessfulReleaseVersionBuild(GitCoordinator.java:105)
	at org.jfrog.hudson.release.maven.MavenReleaseWrapper$2.tearDown(MavenReleaseWrapper.java:171)
	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:759)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:430)
	at hudson.model.Run.run(Run.java:1376)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:466)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:175)
Caused by: java.lang.ClassNotFoundException: org.spearce.jgit.transport.RemoteConfig
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)	... 9 more

Comment by Yossi Shaul [ 25/Jul/11 ]

Git plugin started using the official jgit distribution, resulting in non-existent classes used by our plugin. The fix requires just changing the import package name.

Comment by Yossi Shaul [ 25/Jul/11 ]

Updated dependency on git plugin version 1.1.11 and changed to the new package name.

Generated at Wed Jun 03 04:16:53 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.