Re: Jenkins Pipeline code to run remote shell scripts

2018-09-17 Thread Arianrhod
Thanks David, I'm sure you're probably right but I've found so many different versions of what the 'simple' answer is that I have no real idea of the correct syntax for the command. Referencing credentials that are already stored within the Jenkins store, for example; some say this is necessar

Jenkins Pipeline code to run remote shell scripts

2018-09-14 Thread Arianrhod
Hi, I have to run two shell scripts on a remote server as part of a pipeline job (scripted, not via the GUI). They're both run on the same remote server, but one has to run when the first finishes, and they run as different users. There is a 'jenkins' user account that has creds in the Jenki