[JIRA] (JENKINS-40991) No signature of method: groovy.util.Node.div()... error in configure block
Title: Message Title Anthony Green edited a comment on JENKINS-40991 Re: No signature of method: groovy.util.Node.div()... error in configure block I managed a work around to the / being interpreted as a div() command.. def removeJvmOptions = { node -> node.remove(node.get(jvmOptions)[0])} 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.177723.1484136081000.19603.1557226140137%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40991) No signature of method: groovy.util.Node.div()... error in configure block
Title: Message Title Anthony Green edited a comment on JENKINS-40991 Re: No signature of method: groovy.util.Node.div()... error in configure block This bug is breaking all use of I managed a work around to the configure block with the job dsl plugin when the jobs are stored in source control and executed from the workspace / being interpreted as a div() command.. def removeJvmOptions = { node -> node.remove(node.get(jvmOptions)[0])} 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.177723.1484136081000.19598.1557226080139%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40991) No signature of method: groovy.util.Node.div()... error in configure block
Title: Message Title Anthony Green edited a comment on JENKINS-40991 Re: No signature of method: groovy.util.Node.div()... error in configure block This bug is breaking all use of the configure block with the job dsl plugin when the jobs are stored in source control and executed from the workspace 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.177723.1484136081000.19555.1557221640477%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40991) No signature of method: groovy.util.Node.div()... error in configure block
Title: Message Title Anthony Green edited a comment on JENKINS-40991 Re: No signature of method: groovy.util.Node.div()... error in configure block This bug is breaking the all use of the configure block with the job dsl plugin 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-40991) No signature of method: groovy.util.Node.div()... error in configure block
Title: Message Title Anthony Green commented on JENKINS-40991 Re: No signature of method: groovy.util.Node.div()... error in configure block This bug is breaking the use of the configure block with the job dsl plugin 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-40991) No signature of method: groovy.util.Node.div()... error in configure block
Title: Message Title Sam Gleske commented on JENKINS-40991 Re: No signature of method: groovy.util.Node.div()... error in configure block I solved this odd message by quoting the selector. Example: maven{ mavenInstallation 'maven339' goals '-B -q dependency:resolve-plugins' configure { it / 'injectBuildVariables' << false } } 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-40991) No signature of method: groovy.util.Node.div()... error in configure block
Title: Message Title Daniel Spilker assigned an issue to Unassigned Jenkins / JENKINS-40991 No signature of method: groovy.util.Node.div()... error in configure block Change By: Daniel Spilker Assignee: Daniel Spilker Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-40991) No signature of method: groovy.util.Node.div()... error in configure block
Title: Message Title Rob Kielty updated an issue Jenkins / JENKINS-40991 No signature of method: groovy.util.Node.div()... error in configure block Change By: Rob Kielty After upgrading to {{1.56}} the following code block started to throw errors{code}maven{ mavenInstallation 'maven339' goals '-B -q dependency:resolve-plugins' configure {it / injectBuildVariables << false} } {code}The error message is {code} No signature of method: groovy.util.Node.div()is applicable for argument types: (java.lang.Boolean) values: [true] Possible solutions: is(java.lang.Object), wait(), find(), any(), dump(), wait(long)}}{code}I can use the method added in JENKINS-40636 but the error message looks weird -- why can't I use the configure block now? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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
[JIRA] (JENKINS-40991) No signature of method: groovy.util.Node.div()... error in configure block
Title: Message Title Daniel Spilker commented on JENKINS-40991 Re: No signature of method: groovy.util.Node.div()... error in configure block Unfortunately this kind of problem arises from time to time when introducing new methods with the same name as the corresponding XML element. I'm have no idea how this can be fixed. Background: it has type groovy.util.Node and Node.div() is called when using the / operator on it. And Groovy is looking for variant with a boolean argument because injectBuildVariables resolves to the injectBuildVariables boolean field in the outer block which delegates to MavenContext. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-40991) No signature of method: groovy.util.Node.div()... error in configure block
Title: Message Title Jakub Bochenski created an issue Jenkins / JENKINS-40991 No signature of method: groovy.util.Node.div()... error in configure block Issue Type: Bug Assignee: Daniel Spilker Components: job-dsl-plugin Created: 2017/Jan/11 12:01 PM Priority: Minor Reporter: Jakub Bochenski After upgrading to 1.56 the following code block started to throw errors maven{ mavenInstallation 'maven339' goals '-B -q dependency:resolve-plugins' configure { it / injectBuildVariables << false } } The error message is No signature of method: groovy.util.Node.div() is applicable for argument types: (java.lang.Boolean) values: [true] Possible solutions: is(java.lang.Object), wait(), find(), any(), dump(), wait(long)}} I can use the method added in JENKINS-40636 but the error message looks weird – why can't I use the configure block now?