IntermediateCloud DevOps project · about 12 hours

Jenkins pipeline from commit to container

Automate build, test and Docker image creation for a Java or Python app with Jenkins.

The real-world brief

A services company wants every commit to a client app built, tested and packaged automatically, with results visible to the whole team.

What you will build

  • A Jenkinsfile pipeline triggered by GitHub webhooks
  • Unit tests and a SonarQube quality gate
  • A Docker image pushed to a registry with a version tag
  • Build status visible on pull requests

Skills you will practise

Git branchingPipeline as codeDocker imagesCode quality gates

Tools

GitGitHubJenkinsMaven or pipDockerSonarQube

Project tasks

The detailed steps, checklists and trainer review open in the SOTT student portal for enrolled students.

1Set up the repository Steps in portal
2Install and secure Jenkins Steps in portal
3Write the Jenkinsfile Steps in portal
4Add the quality gate Steps in portal
5Package and publish Steps in portal

How companies use Cloud DevOps

Banking: Moving a legacy app to containers. A loan-processing app ran on two hand-built servers that nobody dared to patch. The app was containerised, deployed to Kubernetes with Helm and released through a Jenkins pipeline with automated tests. Patching became a routine pipeline run, and recovery from a server failure dropped from hours to minutes.

Media: Handling traffic spikes. A news site crashed every time a big story broke. The site moved to auto-scaling containers behind a load balancer, with monitoring and alerts in Prometheus and Grafana. It now scales out within minutes of a spike and the team is alerted before users notice.

IT services: One pipeline for many teams. Each project team wrote its own fragile deployment scripts. A shared pipeline template (build, test, scan, deploy) with Terraform-built environments was rolled out to every team. New projects get a working pipeline on day one and failures are easier to support.

Questions

Can I add the Jenkins pipeline from commit to container project to my resume?

Yes. Once your trainer approves it, list it under Projects with the tools you used, one line on the problem it solves and a link to your repository and demo video.

How long does this project take?

About 12 hours of hands-on work, and it fits best after week 5 of the Cloud DevOps course.

Where do I get the step-by-step tasks?

Enrolled students get every task with steps, "done when" checks, the submission form and a trainer review in the SOTT student portal.