I see that there is a 'shell()' equivalent in groovy script for 'Execute shell command' option in Job UI. What is the equivalent for 'Execute a Windows Batch command'?
P.S. Not looking for :
def process='xxxx'.execute()as it does not work on the slave I am triggering on. Any alternatives?