From 14fd830b6590ef00b80bdc043d07867741ffdf3c Mon Sep 17 00:00:00 2001 From: Denes Matetelki Date: Thu, 20 Dec 2018 14:12:09 +0100 Subject: [PATCH] post action after a single stage --- Jenkinsfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4f20e1d..3ce150c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,10 +11,15 @@ pipeline { echo "flag: ${params.userFlag}" } } + post { + always { + echo "this is always printed at the end of this stage" + } + } } post { always { - echo "this is always printed" + echo "this is always printed at the end" } } }