Issue Type: Bug Bug
Assignee: ikedam
Components: flexible-publish-plugin
Created: 28/Feb/15 4:25 AM
Description:

Following case:

Flexible Publish
    Conditional Action
        Run?: String match
            String1: ${Test1}
            String2: expected
        Action
            some action 1
            some action 2

In this case, string matching is evaluated each for some action 1 and some action 2.
The condition should be evaluated only one for the configuration as:
* It can be a problem if there is a condition with side-effects.
* Users can expect the condition will be evaluated only once as they configured that only once in the configuration page. 
* Users can configure like this if they really want the condition evaluated for each time:

Flexible Publish
Conditional Action
Run?: String match
String1: ${Test1}
String2: expected
Action
some action 1
Conditional Action
Run?: String match
String1: ${Test1}
String2: expected
Action
some action 2


Environment: flexible-publish-0.14.1
Project: Jenkins
Priority: Minor Minor
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