Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public void publish(String message, String color, boolean notify) {

JSONObject notification = new JSONObject();
notification.put("message", message);
notification.put("message_format", "text");
notification.put("color", color);
notification.put("notify", notify);
post.setRequestEntity(new StringRequestEntity(notification.toString(), "application/json", "UTF-8"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<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="${%Auth Token}" help="/plugin/hipchat/help-projectConfig-token.html">
<f:textbox name="hipchat.token" value="${instance.token}" />
<f:password name="hipchat.token" value="${instance.token}" />
</f:entry>
<f:entry title="${%Project Room}" help="/plugin/hipchat/help-projectConfig-hipChatRoom.html">
<f:textbox name="hipchat.room" value="${instance.room}" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<f:checkbox name="hipchat.v2Enabled" checked="${descriptor.v2Enabled}"/>
</f:entry>
<f:entry title="${%API Token}" help="/plugin/hipchat/help-globalConfig-hipChatToken.html">
<f:textbox name="hipchat.token" value="${descriptor.token}" />
<f:password name="hipchat.token" value="${descriptor.token}" />
</f:entry>
<f:entry title="${%Room}" help="/plugin/hipchat/help-globalConfig-hipChatRoom.html">
<f:textbox name="hipchat.room" value="${descriptor.room}" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ StartWithChanges=Started by changes from {0} ({1} file(s) changed)
Started=Starting...
BackToNormal=Back to normal
Success=Success
Failure=<b>FAILURE</b>
Failure=FAILURE
Aborted=ABORTED
NotBuilt=Not built
Unstable=UNSTABLE

JobStarted=$JOB_NAME #$BUILD_NUMBER $STATUS ($CHANGES_OR_CAUSE) (<a href="$URL">Open</a>)
JobCompleted=$JOB_NAME #$BUILD_NUMBER $STATUS after $DURATION (<a href="$URL">Open</a>)
JobStarted=$JOB_NAME #$BUILD_NUMBER $STATUS ($CHANGES_OR_CAUSE) ($URL)
JobCompleted=$JOB_NAME #$BUILD_NUMBER $STATUS after $DURATION ($URL)

Unknown=Unknown