We want to call a REST API in Jenkins jobs, because we already use Groovy
Postbuild Plugin in other Jenkins jobs, we try to use it.

And we find a sample from
http://groovy.codehaus.org/modules/http-builder/doc/post.html
This is partial source code:


But Jenkins shows the following error


Then I download http-builder-0.7.2.jar
fromhttp://groovy.codehaus.org/modules/http-builder/download.html
And I put this library in "Additional groovy classpath", but the error is
still the same.

Is there any suggestion for it ?



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Use-Groovy-Postbuild-Plugin-to-call-REST-API-by-HTTPBuilder-tp4720014.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to