Skip to content

Commit c2435bf

Browse files
committed
Added Jenkinsfile
1 parent bf87591 commit c2435bf

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Jenkinsfile

+13-13
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ env
1111

1212
}
1313
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-
}
14+
always {
15+
echo 'This will always run'
2616
}
27-
}
17+
18+
success {
19+
echo 'This will run only if the pipeline was successful'
20+
}
21+
22+
failure {
23+
echo 'This will run only if the pipeline failed'
24+
}
25+
26+
}
27+
}

0 commit comments

Comments
 (0)