-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Jenkins version 2.204.4
Job-dsl version 1.77
When running the following example using the sandbox option:
job('test') { scm { hg("http://test_repo") { configure { node -> node / browser(class: 'hudson.plugins.mercurial.browser.BitBucket') / "url" << "test" } } } }
I get the following error:
ERROR: (script, line 6) No signature of method: groovy.util.Node.div() is applicable for argument types: (groovy.util.Node) values: [browser[attributes={class=hudson.plugins.mercurial.browser.BitBucket}; value=[]]] Possible solutions: is(java.lang.Object), wait(), find(), dump(), any(), wait(long)
The problem is gone when the sandbox is disabled or the piece of code works fine when run in http://job-dsl.herokuapp.com/.