From 14b92a2cf7091f545bba119102bd7588c2a0c62b Mon Sep 17 00:00:00 2001 From: Ashutosh Apurva Date: Tue, 21 Nov 2023 16:37:23 +0530 Subject: [PATCH] feat: remove build agent in pipeline --- Jenkinsfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c44f57fb..90b981d5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,5 @@ pipeline { - agent { - docker { - image 'abhishekf5/maven-abhishek-docker-agent:v1' - args '--user root -v /var/run/docker.sock:/var/run/docker.sock' - } - } + agent any options { buildDiscarder(logRotator(numToKeepStr: '5'))