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

          [JENKINS-20292] Option to specify an else-block

          Lars created issue -
          Dominik Bartholdi made changes -
          Link New: This issue is duplicated by JENKINS-25918 [ JENKINS-25918 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 151816 ] New: JNJira + In-Review [ 178072 ]

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

              Created:
              Updated: