Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20292

Option to specify an else-block

XMLWordPrintable

      When using the conditional buildstep plugin to build an if-else structure, you have to configure the same condition two times.

      Example: execute step x if strings match, execute step y else

      You will have to wrap step x into a strings-match-condition and wrap step y into a not(string-match)-condition.

      It would be much nicer to be able to add an else-block to do something like this:
      Run if strings match: string1, string2
      --> step x
      else
      --> step y

            domi Dominik Bartholdi
            wolterhis Lars
            Votes:
            20 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated: