Update 'Jenkinsfile'

This commit is contained in:
dany 2022-08-02 20:20:03 +02:00
parent dbd67633ba
commit 3ee668d425

8
Jenkinsfile vendored
View File

@ -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: