Re: [workflow-plugin] How to assign output of a sh([script:""])

2015-03-06 Thread Vizionz
Two minutes after posting... https://issues.jenkins-ci.org/browse/JENKINS-26133 Looks as though there is no easy way to return output/status from a shell script instance. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from th

[workflow-plugin] How to assign output of a sh([script:""])

2015-03-06 Thread Vizionz
When writing a workflow script, what is the best way to assign the output of a shell script to a variable in groovy? For this example, the output is a number that I intend to pass as a parameter to another job. *Example Code:* node('Builder') { dir("/diretory/to/git/REPO") { GitCommitCountVa