Update configuration of a job without recreating the job

48 views
Skip to first unread message

Shwetha Hadimani

unread,
Jul 11, 2016, 10:23:45 AM7/11/16
to job-dsl-plugin
Hi,

I want to change the "branches to build" section in the job configuration of an already created job without recreating the job.
Is it possible to update the configuration without recreating the job?
Or is it possible only to parse the config.xml and update it using job-dsl plugin?

Thanks in advance,
Shwetha

Daniel Spilker

unread,
Jul 11, 2016, 2:36:39 PM7/11/16
to job-dsl...@googlegroups.com
Job DSL can update a job, but it can't do a partial update. You have to describe the complete job configuration in Job DSL.

Daniel

--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/60aa2a61-0e2e-43e3-be30-f16fc613f5d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mahendra Singh

unread,
Oct 19, 2016, 3:29:06 AM10/19/16
to job-dsl-plugin
have you got the solution to your problem?
Reply all
Reply to author
Forward
0 new messages