Issue Type: Improvement Improvement
Assignee: Kohsuke Kawaguchi
Components: matrix-project-plugin
Created: 17/Mar/15 3:29 PM
Description:

Occasionally when building for particular platform is unavailable I need to exclude it from all jobs while I still want them to run on other platforms and be considered done even though they didn't run on the excluded one.

For this I set a global variable in System Configuration with list of disabled platforms. However, the combination filter then looks like

!(Thread.currentThread() instanceof hudson.model.OneOffExecutor ? Thread.currentThread().currentExecutable.getEnvironment(null)["DISABLED_PLATFORMS"].tokenize(",") : []).contains(LABEL)

It would be nice if there was easier way to refer to some kind of global setting. Especially since this now requires approving the involved methods and the approvals only come up when build is attempted, because in the evaluation during saving the current thread is not OneOffExecutor and the methods are not called.

Project: Jenkins
Priority: Minor Minor
Reporter: Jan Hudec
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