-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Trivial
-
Component/s: pipeline-model-definition-plugin
-
Environment: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}")
}
}
}