Re: Jenkins Pipeline code to run remote shell scripts

2018-09-17 Thread David Karr
On Mon, Sep 17, 2018 at 4:51 AM Arianrhod wrote: > 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 th

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

Re: Jenkins Pipeline code to run remote shell scripts

2018-09-15 Thread David Karr
On Fri, Sep 14, 2018 at 8:49 AM Arianrhod wrote: > 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

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