[JIRA] (JENKINS-33051) Groovy Star-Dot operator not supported in sandbox
Title: Message Title Tatu Kairi commented on JENKINS-33051 Re: Groovy Star-Dot operator not supported in sandbox Still an issue. The following does not work in script block: // Simplified example; In reality, there are a lot of defaultArguments to pass def defaultArguments = [ "arg1": "arg1", "arg2": "arg2" ] if ( my_condition ) { doStuff(*:defaultArguments, foo: "bar") } else { doStuff(*:defaultArguments, foo: "cux") } General error during canonicalization: java.lang.UnsupportedOperationException java.lang.UnsupportedOperationException at com.cloudbees.groovy.cps.CpsTransformer.visitSpreadMapExpression(CpsTransformer.java:1207) // etc... Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.168380.1455920446000.3111.1567154341380%40Atlassian.JIRA.
[JIRA] (JENKINS-33051) Groovy Star-Dot operator not supported in sandbox
Title: Message Title Daniel Browne commented on JENKINS-33051 Re: Groovy Star-Dot operator not supported in sandbox I have a config driven function call where the name of the function and the list of args are passed in. Also all the Groovy and most of the pipeline functionality I know has been learnt from Google today, so I am not entirely sure how to achieve the equivalent effect. I worked around it for now, but it is not pretty. I will go back and change it once this bug is resolved. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-33051) Groovy Star-Dot operator not supported in sandbox
Title: Message Title Daniel Browne commented on JENKINS-33051 Re: Groovy Star-Dot operator not supported in sandbox I have a config driven function call where the name of the function and the list of args are passed in. Also all the Groovy and most of the pipeline functionality I know has been learnt from Google today, so I am not entirely sure how to achieve the equivalent effect. I worked around it for now, but it is not pretty. I will go back and change it once this bug is resolved. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-33051) Groovy Star-Dot operator not supported in sandbox
Title: Message Title Jesse Glick commented on JENKINS-33051 Re: Groovy Star-Dot operator not supported in sandbox Just do not use that operator. You can get an equivalent effect with method calls in the GDK. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-33051) Groovy Star-Dot operator not supported in sandbox
Title: Message Title Daniel Browne commented on JENKINS-33051 Re: Groovy Star-Dot operator not supported in sandbox Also running into this bug. Is there any workaround that has been found? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-33051) Groovy Star-Dot operator not supported in sandbox
Title: Message Title Andrew Bayer updated an issue Jenkins / JENKINS-33051 Groovy Star-Dot operator not supported in sandbox Change By: Andrew Bayer Labels: groovy pipeline triaged-2018-11 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-33051) Groovy Star-Dot operator not supported in sandbox
Title: Message Title Graham Burgess edited a comment on JENKINS-33051 Re: Groovy Star-Dot operator not supported in sandbox I just hit this bug while building a shared library that really could use the spread (*) operator to spread method params! Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-33051) Groovy Star-Dot operator not supported in sandbox
Title: Message Title Graham Burgess commented on JENKINS-33051 Re: Groovy Star-Dot operator not supported in sandbox I just hit this bug while building a shared library that really could use the spread operator to spread method params! Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.