Update 'Jenkinsfile'
This commit is contained in:
parent
dbd67633ba
commit
3ee668d425
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user