2019-03-26 13:14:29 +02:00
|
|
|
# ${docGenStepName}
|
2019-02-13 17:45:35 +02:00
|
|
|
|
2019-03-26 13:14:29 +02:00
|
|
|
## ${docGenDescription}
|
2019-02-13 17:45:35 +02:00
|
|
|
|
2019-03-26 13:14:29 +02:00
|
|
|
## Prerequisites
|
2019-02-13 17:45:35 +02:00
|
|
|
|
2019-03-26 13:14:29 +02:00
|
|
|
* Installed and configured [Jenkins Slack plugin](https://github.com/jenkinsci/slack-plugin).
|
2019-02-13 17:45:35 +02:00
|
|
|
|
2019-03-26 13:14:29 +02:00
|
|
|
## ${docGenParameters}
|
2019-02-13 17:45:35 +02:00
|
|
|
|
2019-03-26 13:14:29 +02:00
|
|
|
## ${docGenConfiguration}
|
2019-02-13 17:45:35 +02:00
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
Usage of pipeline step:
|
|
|
|
|
|
|
|
```groovy
|
2019-03-26 13:14:29 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
|
|
|
echo "do something"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
slackSendNotification script: this
|
|
|
|
}
|
2019-02-13 17:45:35 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|