Re: No signature of method: java.net.URL.call() thrown for url in scm git

22 views
Skip to first unread message
Message has been deleted

Matt Sheehan

unread,
Apr 15, 2015, 5:17:30 PM4/15/15
to job-dsl...@googlegroups.com
Do you have variable named "url" declared in the script somewhere? That would cause a conflict.

On Wed, Apr 15, 2015 at 4:04 PM Uldis Pirags <uldis....@gmail.com> wrote:


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?
 

--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/e4cffc4d-a915-4aeb-b7be-a705fbf9ce67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nikolay Diakov

unread,
Apr 16, 2015, 10:14:24 AM4/16/15
to job-dsl...@googlegroups.com
Upgrade Jenkins?

Reply all
Reply to author
Forward
0 new messages