Title: [40549] trunk/hudson/plugins/thinBackup/src/main/resources/org/jvnet/hudson/plugins/thinbackup/ThinBackupMgmtLink/backupsettings.jelly: fix for Jenkins-13427: Configuration view displays ERROR/Not Found under the edit boxes
Revision
40549
Author
tofuatjava
Date
2012-05-07 12:24:39 -0400 (Mon, 07 May 2012)

Log Message

fix for Jenkins-13427: Configuration view displays ERROR/Not Found under the edit boxes

Modified Paths

Diff

Modified: trunk/hudson/plugins/thinBackup/src/main/resources/org/jvnet/hudson/plugins/thinbackup/ThinBackupMgmtLink/backupsettings.jelly (40548 => 40549)


--- trunk/hudson/plugins/thinBackup/src/main/resources/org/jvnet/hudson/plugins/thinbackup/ThinBackupMgmtLink/backupsettings.jelly	2012-05-02 22:52:58 UTC (rev 40548)
+++ trunk/hudson/plugins/thinBackup/src/main/resources/org/jvnet/hudson/plugins/thinbackup/ThinBackupMgmtLink/backupsettings.jelly	2012-05-07 16:24:39 UTC (rev 40549)
@@ -30,19 +30,19 @@
                     <f:entry title="Backup directory" field="backupPath"
                         help="/plugin/thinBackup/help/help-backupPath.html">
                         <f:textbox value="${it.configuration.backupPath}" name="backupPath"
-                            checkUrl="'${rootUrl}/plugin/thinBackup/checkBackupPath?value='+escape(this.value)"/>
+                            checkUrl="'${rootURL}/plugin/thinBackup/checkBackupPath?value='+escape(this.value)"/>
                     </f:entry>
                     
                     <f:entry title="Backup schedule for full backups" field="fullBackupSchedule"
                         help="/plugin/thinBackup/help/help-fullBackupSchedule.html">
                         <f:textbox value="${it.configuration.fullBackupSchedule}" name="fullBackupSchedule"
-                            checkUrl="'${rootUrl}/plugin/thinBackup/checkBackupSchedule?value='+escape(this.value)"/>
+                            checkUrl="'${rootURL}/plugin/thinBackup/checkBackupSchedule?value='+escape(this.value)"/>
                     </f:entry>
                     
                     <f:entry title="Backup schedule for differential backups" field="diffBackupSchedule"
                         help="/plugin/thinBackup/help/help-diffBackupSchedule.html">
                         <f:textbox value="${it.configuration.diffBackupSchedule}" name="diffBackupSchedule"
-                            checkUrl="'${rootUrl}/plugin/thinBackup/checkBackupSchedule?value='+escape(this.value)"/>
+                            checkUrl="'${rootURL}/plugin/thinBackup/checkBackupSchedule?value='+escape(this.value)"/>
                     </f:entry>
                     
                     <f:entry title="Max number of backup sets" field="nrMaxStoredFull"
@@ -53,17 +53,17 @@
                     <f:entry title="Files excluded from backup (regular _expression_)" field="excludedFilesRegex"
                         help="/plugin/thinBackup/help/help-excludedFilesRegex.html">
                         <f:textbox value="${it.configuration.excludedFilesRegex}" name="excludedFilesRegex"
-                            checkUrl="'${rootUrl}/plugin/thinBackup/checkExcludedFilesRegex?value='+escape(this.value)"/>
+                            checkUrl="'${rootURL}/plugin/thinBackup/checkExcludedFilesRegex?value='+escape(this.value)"/>
                     </f:entry>
                     
                     <f:optionalBlock title="Wait until Jenkins/Hudson is idle to perform a backup"
                         help="/plugin/thinBackup/help/help-waitForIdle.html"
                         checked="${it.configuration.waitForIdle}"
-                        name="waitForIdle" >
+                        name="waitForIdle" checkUrl="'${rootURL}/plugin/thinBackup/checkWaitForIdle?value='+escape(this.value)">
                         <f:entry title="Force Jenkins to quiet mode after specified minutes" field="forceQuietModeTimeout"
 	                        help="/plugin/thinBackup/help/help-forceQuietModeTimeout.html">
 	                        <f:textbox value="${it.configuration.forceQuietModeTimeout}" name="forceQuietModeTimeout"
-	                            checkUrl="'${rootUrl}/plugin/thinBackup/checkForceQuietModeTimeout?value='+escape(this.value)"/>
+	                            checkUrl="'${rootURL}/plugin/thinBackup/checkForceQuietModeTimeout?value='+escape(this.value)"/>
                         </f:entry>
                     </f:optionalBlock>
 
@@ -76,6 +76,11 @@
                             checked="${it.configuration.backupBuildArchive}"
                             name="backupBuildArchive" />
                     </f:optionalBlock>
+                    
+                    <f:optionalBlock title="Backup 'userContents' folder"
+                        help="/plugin/thinBackup/help/help-backupUserContents.html"
+                        checked="${it.configuration.backupUserContents}"
+                        name="backupUserContents" />
 
                     <f:optionalBlock title="Backup next build number file"
                         help="/plugin/thinBackup/help/help-backupNextBuildNumber.html"

Reply via email to