![]() |
|
|
|
|
Change By:
|
Jack Yang
(20/Jan/15 12:50 PM)
|
|
Description:
|
up to multijob plugin version 1.16, there are only 5 options for "Continuation condition to next phase when jobs' statuses are". I would like to request adding a new option: "unstable". It would be great to have this option when the next job is configured to be triggered only the previous job result is unstable.
One of the current options: "Stable or Unstable but not Failed" is overlapped with "Successful". I mean the "Successful" is considered as "Stable" as well.
I looked at the source v1.16: it
should be
looks like
a very simple solution, just adding the following piece of code to MultiJobBuilder.java, it will solve my problem.
The original UNSTABLE may have to be renamed to something else, such as NOTFAILED, it might be a better name according to its meaning.
//
Begin
To-be-replaced-begin
UNSTABLE("
Stable or
Unstable
but not Failed
")
//To-be-replaced-end
//Replacing-begin NOTFAILED("Stable or Unstable but not Failed")
{
//Replacing-end
//To-be-added-begin UNSTABLE("Unstable") {
@Override public boolean isContinue(Result result) { return result.equals(Result.UNSTABLE); } }, //
End
To-be-added-end
|
|
|
|
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.