On Jenkins 1.x we can call scriptlet entries using GET.
On Jenkin 2.x, any GET attempts are being returned with an error that they 
must be done via POST

I'm not finding anything in JIRA, but my search could be bad.

Has this functionality changed?

 Thank you !

-----

>From the documentation:  https://plugins.jenkins.io/scriptler/

REST <https://plugins.jenkins.io/scriptler/#plugin-content-rest>

since version 1.7, one can also run a script using GET or POST to the URL 
*/scriptler/run/<your-script-id>* with the optional parameters node, script 
(alternative script text), contentType, and the parameters defined for your 
stored script.

e.g.

*http://myserver/jenkins/scriptler/run/ 
<http://myserver/jenkins/scriptler/run/><yourScriptId>?param1=value1*


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d03be7c2-8150-448c-a519-2228d536a1c5n%40googlegroups.com.

Reply via email to