Script to copy, save or restore jobs between jenkins servers
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
jenkins-porter.py
requirements.txt

README.md

Jenkins Porter

Tool which will help you to save your jenkins job configuration, restore them, remove them all or directly copy between Jenkins servers.

Save

$ python3 jenkins-porter.py save -o <origin server> -uo <origin user> -po <origin password> -f <destination folder>

The destination folder does not have to exist.

Restore

$ python3 jenkins-porter.py restore -t <target server> -ut <target user> -pt <target password> -f <destination folder>

Copy

$ python3 jenkins-porter.py copy -o <origin server> -uo <origin user> -po <origin password> -t <target server> -ut <target user> -pt <target password>

Clean

$ python3 jenkins-porter.py clean -t <target server> -ut <target user> -pt <target password>