Cisco Spark Notifier1.1.1Minimum Jenkins requirement: 1.580.1ID: cisco-spark-notifier
View Cisco Spark Notifier on the plugin site for more information.
Messages can be formatted as plain text, markdown or html (with limitations)
Click the help icon next to the Message field to see commonly available environment variables
- Obtain a bot token (valid for 100 years) from the developer site, or use your own personal token (not recommended)
- The Bot or User must be invited to the Spark Space to send messages from Jenkins
- Configure a new "String text" credential either globally or within a folder
Pipeline Step Example
You can use the Pipeline Syntax generator to configure the spark message DSL syntax
Build Steps Example
Post-Build Step Example with Formatting and Environment Variables
Note regarding environment variables:
Accepted formats are:
Click the help icon next to the message field to see default environment variables available to use. All parameterized variables to a build are also available to use.
To use custom variables in build/post-build steps, you need to inject the variables into the build using Environment Injector Plugin, Credentials Binding plugin etc.
To use custom variables in pipeline steps, your sparkSend DSL must reside inside a withEnv, withCredentials etc.