Skip to content

Commit

Permalink
moved reusable parts of global.jelly to abstract instant-messaging pl…
Browse files Browse the repository at this point in the history
…ugin
  • Loading branch information
kutzi committed May 1, 2011
1 parent 879f398 commit c9d2151
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
@@ -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>
6 changes: 6 additions & 0 deletions src/main/webapp/help-jenkins-login.html
@@ -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>

0 comments on commit c9d2151

Please sign in to comment.