Adding else and if-else support
Hello All,
I had seen the ER for enabling else support for the conditional builds step plugin: https://issues.jenkins-ci.org/browse/JENKINS-20292?src=confmacro
I have also added if-else support as part of the ER as I had seen this request in a duplicate ER of the above-mentioned one. Link to this: https://issues.jenkins-ci.org/browse/JENKINS-25918
Hope this implementation is satisfactory.
@SanjayThomas sorry for missing this, I will take a look a it as soon as I find time
The earlier failure was due to the test case trying to open a Unix shell while testing in WIndows. Modified the test case to use BatchFile when running on Windows.
@imod Could you take a look at this? Please let me know if I've missed something here.
I am tempted to land it, but I would like to firstly integrate https://github.com/jenkinsci/conditional-buildstep-plugin/pull/21 which is quite an emergency for the new weekly releases
@oleg-nenashev please feel free to do so - I'm currently very short in time and will not be able to do so in any foreseeable time
This PR will need an update after the recent tables to divs patches. Added to my queue, no ETA :(