Butler CLI Not long ago, I had to migrate jobs from an old server to a new one. That’s where comes into the play, below the most voted answers I found: Jenkins StackOverflow Jenkins CLI Copy the jobs directory Jenkins Remote API Jenkins Job Import Plugin In spite of their advantages, those solutions comes with their downsides especially if you have a large number of to move or no access root to the server. But, guess what ? I didn’t stop there. I have came up with a to make your life easier and export/import not only but also like a boss. jobs CLI Jenkins jobs plugins To get started, find the for your system and download it. For linux: appropriate package wget chmod +x butlermv butler /usr/local/bin/ https://s3.us-east-1.amazonaws.com/butlercli/1.0.0/linux/butler Note: For make sure that binary is available on the . contains instructions for setting the on . Windows butler PATH This page PATH Windows Once done, verify the installation worked, by opening a new terminal session and checking if is available : butler butler help 1 — Plugins Management To export , you need to provide the of the source instance: Jenkins jobs URL Jenkins butler plugins export — server localhost:8080 — username admin — password admin As shown above, will dump a list of plugins installed to stdout and a new file will be generated, with list of installed with and pairs: butler plugins.txt Jenkins plugins name version Now, to import the to the new Jenkins instance, use the command below with the of the Jenkins target instance as an argument: plugins URL butler plugins import — server localhost:8080 — username admin — password admin will install each plugin on the target Jenkins instance by issuing . Butler API calls 2 — Jobs Management To export , just provide the of the source server: Jenkins jobs URL Jenkins butler jobs export — server localhost:8080 — username admin — password admin A new directory will be created with every job in . Each job will have its own configuration file . jobs/ Jenkins config.xml Now, to import the jobs to the new instance, issue the following command: Jenkins butler jobs import — server localhost:8080 — username admin — password admin will use the configuration files created earlier to issue API calls to target instance to create jobs. Butler Jenkins Once you are done, check and you should see your jobs successfully created : Jenkins Hope it helps ! The CLI is still in its early stages, so you are welcome to contribute to the project in . Github