forked from gdubya/mqtt-notification-plugin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JENKINS-41839 Substitue build parameters, number in topic and payload
- Loading branch information
Showing
3 changed files
with
30 additions
and
5 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
5 changes: 3 additions & 2 deletions
5
src/main/resources/jenkins/plugins/mqttnotification/MqttNotifier/help-message.html
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<p>The "payload" for the MQTT message.</p> | ||
<p>In addition to environment variables, the following variables can also be used (all variables must be prefix with "$"): | ||
<p>In addition to environment variables and build parameters, the following variables can also be used (all variables must be prefix with "$"): | ||
<ul> | ||
<li>BUILD_RESULT - The result of the build (e.g. SUCCESS, FAILURE, ABORTED, etc.)</li> | ||
<li>PROJECT_URL - The job project's URL (e.g. "job/my-build")</li> | ||
<li>CULPRITS - Comma-separated list of the culprits responsible for the current build result</li> | ||
</ul></p> | ||
<li>BUILD_NUMBER - the build number</li> | ||
</ul></p> |
5 changes: 3 additions & 2 deletions
5
src/main/resources/jenkins/plugins/mqttnotification/MqttNotifier/help-topic.html
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
<p>The topic to which to publish the notification. | ||
If no value is specified then the default value ("jenkins/$JOB_URL" e.g. "jenkins/job/my-build") is used.</p> | ||
<p>In addition to environment variables, the following variables can also be used (all variables must be prefix with "$"): | ||
<p>In addition to environment variables and build parameters, the following variables can also be used (all variables must be prefix with "$"): | ||
<ul> | ||
<li>BUILD_RESULT - The result of the build (e.g. SUCCESS, FAILURE, ABORTED, etc.)</li> | ||
<li>PROJECT_URL - The job project's URL (e.g. "job/my-build")</li> | ||
<li>CULPRITS - Comma-separated list of the culprits responsible for the current build result</li> | ||
</ul></p> | ||
<li>BUILD_NUMBER - the build number</li> | ||
</ul></p> |