Issue Type: New Feature New Feature
Assignee: Jesse Glick
Components: workflow-plugin
Created: 17/Dec/14 12:23 AM
Description:

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

label('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 (...) {
    ...
}
Project: Jenkins
Priority: Major Major
Reporter: Jesse Glick
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to