Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55064

Pipeline stages display garbage when skipped

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            dnusbaum Devin Nusbaum added a comment -

            This looks like a duplicate of JENKINS-36322

            Show
            dnusbaum Devin Nusbaum added a comment - This looks like a duplicate of JENKINS-36322

              People

              • Assignee:
                Unassigned
                Reporter:
                asarkar Abhijit Sarkar
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: