[workflow-plugin] Is it possible to get an output produced by a `bat` command?

15 views
Skip to first unread message

Andrey Botalov

unread,
Feb 12, 2015, 5:09:21 AM2/12/15
to jenkins...@googlegroups.com
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!
Reply all
Reply to author
Forward
0 new messages