Skip to content

Commit daf4577

Browse files
Kiana TennysonKiana Tennyson
authored andcommitted
fix for JENKINS-23036 : using rootURL (not rootUrl) for some jelly files.
1 parent c5a6a7e commit daf4577

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
/work
66
/work-backup
77
*.iml
8+
.idea

src/main/resources/hudson/plugins/scm_sync_configuration/ScmSyncConfigurationPlugin/config.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
</f:repeatable>
5050
</f:entry>
5151
<f:entry title="${%Reload config from SCM}" help="${rootUrl}/plugin/scm-sync-configuration/help/reloadScmConfig-help.html">
52-
<a href="${rootUrl}/plugin/scm-sync-configuration/reloadAllFilesFromScm" onClick="return confirm('${%WARNING : the Jenkins config will be reloaded from SCM}.\n${%Only file modifications are handled}. ${%File added or removed will not be handled} !\n\n${%Continue} ?')">${%Reload}</a>
52+
<a href="${rootURL}/plugin/scm-sync-configuration/reloadAllFilesFromScm" onClick="return confirm('${%WARNING : the Jenkins config will be reloaded from SCM}.\n${%Only file modifications are handled}. ${%File added or removed will not be handled} !\n\n${%Continue} ?')">${%Reload}</a>
5353
</f:entry>
5454
</f:section>
5555

src/main/resources/hudson/plugins/scm_sync_configuration/reload.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</j:forEach>
1414
</ul>
1515
</p>
16-
<h3>Please reload Jenkins config from disk by clicking <a href="${rootUrl}/reload">here</a></h3>
16+
<h3>Please reload Jenkins config from disk by clicking <a href="${rootURL}/reload">here</a></h3>
1717

1818
</l:main-panel>
1919
</l:layout>

0 commit comments

Comments
 (0)