Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DELETE http://localhost:8080/rest/jenkins-utils/1.0/form/jenkins/job/?id=1

POST http://localhost:8080/rest/jenkins-utils/1.0/form/jenkins/job/?projectKey=DT

Code Block
$ curl -u admin -XPOST "http://localhost:8080/rest/jenkins-utils/1.0/form/jenkins/job/?projectKey=DT" \
--data '{"configId":2,"jobUrl":"http://localhost:8080","scanCount":1000}' \
-H "Content-Type: application/json"
{"status":34,"message":"Added Job ID [34]"}
$

...