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: