Details
-
New Feature
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
Copy Artifacts Plugin 1.14
Description
Example: Build "Component1 #123" invokes a build of "FullSoftware". In "FullSoftware" I would love to see a feature to copy data from the artifacts of "Component1 #123".
At present I use a text parameter called "prev_BUILD_NUMBER" that is set by "Component1" to ${BUILD_NUMBER} and used by "FullSoftware" with the "specific build" option.
Code changed in jenkins
User: alanharder
Path:
src/main/java/hudson/plugins/copyartifact/BuildSelector.java
src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
src/main/java/hudson/plugins/copyartifact/ParameterizedBuildSelector.java
src/main/java/hudson/plugins/copyartifact/PermalinkBuildSelector.java
src/main/java/hudson/plugins/copyartifact/SpecificBuildSelector.java
src/main/java/hudson/plugins/copyartifact/TriggeredBuildSelector.java
src/main/resources/hudson/plugins/copyartifact/Messages.properties
src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
http://jenkins-ci.org/commit/copyartifact-plugin/a8a0840699c17c9fd80025d22062868008577994
Log:
[FIXED JENKINS-8999] Add TriggeredBuildSelector
Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/60d69e0...a8a0840