forked from jenkinsci/instant-messaging-plugin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved reusable parts of global.jelly to abstract instant-messaging pl…
…ugin
- Loading branch information
kutzi
committed
May 1, 2011
1 parent
879f398
commit c9d2151
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/main/resources/hudson/plugins/im/IMPublisher/global-jenkinsLogin.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 @@ | ||
<?jelly escape-by-default='true'?> | ||
<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"> | ||
|
||
<f:entry title="Jenkins Username" help="/plugin/instant-messaging/help-jenkins-login.html"> | ||
<f:textbox name="${descriptor.PARAMETERNAME_HUDSON_LOGIN}" | ||
value="${descriptor.hudsonUserName}" /> | ||
</f:entry> | ||
<f:entry title="Jenkins Password"> | ||
<f:password name="${descriptor.PARAMETERNAME_HUDSON_PASSWORD}" | ||
value="${descriptor.hudsonPassword}" /> | ||
</f:entry> | ||
|
||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div> | ||
If you're using a secured Jenkins, you must specify a valid username and password for the IM bot. | ||
Otherwise most commands won't work.<br /> | ||
You can also use this to restrict which commands can be executed via the bot, by removing the respective | ||
permissions for this user. | ||
</div> |