-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
CentOS release 6.4 (Final)
-
-
1.8.0
I am using promotion plugin https://wiki.jenkins-ci.org/display/JENKINS/Promoted+Builds+Plugin
I just realize that the promotions configurations are not being backed up by thinbackup. To support this, it is just to add an extra file located in jobs/[JobName]/promotions/[PromotionName]/config.xml. nextBuildNumber located in the same folder could be useful too.
I am using thinbackup version 1.7.4
Code changed in jenkins
User: Stephen
Path:
src/main/java/org/jvnet/hudson/plugins/thinbackup/backup/HudsonBackup.java
src/test/java/org/jvnet/hudson/plugins/thinbackup/TestHelper.java
src/test/java/org/jvnet/hudson/plugins/thinbackup/backup/TestBackupPromotedJob.java
http://jenkins-ci.org/commit/thin-backup-plugin/c20130bd2ff910794e0b2b655ad2deb00e1b90cd
Log:
Included support for the promoted builds plugin and job promotions, addressing the open issue
JENKINS-21472