I know by experience that map.isEmpty() is not whitelisted by default. But things like [k: v] and map[k] = v should work since I use it often for the parallel step and I don't remember tearing out what little hair I have left the first time I tried it. ;)
/B On Thu, Feb 4, 2016 at 3:41 PM, Jesse Glick <[email protected]> wrote: > Try `[k: v]` not `[k = v]`, and file bugs in `script-security-plugin` > (label `workflow`) as needed. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0o91owSQrfyb7-o8dS2ftNZBP9Mb_CD7D%3Dvinp3A_cXA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0o91owSQrfyb7-o8dS2ftNZBP9Mb_CD7D%3Dvinp3A_cXA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Robert Sandell *Software Engineer* *CloudBees Inc.* -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS20mxv%3DphTJt8EcDizUCWkRtvfEMP0xtmZN8G55PLeaWA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
