Thanks Alex,
I think the replay is probably the better option for me.

C

On Tuesday, 31 October 2017 17:05:14 UTC-5, slide wrote:
>
> There are two things that might make your life easier:
>
> 1) Jenkinsfile, you can put this into your source control and then it will 
> be executed as if it were in the web ui. You just change the option in the 
> job setup to "Pipeline script from SCM" instead of "Pipeline script". Then 
> when you push updates to the Jenkinsfile, it will use your changes.
> 2) The Replay. This allows you to rerun a pipeline job and make small 
> modifications to the script that was used to test things out, then you can 
> incorporate those changes into your Jenkinsfile.
>
> Hope those things help
>
> Alex
>
> On Tue, Oct 31, 2017 at 2:51 PM Christoph Ruepprich <[email protected] 
> <javascript:>> wrote:
>
>> I'm new to Jenkins and am learning how to write groovy scripts for 
>> pipelines. Right now I write my code in VS Code and copy & paste it into 
>> the Jenkins' project, save and build. This gets pretty tedious and time 
>> consuming. Is there a better way to develop scripts without having to 
>> either develop them in the web UI or copy & paste them?
>>
>> Thanks!
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/a2f17740-5fec-4b9b-977c-df877bdf0fbc%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/a2f17740-5fec-4b9b-977c-df877bdf0fbc%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6597d092-96dc-49a7-8710-7c8a148ccfd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to