You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
Hi.
When you save configuration of a Job after Jenkins update there are some
changes made in the config.xml (e.g. plugin version change). Since I
keep a history of all config.xml files in a repository that mess up
history of changes...
So. Is there some script or plugin that can re-save configuration of all
Jobs in a batch?
Maybe something like (?):
for job in jobs
job.save()
Regards,
Nux.
jieryn
unread,
Feb 17, 2016, 11:01:36 AM2/17/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
Create a new freestyle job, run it @daily, or whatever. Add Groovy
script execution build step, the full script is:
for (item in hudson.model.Hudson.instance.items) {
println("Saving " + item);
item.save();
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
I've used JobConfigHistoryPlugin in the past. I find just using git is
easier and fits better with our existing tools, etc.
> --
> 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 jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit