Skip to content

Instantly share code, notes, and snippets.

@gwsu2008
Last active December 12, 2018 17:54
Show Gist options
  • Save gwsu2008/6f8448db5b5cd3d4f6e21ffd70b3a84b to your computer and use it in GitHub Desktop.
Save gwsu2008/6f8448db5b5cd3d4f6e21ffd70b3a84b to your computer and use it in GitHub Desktop.
jenkins-import-job.sh
curl -X POST 'https://<user>:<api-key>@jenkins_url/createItem?name=job_name' --header "Content-Type: application/xml" -d @config.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment