-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
*Problem*
Jenkins pipelines are a great way of allowing engineering teams to self service their CI needs. For example, every team can write their own `Jenkinsfile-release` in their own repos.
Suppose we want to send a slack message to the `#release` channel every single time any team's `Jenkinsfile-release` succeeds. Today, we need to copy and paste the following snippet into every single repo's `Jenkinsfile-release`:
```
{{ slackSend channel: '#release',
color: 'good',
message: "The ${params.repo} repo released."}}
```
*Solution*
Create a post-build-like phase that can be configured from inside the Jenkins UI. Then engineers can add post-build steps that globally apply to all Jenkinsfile's for a given pipeline.