Hi, The comma is not supported since it does a GLOB match by default. You can use multiple changeset entries in the when or the regexp approach should be another way
Cheers On Thursday, 12 November 2020 at 09:39:51 UTC geoffroy...@gmail.com wrote: > Hello > > our repository structure is as follow (simplified): > /app > |-- /linux > |-- /win > |-- /macos > > i am trying to execute conditionally a build step based on changeset > content into both linux & macos folder, but it is not working properly: > > when { changeset "*/linux/**,*/macos/**" } > > Is it possible to define multiple paths in a changeset using above syntax? > Or do i need to use regex, something like when { changeset " > .*\/(linux|macos)\/.*", comparator: "REGEXP" } ? > > Thanks in advance > Regards > -- 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/6030fad1-4c5f-47af-a3ac-1a401978b934n%40googlegroups.com.