Useful to give a label to one or more steps that are otherwise opaque in the log.

      stage('Deploying') {
          sh './deploy.sh --some-long-arguments'
      }
      

      FlowGraphTable should hide the body of the label step by default.

      Alternatives considered:

      sh script: './deploy.sh', label: 'Deploying'
      

      which does not scale well as a design (labeling should be orthogonal to step definitions); or implicit label creation when Groovy label expressions are encountered:

      LABEL: sh '/bin/perl abc def'
      

      which may break down:

      FOO:
      def x = 1;
      for (...) {
          ...
      }
      

          [JENKINS-26107] Allow stage to operate as a labelled block

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-26156 [ JENKINS-26156 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26522 [ JENKINS-26522 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-26602 [ JENKINS-26602 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26987 [ JENKINS-26987 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-27210 [ JENKINS-27210 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26132 [ JENKINS-26132 ]
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-28293 [ JENKINS-28293 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 140 (Web Link)" [ 12950 ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-29892 [ JENKINS-29892 ]

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            44 Vote for this issue
            Watchers:
            80 Start watching this issue

              Created:
              Updated:
              Resolved: