Skip to content
Branch: master
Find file History
Type Name Latest commit message Commit time
Failed to load latest commit information.
blue-green Refactor the K8s configurations out and pipeline to make it more like… Dec 15, 2017
jenkins-on-azure Add 101-jenkins quickstart template script & 'Jenkins On Azure' landi… Apr 13, 2017 Clean up running Jenkins CLI command May 1, 2017
basic-docker-build-job.xml Small cosmetic changes Mar 9, 2017
basic-user-pwd-credentials.xml Add Jenkins related scripts and files for automatically deploying a d… Feb 27, 2017 Fix the jenkins install script. Jun 11, 2018
jenkins-verified-ver Fix the retry bug. Nov 30, 2017 Add a new script that disables the security of a Jenkins instance Mar 10, 2017

Jenkins groovy script to build and push a Docker container


Sample Jenkins pipeline that clones a git repository, builds the docker container defined in the Docker file and pushes that container to a private container registry. The Jenkins Job that uses this groovy script must have these parameters defined:

Jenkins job parameters Description
git_repo A public git repository that has a Dockerfile
docker_repository The container repository
registry_url The Docker private container registry url
registry_credentials_id The Jenkins credentials id that stores the user name and password for the Docker private container registry

Add a Docker Build job in an existing Jenkins instance

Bash script that adds a Docker Build job in an existing Jenkins instance. The created job will use the basic-docker-build.groovy script.

Disable security for a Jenkins instance

Bash script that disables the security of a Jenkins instance.

If you accidentally set up security realm / authorization in such a way that you may no longer able to reconfigure Jenkins you can use this script to disable security.

Don't make your instance publicly available when running this script! Anyone can access your unsecure Jenkins instance! For more informations see the Jenkins documentation

Install Jenkins Bash script that installs Jenkins on a Linux VM and exposes it to the public through port 80 (login and cli are disabled).

Install Jenkins plugins Bash script that runs a Jenkins cli command.


You can’t perform that action at this time.