Skip to content

Commit

Permalink
feat: add docker build agent in the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Apurva14A authored Nov 21, 2023
1 parent 1051611 commit b5f60f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
pipeline {
agent
agent {
docker {
image 'abhishekf5/maven-abhishek-docker-agent:v1'
args '--user root -v /var/run/docker.sock:/var/run/docker.sock'
}
}

tools {
// Define the Maven tool with the desired name and version
Expand Down

0 comments on commit b5f60f1

Please sign in to comment.