You can do something like the following: def doMyThing(String target) { exec { executable "something.sh" args "-t", target } } task doIt ...
確定! 回上一頁