Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Done
Description
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 (...) {
...
}
Attachments
Issue Links
- blocks
-
JENKINS-37323 Ensure that Pipeline Graph can handle stage blocks
-
- Closed
-
- depends on
-
JENKINS-26156 Erroneous handling of BodyInvoker.withDisplayName
-
- Resolved
-
- is blocking
-
JENKINS-28183 Hard killed job's stage blocks stage in following jobs
-
- Resolved
-
-
JENKINS-33185 Visualize parallel steps within a Pipeline Stage
-
- Open
-
-
JENKINS-30088 Clean up step display
-
- Resolved
-
-
JENKINS-28293 Display more information about Pipeline steps
-
- Resolved
-
- is duplicated by
-
JENKINS-36933 Name or alias Shell Script Step (sh)
-
- Resolved
-
-
JENKINS-26602 titles for build steps
-
- Resolved
-
-
JENKINS-27210 Ability to add a descriptive text to a shell script execution that gets displayed in the Running Steps perspective
-
- Resolved
-
-
JENKINS-34980 Add a description attribute for each step to be show in stage log overview
-
- Resolved
-
- is related to
-
JENKINS-27395 distinguish test reports filed from different parts of workflow
-
- Resolved
-
-
JENKINS-29892 Block of stages functioning as a concurrency unit
-
- Resolved
-
-
JENKINS-26987 Hiding certain steps from the "Running Steps" tree
-
- Resolved
-
-
JENKINS-26522 Annotated block/stage status
-
- Closed
-
-
JENKINS-28119 Link to log of failed step
-
- In Progress
-
-
JENKINS-26132 Executor should show the current stage the flow run is in
-
- Resolved
-
-
JENKINS-27394 Render stages in logs as collapsible sections
-
- Resolved
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue depends on |
Link |
This issue is related to |
Link |
This issue is duplicated by |
Link |
This issue is related to |
Link |
This issue is duplicated by |
Link |
This issue is related to |
Link |
This issue is blocking |
Remote Link | This issue links to "PR 140 (Web Link)" [ 12950 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Link |
This issue is related to |
Link | This issue is related to JENKINS-28119 [ JENKINS-28119 ] |
Link |
This issue is blocking |
Remote Link | This issue links to "PR 1 (Web Link)" [ 14178 ] |
Link | This issue is blocking JENKINS-33185 [ JENKINS-33185 ] |
Link |
This issue is related to |
Remote Link | This issue links to "pipeline-stage-step PR 4 (Web Link)" [ 14298 ] |
Remote Link | This issue links to "workflow-cps PR 11 (Web Link)" [ 14299 ] |
Link |
This issue is duplicated by |
Epic Link | JENKINS-35400 [ 171193 ] |
Link |
This issue is related to |
Assignee | Jesse Glick [ jglick ] | Chris Garman [ chrisoneiota ] |
Link |
This issue is blocking |
Workflow | JNJira [ 160097 ] | JNJira + In-Review [ 185557 ] |
Link |
This issue blocks |
Labels | blueocean |
Assignee | Chris Garman [ chrisoneiota ] | Jesse Glick [ jglick ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Status | Reopened [ 4 ] | Open [ 1 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Component/s | pipeline-general [ 21692 ] |
Component/s | workflow-plugin [ 18820 ] |
Component/s | pipeline-stage-step-plugin [ 21709 ] | |
Component/s | pipeline [ 21692 ] |
Link |
This issue is duplicated by |
Resolution | Done [ 10000 ] | |
Status | In Review [ 10005 ] | Closed [ 6 ] |
Summary | Labeled block | Allow stage to operate as a labelled block |
Labels | blueocean | blueocean pipeline-stage-view |
Description |
Useful to give a label to one or more steps that are otherwise opaque in the log. {code} label('Deploying') { sh './deploy.sh --some-long-arguments' } {code} {{FlowGraphTable}} should hide the body of the {{label}} step by default. Alternatives considered: {code} sh script: './deploy.sh', label: 'Deploying' {code} 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: {code} LABEL: sh '/bin/perl abc def' {code} which may break down: {code} FOO: def x = 1; for (...) { ... } {code} |
Useful to give a label to one or more steps that are otherwise opaque in the log. {code} stage('Deploying') { sh './deploy.sh --some-long-arguments' } {code} {{FlowGraphTable}} should hide the body of the {{label}} step by default. Alternatives considered: {code} sh script: './deploy.sh', label: 'Deploying' {code} 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: {code} LABEL: sh '/bin/perl abc def' {code} which may break down: {code} FOO: def x = 1; for (...) { ... } {code} |
Attachment | blueocean-failure.JPG [ 34046 ] |
Attachment | stage-view.JPG [ 34047 ] |