Change By: ikedam (28/Feb/15 4:30 AM)
Description: Following case:
{noformat}
Flexible Publish
    Conditional Action
        Run?: String match
            String1: ${Test1}
            String2: expected
        Action
            some action 1
            some action 2
{noformat}

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:
{noformat}
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
{noformat}
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to