Day 25 Task: Jenkins Declarative Pipeline with Docker
Docker build :- we can use sh 'docker build . -t <tag>' in your pipeline stage block to run the docker build command. (Make sure you have docker installed with correct permissions.
Docker run :- we can use sh 'docker run -d <image>' in your pipeline ...
devopssolution.hashnode.dev1 min read