Hi, I managed to do the same thing using java -jar jenkins-cli.jar -s http://localhost:8080/ groovy.
Using to post method it seems you must use the parameter name like so: curl -d "script=<your_script_here>" http://localhost:8080/script. If you do not want the result to be html-decorated send your request to scriptText. So curl -d "script=<your_script_here>" http://localhost:8080/scriptText is probably what you want. -- oliver -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
