Skip to content

Instantly share code, notes, and snippets.

@adampats
Created September 15, 2015 18:00
Show Gist options
  • Select an option

  • Save adampats/fd078005cd78d45fe809 to your computer and use it in GitHub Desktop.

Select an option

Save adampats/fd078005cd78d45fe809 to your computer and use it in GitHub Desktop.
Get jenkins job config.xml
jenkins_server='jenkins-dev.domain.net'
job_name='app-deploy'
username='adam'
curl -X GET -u $username -k "https://$jenkins_server/job/$job_name/config.xml" -O
# prompted for password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment