-
Bug
-
Resolution: Fixed
-
Critical
After an update to the new copy artifacts version 1.26 existing configurations are broken because all job names to copy artifacts from are empty. The configuration files still contain the correct names, e.g.:
<hudson.plugins.copyartifact.CopyArtifact plugin="copyartifact@1.25">
<projectName>rsc-trunk/label=$label</projectName>
<filter>*/.tar.gz</filter>
<target>upstream</target>
<selector class="hudson.plugins.copyartifact.StatusBuildSelector"/>
<flatten>true</flatten>
</hudson.plugins.copyartifact.CopyArtifact>
As you can see, most of our jobs use variables in the projectName tag. Maybe this is the reason for the problem. I actually cannot find a job without this, so I cannot verify this idea.
With 1.25 everything is ok.
- is related to
-
JENKINS-19057 ProjectName with variables in CopyArtifact < 1.26 is improperly upgraded.
-
- Closed
-
Code changed in jenkins
User: ikedam
Path:
src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
src/main/java/hudson/plugins/copyartifact/CopyArtifactUpgradeListener.java
http://jenkins-ci.org/commit/copyartifact-plugin/854deb121eace1d0f4a90664a6d2d2ad733e0d61
Log:
JENKINS-17680use @Initializer instead of ItemListener.