Update 'Jenkinsfile'

This commit is contained in:
dany 2022-08-02 18:21:59 +02:00
parent c8e9bd3702
commit a8a32309c1

12
Jenkinsfile vendored
View File

@ -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()
}
}