On Thu, Nov 12, 2015 at 9:45 AM, Rafael Ribeiro Rezende
<[email protected]> wrote:
> Is it a bug? misconfiguration? or I'm not expected to use this command with 
> workflow at all?

You should not rely on `Computer.currentComputer` inside
`SimpleBuildStep.perform`. You can get the `Node`/`Computer` from the
`FilePath workspace` (which will work for freestyle builds, too).
Looks like

https://github.com/jenkinsci/workflow-plugin/blob/master/COMPATIBILITY.md#build-steps

needs to be updated to call that out explicitly.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1xQje_4c9EPsXtS1Szxue7Q9Gq9GwDhYC63HkyZohPYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to