Issue Type: Improvement Improvement
Assignee: Nicolas De Loof
Components: build-flow
Created: 16/Jul/13 11:57 PM
Description:

People often ask how you can pass a value from one build step to another in a Flow, or generally to retrieve information from builds. If you are willing to write the value to an archived file in the first build, you can use a function like

def artifact(build, name) {
  new File(build.artifactsDir, name).text.trim();
}

This works, but the Flow plugin should define something like this (or better) out of the box.

(Also https://github.com/jenkinsci/jenkins/pull/736 would change the Jenkins API here, so it is better that the plugin take care of that detail.)

Project: Jenkins
Priority: Major Major
Reporter: Jesse Glick
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to