![]() |
|
|
|
|
Issue Type:
|
New Feature
|
|
Assignee:
|
Dominik Bartholdi
|
|
Components:
|
conditional-buildstep-plugin |
|
Created:
|
04/Dec/14 6:27 PM
|
|
Description:
|
It would be nice if the conditional build step allowed for an else block.
I don't necessarily want support for nesting those blocks, but in the case of boolean conditions, it makes a lot of sense to create an:
if {
} else {
}
construct in the job.
I realize I could make two conflicting (if equals and then if not equals) but having the two blocks makes much more sense.
Especially when users have multi-step builds. For example:
Multi-Step build:
1) make clean
2) if($PROFILING) { make -PROFILING=TRUE }
2) else {make -PROFILING=FALSE }
3) make install
4) if ($GENERATE_DOCS) { ./generateDocs }
5) `some final step`
|
|
Environment:
|
CentOS6
|
|
Project:
|
Jenkins
|
|
Priority:
|
Minor
|
|
Reporter:
|
KaibutsuX Mahou
|
|
|
|
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.