Re: Return value from step (pipeline)

2017-11-30 Thread Ullrich Hafner
This is not yet possible. The findbugs step does not return anything currently. This will change in a future version of findbugs. See https://wiki.jenkins.io/display/JENKINS/Static+Analysis+in+Pipelines If you have any

Re: Return value from step (pipeline)

2017-11-30 Thread Mark Waite
Pipeline step return values can be captured. Refer to " https://github.com/MarkEWaite/jenkins-bugs/blob/e47d74ea8185c24d9c9531b7a126ae4a8fadef56/Jenkinsfile#L39; for an example of the return value of "checkout" being assigned and used. Ramanathan, "findbugs" is a step added by the findbugs

Re: Return value from step (pipeline)

2017-11-30 Thread Ramanathan Muthaiah
> > Is it possible to capture the return value from pipeline step? > > ex: > def result = findbugs(pattern: '**/target/**/findbugsXml.xml') > echo result > To store cmd status or output, you should use sh(). You will find code snippets in this link, https://jenkins.io/doc/pipeline/examples/

Return value from step (pipeline)

2017-11-30 Thread sreeram yerrapragada
Hello Jenkins Users, Is it possible to capture the return value from pipeline step? ex: def result = findbugs(pattern: '**/target/**/findbugsXml.xml') echo result Thanks Sreeram -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To