diff --git a/Jenkinsfile b/Jenkinsfile index fc0fbc68..d06a0163 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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