Update 'Jenkinsfile'
This commit is contained in:
parent
a73cc7f52e
commit
d4ab53544b
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user