I have a command that produces some output. Let's say, it's:

bat "rake some_task"

I'd like to set some variable to an output produced by that `rake` command. 
Is it possible to do?

I tried to use ProcessBuilder but it results in a much larger amount of 
code.

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/81afe8c1-787d-441d-8e6e-8e8f0bb8c8c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to