Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXES JENKINS-9964] Expose the node name via the API and the GUI.
* Added @ExportedBean and @exported to MercurialTagAction which exposes the information via the API * Added index.jelly and summary.jelly for MercurialTagAction which exposed the information via the GUI * Added the Mercurial logo for the Tag action.
- Loading branch information
Showing
9 changed files
with
625 additions
and
0 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/main/resources/hudson/plugins/mercurial/MercurialTagAction/index.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" | ||
xmlns:t="/lib/hudson" xmlns:f="/lib/form"> | ||
<l:layout title="Mercurial"> | ||
|
||
|
||
<l:main-panel> | ||
<h1>Mercurial Build Data</h1> | ||
|
||
<b>Revision:</b> | ||
${it.id} | ||
</l:main-panel> | ||
</l:layout> | ||
</j:jelly> |
9 changes: 9 additions & 0 deletions
9
src/main/resources/hudson/plugins/mercurial/MercurialTagAction/summary.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" | ||
xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" | ||
xmlns:f="/lib/form" xmlns:i="jelly:fmt"> | ||
<t:summary icon="/plugin/mercurial/images/48x48/logo.png"> | ||
|
||
<b>Revision</b>: ${it.id} | ||
|
||
</t:summary> | ||
</j:jelly> |
1 change: 1 addition & 0 deletions
1
src/main/resources/hudson/plugins/mercurial/Messages.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
MercurialTagAction.BuildData=Mercurial Build Data |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.