-
Notifications
You must be signed in to change notification settings - Fork 0
Jenkins pipeline
Omar Mokhtar edited this page Jun 15, 2023
·
3 revisions
Using the Jenkinsfile
the pipeline builds the app and creates a docker image and adds it to a docker hub.
The pipeline consists of 3 stages as follows.
at this stage, we build the app using the Dockerfile
and create a docker image that contains the latest version of our application.
We login into the docker hub account.
we push the new image into our docker hub account.
The pipeline displays if any error happened during the build and reports that an error happened like the following example.