-
Improvement
-
Resolution: Unresolved
-
Trivial
-
None
-
Jenkins 2.176
Hi,
i need access to the current stage result inside the post block, is it possible to expose a STAGE_RESULT environment variable like the STAGE_NAME?
stage('') {
steps {
...
}
post {
always {
echo("${env.STAGE_NAME} ${env.STAGE_RESULT}")
}
}
}
Is this still not possible in 2022?