Skip to content

Instantly share code, notes, and snippets.

@hishida
hishida / copy_jenkins_jobs.sh
Created November 10, 2015 00:33
Copy all of Jenkins jobs that is included in certain directory.
#!/bin/bash
# ex: copy_jenkins_jobs.sh /tmp/jenkinsjobs
JENKINS_URL="http://localhost"
CONFIG_TMP_XML="config_tmp.xml"
DIR=$1