Re: Development environment for Pipeline (aka workflow)

2016-03-15 Thread Nicolas Geraud
I use intellij to write my groovy script I test my script with a local jenkins running on my laptop. I configure a workflow job that clone my local git repository. Le mardi 2 février 2016 23:14:54 UTC+1, Tom Kierzkowski a écrit : > > Hello! I'll try to break out the question in different parts.

Re: Development environment for Pipeline (aka workflow)

2016-03-11 Thread Martin d'Anjou
On Tuesday, February 2, 2016 at 5:14:54 PM UTC-5, Tom Kierzkowski wrote: > > >- How do you test your scripts within your IDE/development setup? > > > I do not use and IDE, but I was shown these two plugins which show a way of testing pipeline scripts: - https://github.com/jenkinsc

Re: Development environment for Pipeline (aka workflow)

2016-02-03 Thread Tom Kierzkowski
Thank you both for your suggestions! On Wednesday, February 3, 2016 at 11:22:14 AM UTC-5, Baptiste Mathus wrote: > > Roughly does like Craig, but using intellij instead of bum. > > As I associated the Jenkinsfile with groovy type it's helping a bit for > completion or to find (basic, since I've

Re: Development environment for Pipeline (aka workflow)

2016-02-03 Thread Baptiste Mathus
Roughly does like Craig, but using intellij instead of bum. As I associated the Jenkinsfile with groovy type it's helping a bit for completion or to find (basic, since I've not added any pipeline related plugins in the classpath) errors/typos. -- Baptiste Le 3 févr. 2016 11:03 AM, "Craig Rodrigue

Re: Development environment for Pipeline (aka workflow)

2016-02-03 Thread Craig Rodrigues
Hi, It may not be the best or most elegant, but this is what I do: (1) I use vim to edit the script. (2) For testing, I create a pipeline job, paste the script into the* Pipeline script *entry field, and run the job. (3) When I am done, I check the script into git, and reconfigure the job to