Issue Type: New Feature New Feature
Assignee: ikedam
Components: groovy-label-assignment-plugin
Created: 14/Mar/15 4:09 AM
Description:

quoted from https://github.com/jenkinsci/groovy-label-assignment-plugin/pull/1:

in your groovy script, you can reference the current Jenkins job as “currentJob” and do stuff like that:

[‘windows’, ‘linux’, ‘mac’].find { currentJob.name.toLowerCase().contains(it) }

The piece of code above would automatically assign the label according to the job name.

Project: Jenkins
Priority: Major Major
Reporter: ikedam
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to