-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
CentOS 7.5, Jenkins ver. 2.153
Given a stage
stage("Deploy") { when { allOf { expression { "$DEPLOYABLE_BRANCH".toBoolean() } expression { sh(script: "$GRADLE_CMD -q tasks --all | grep -q -w deploy", returnStatus: true) == 0 } } } steps { sh "$GRADLE_CMD deploy" } }
When the stage is skipped, pipeline views shows garbage text instead of time (see attachment). Instead, it should indicate that the stage is skipped.
- duplicates
-
JENKINS-36322 NaN execution time may appear if a stage gets terminated incorrectly
- Resolved