We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf87591 commit c2435bfCopy full SHA for c2435bf
Jenkinsfile
@@ -11,17 +11,17 @@ env
11
12
}
13
post {
14
- always {
15
- // This will always run, even if the pipeline fails
16
- echo 'This will always run'
17
- }
18
- success {
19
- // This will only run if the pipeline was successful
20
- echo 'This will run only if the pipeline was successful'
21
22
- failure {
23
- // This will only run if the pipeline failed
24
- echo 'This will run only if the pipeline failed'
25
+ always {
+ echo 'This will always run'
26
27
-}
+
+ success {
+ echo 'This will run only if the pipeline was successful'
+ }
+ failure {
+ echo 'This will run only if the pipeline failed'
+}
0 commit comments