-
Bug
-
Resolution: Unresolved
-
Minor
-
None
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?
[JENKINS-40991] No signature of method: groovy.util.Node.div()... error in configure block
Description |
Original:
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 |
New:
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 |
Assignee | Original: Daniel Spilker [ daspilker ] |