Skip to content

Jenkins Pipeline

Maryam Nawaz edited this page Apr 30, 2021 · 6 revisions

The pipeline accesses the Jenkinsfile in the main branch to implement CI/CD. It runs every 24 hours and every time a new commit is pushed to the Github repository. Commits are detected using a webhook on the Github repository.


The Jenkins pipeline contains 3 stages:

Checkout

Takes the latest version of the code in Fireant's Github repository on the main branch.

Build

Locates the Dockerfile on the main branch and uses it to build a Docker image.

Upload

Upload the new Docker image to Fireant's Dockerhub repository.

Run

Runs the Docker image.

Post Actions

Sends Slack message to notify build status.

Clone this wiki locally