-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins 1.532, 1.549
Copy Artifact 1.28
Steps to produce the problem:
- Install Copy Artifact
- Disable Maven plugin
- Restart Jenkins
- Fails to load Copy Artifact with: (full stacktrace is attached)
1) Error injecting constructor, java.lang.NoClassDefFoundError: hudson/maven/MavenBuild at hudson.plugins.copyartifact.CopyArtifact$DescriptorImpl.<init>(Unknown Source)
I found followings:
- This can be reproduced when I package Copy Artifact with jdk 1.6.
- This cannot be reproduced when I package Copy Artifact with jdk 1.7.
It seems that something strange happens in Jenkins plugin loading system.
It may be a problem with guice 4.0 introduced in aea10298 (may be guice does not work with Java1.6).
What I will do are:
- Create a minimum plugin to reproduce the problem.
- Test what happens if reverted aea10298.
- Test what happens if downgrade guice to guice 3.0 (fails to compile?)
- is related to
-
JENKINS-21274 CopyArtifact plugin version 1.28 does not work if Maven plugin is disabled
- Closed