mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
34 lines
451 B
Markdown
34 lines
451 B
Markdown
# ${docGenStepName}
|
|
|
|
## ${docGenDescription}
|
|
|
|
## Prerequisites
|
|
|
|
* Installed and configured [Jenkins Slack plugin](https://github.com/jenkinsci/slack-plugin).
|
|
|
|
## ${docGenParameters}
|
|
|
|
## ${docGenConfiguration}
|
|
|
|
## Example
|
|
|
|
Usage of pipeline step:
|
|
|
|
```groovy
|
|
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
echo "do something"
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
slackSendNotification script: this
|
|
}
|
|
}
|
|
}
|
|
```
|