Update 'Jenkinsfile'

This commit is contained in:
dany 2022-08-02 18:26:33 +02:00
parent a73cc7f52e
commit d4ab53544b

5
Jenkinsfile vendored
View File

@ -9,7 +9,7 @@ remote.logLevel = 'INFO'
def build_antd() def build_antd()
{ {
docker.image("xsangle/ci-tools:latest-" + env.arch).withRun("bash $WORKSPACE/build_antd.sh") docker.image("xsangle/ci-tools:latest-" + env.arch).withRun("bash $WORKSPACE/build.sh")
} }
pipeline{ pipeline{
@ -38,10 +38,9 @@ pipeline{
script { script {
env.arch = "arm64" env.arch = "arm64"
} }
sh ''' writeFile file: env.WORKSPACE + "build.sh", text:'''
printenv printenv
uname -a uname -a
EOF
''' '''
build_antd() build_antd()
} }