Hi,
I am using job-dsl-plugin v1.32.
This is my scm in a job configuration:
scm {
git {
remote {
url("g...@bitbucket.org:organization/repo.git")
credentials("xxx-xxx-xxx")
}
branch("develop")
}
}
Line url(String url) throws an exception:
ERROR: Build step failed with exception
groovy.lang.MissingMethodException: No signature of method: java.net.URL.call() is applicable for argument types: (java.lang.String) values: [g...@bitbucket.org:organization/repo.git]
Possible solutions: wait(), any(), wait(long), each(groovy.lang.Closure), any(groovy.lang.Closure), collect()
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:55)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
...
Is there are workaround for this issue?