From 3ee668d425bbc92f7d45b301a17c60d877665c4e Mon Sep 17 00:00:00 2001 From: dany Date: Tue, 2 Aug 2022 20:20:03 +0200 Subject: [PATCH] Update 'Jenkinsfile' --- Jenkinsfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1e1efd0..033bb7d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,13 +7,9 @@ remote.allowAnyHosts = true remote.agent = false remote.logLevel = 'INFO' -def build_antd() -{ - docker.image("xsangle/ci-tools:latest-" + env.arch).withRun("bash $WORKSPACE/build.sh") -} pipeline{ - agent none + agent { node{ label'master' }} options { // Limit build history with buildDiscarder option: // daysToKeepStr: history is only kept up to this many days. @@ -37,7 +33,7 @@ pipeline{ agent { docker { image 'xsangle/ci-tools:latest-amd64' - args '-v /etc/passwd:/etc/passwd' + // args '-v /etc/passwd:/etc/passwd' // Run the container on the node specified at the // top-level of the Pipeline, in the same workspace, // rather than on a new node entirely: