From 48c3447a2f909d4a8cf8273713ab366b5ea0cd88 Mon Sep 17 00:00:00 2001 From: DeepakYadav <41716815+deepak7376@users.noreply.github.com> Date: Tue, 4 Jun 2024 00:33:04 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index dc74fe3..c922ddd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,10 @@ pipeline { - agent any + agent { + docker { + image 'python:3.8-slim' + args '-v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker' + } + } environment { DOCKER_IMAGE = "robustbase_img" @@ -9,7 +14,7 @@ pipeline { stage('Checkout') { steps { // Checkout the repository - git url: 'https://github.com/deepak7376/robustbase.git', branch: 'master' + git url: 'https://github.com/deepak7376/robustbase.git', branch: 'main' } }