instance=http://192.168.99.100:31419
USER=XXXX
PASS=YYYYY
curl --silent --user "${USER}:${PASS}" --data-urlencode "script=$(<./whatever.groovy)" ${instance}/scriptText
I normally use:
instance=http://192.168.99.100:31419
USER=XXXX
PASS=YYYYY
curl --silent --user "${USER}:${PASS}" --data-urlencode "script=$(<./whatever.groovy)" ${instance}/scriptText
Cheers
On Monday, 10 October 2016 01:35:55 UTC+1, Naveen Srinivasan wrote:
0 NewReply to all
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/M3z5AmhXN1g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/26b92dfa-95eb-45b8-bb0b-a4d076151b9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.