Hi I am using the multi-branch plugin to run a job on multiple branches and the trunk. I want to add a conditional build step that is only executed on the trunk. So I'm thinking of adding a conditional build step that uses a regular expression to check whether $WORKSPACE contains 'trunk'. I guess the regular expression would be something like:
Expression: ${ENV,var="WORKSPACE"} Label: trunk But that isn't right. What would I specify please? Best regards David -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/41302A7145AC054FA7A96CFD03835A0A0BA2398D%40EX10MBX02.EU.NEC.COM. For more options, visit https://groups.google.com/d/optout.