-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
jenkins-test-harness >= 2.16
Before 2.16, it allows following structure for files for `@LocalData`:
- CopyArtifactTest.zip
- CopyArtifactTest/someTest/config.xml
CopyArtifact/ is ignored since there's no CopyArtifactTest/config.xml.
Since 2.16, it doesn't ignore CopyArtifact/ and fail to use CopyArtifactTest.zip
This bug is introduced in this PR: https://github.com/jenkinsci/jenkins-test-harness/pull/36
This issue may make developers to upgrade jenkins-test-harness and plugin-pom.
Code changed in jenkins
User: ikedam
Path:
src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest.zip
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/config.xml
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/builds/2011-02-01_12-00-00/archive/foo.txt
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/builds/2011-02-01_12-00-00/build.xml
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/config.xml
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/builds/2011-02-01_13-00-00/archive/foo2.txt
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/builds/2011-02-01_13-00-00/build.xml
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/config.xml
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/users/joe/config.xml
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/config.xml
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/config.xml
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/builds/2011-04-12_09-00-00/archive/foo.txt
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/builds/2011-04-12_09-00-00/build.xml
src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/config.xml
http://jenkins-ci.org/commit/copyartifact-plugin/39df7ccd9639625b3227830c7a09ac04ef9d0472
Log:
JENKINS-46700Expand zip file for `LocalData` to avoidJENKINS-47075