There's no way to define multiple patterns for a given role (which would enable different permissions depending on the job for the same role).
But the pattern '(RB|HMI|JXE)_MIB.*' should do it. Maybe look up the java.util.regex.Pattern docs? On 11.10.2013, at 13:25, Jan Seidel <[email protected]> wrote: > > > Hi folks, > > I am setting up Role Strategy as too many people can peek and poke in too > many jobs and mess around. > We have many build jobs which leads me to a problem when assigning Roles in > Projects roles. > > I need multiple patterns for a single role if possible. > e.g. the role MIB admin must access all jobs starting with (?i)RB_MIB.*, > (?i)HMI_MIB.* and (?i)JXE_MIB.* but not (?i)MB_GUIDE_MIB.* nor any other job > that is outside of the scope of this project. > So simply taking (?i).*MIB.* won't work. > > Is it possible to use multiple patterns for one role and if yes, how? > > Cheers > Jan > > > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
