Update 'Jenkinsfile'
This commit is contained in:
parent
c8e9bd3702
commit
a8a32309c1
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -9,12 +9,6 @@ remote.logLevel = 'INFO'
|
||||
|
||||
def build_antd()
|
||||
{
|
||||
sh '''
|
||||
cat << EOF > "$WORKSPACE"/build_antd.sh
|
||||
printenv
|
||||
uname -a
|
||||
EOF
|
||||
'''
|
||||
docker.image("xsangle/ci-tools:latest-" + env.arch).withRun("bash $WORKSPACE/build_antd.sh")
|
||||
}
|
||||
|
||||
@ -44,6 +38,12 @@ pipeline{
|
||||
script {
|
||||
env.arch = "arm64"
|
||||
}
|
||||
sh '''
|
||||
cat << EOF > "$WORKSPACE"/build_antd.sh
|
||||
printenv
|
||||
uname -a
|
||||
EOF
|
||||
'''
|
||||
build_antd()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user