Renaming existing jobs created by jobDSL plugin

189 views
Skip to first unread message

Christian Åkerström

unread,
Dec 30, 2013, 8:22:13 AM12/30/13
to job-dsl...@googlegroups.com
Hi,

I wonder if it is possible to somehow rename a job using the jobDSL either from the plugin itself or if anyone has any best practises?
For me it would be very useful since one can change a job's name and still preserve it's history/artifacts(like it is done when doing it manually from the UI)

Example:
If I change a jobs name from 'job1' to 'job2' then a new 'job2' is created and 'job1' is deleted/disabled depending on which strategy I use.
I would like that instead of creating a new job the old one is renamed.



Daniel Spilker

unread,
Jan 2, 2014, 6:31:43 AM1/2/14
to job-dsl...@googlegroups.com
Hi Christian,

currently the DSL does not support renaming of jobs. When the job has important history I tend to avoid renaming jobs. Also because it would break everyone's bookmarks. But you can rename the jobs manually and then run the DSL, but that is cumbersome...

Regards,
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/7b0d7780-c2cf-4d19-a496-3788c28088ba%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--

    daniel spilker

    ma...@daniel-spilker.com
    +49.179.1093202
    geschwister-scholl-straße 62, 20251 hamburg
    http://daniel-spilker.com
Reply all
Reply to author
Forward
0 new messages