The scripts to build and test kubernetes in jenkins.
Clone or download
Pull request Compare This branch is 285 commits behind juju-solutions:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Kubernetes Jenkins scripts

This project contains the scripts to build and test Kubernetes in Jenkins. These scripts assume Docker is installed on the Jenkins runner for isolation and limiting many package dependencies. Some of the scripts rely on Jenkins environment variables but efforts have been made to be able to run the scripts locally (not on a Jenkins server).

Deploy a Kubernetes cluster with Juju and run the end to end (e2e) tests against the cluster capturing the output. This script uses the to deploy the environment and run the tests, and to upload the results to a Google storage bucket which is published to Kubernetes.

The same as the script but the ability to run it locally. This script uses to set the Jenkins environment variables before running.Ensure docker is installed and running on the local system before attempting to run this script.


  1. Create a "Freestyle project" in Jenkins.
  2. Select "Git" under Source Code Management section.
  3. Enter "" in the Repository URL field.
  4. Click on "Add a build step" in the Build section.
  5. Select "Execute shell"
  6. Enter a local path to the script you wish to use such as ./
  7. Save the script.
  8. Run the script.