This is the Jenkins Job Builder container with Jenkins Jobs Addons.
Before you build it, set Jenkins URL, user and token into base-config.ini
docker build -t jenkins-job-builder jenkins-job-builder .
docker run -it --rm jenkins-job-builder --volume "$PWD":/opt/jenkins-job jenkins-jobs --version
alias jjb='docker run -it --rm jenkins-job-builder --volume "$PWD":/opt/jenkins-job jenkins-jobs'
Now you can just run jjb --version
jjb test my-job.yml
jjb update my-job.yml