Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Workaround JENKINS-16528 by switching from Groovy views to Jelly views
- Loading branch information
1 parent
4029ac4
commit 86ae327
Showing
6 changed files
with
85 additions
and
85 deletions.
There are no files selected for viewing
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
36 changes: 0 additions & 36 deletions
36
src/main/resources/hudson/plugins/timestamper/TimestamperConfig/config.groovy
This file was deleted.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
src/main/resources/hudson/plugins/timestamper/TimestamperConfig/config.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,36 @@ | ||
<!-- | ||
The MIT License | ||
Copyright (c) 2012 Frederik Fromm | ||
Copyright (c) 2013 Steven G. Brown | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
--> | ||
|
||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form"> | ||
<f:section title="${%Timestamper}"> | ||
<f:entry title="${%System clock time format}" field="systemTimeFormat"> | ||
<f:textbox/> | ||
</f:entry> | ||
<f:entry title="${%Elapsed time format}" field="elapsedTimeFormat"> | ||
<f:textbox/> | ||
</f:entry> | ||
</f:section> | ||
</j:jelly> |
45 changes: 0 additions & 45 deletions
45
...ources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory/usersettings.groovy
This file was deleted.
Oops, something went wrong.
45 changes: 45 additions & 0 deletions
45
...sources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory/usersettings.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,45 @@ | ||
<!-- | ||
The MIT License | ||
Copyright (c) 2013 Steven G. Brown | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
--> | ||
|
||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" xmlns:l="/lib/layout"> | ||
<l:ajax> | ||
<table class="pane"> | ||
<tr> | ||
<td class="pane-header">${%Timestamps}</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<form> | ||
<input type="radio" name="timestamps" id="timestamper-systemTime">${%System clock time}</input> | ||
<br/> | ||
<input type="radio" name="timestamps" id="timestamper-elapsedTime">${%Elapsed time}</input> | ||
<br/> | ||
<input type="radio" name="timestamps" id="timestamper-none">${%None}</input> | ||
</form> | ||
</td> | ||
</tr> | ||
</table> | ||
</l:ajax> | ||
</j: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