Update 'Jenkinsfile'
This commit is contained in:
parent
d4ab53544b
commit
f4ad94c88d
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
@ -34,15 +34,21 @@ pipeline{
|
||||
{
|
||||
stage('Test')
|
||||
{
|
||||
agent {
|
||||
docker {
|
||||
image 'xsangle/ci-tools:latest-arm64'
|
||||
// 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:
|
||||
reuseNode true
|
||||
registryUrl 'http://workstation:5000/'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
env.arch = "arm64"
|
||||
printenv
|
||||
uname -a
|
||||
}
|
||||
writeFile file: env.WORKSPACE + "build.sh", text:'''
|
||||
printenv
|
||||
uname -a
|
||||
'''
|
||||
build_antd()
|
||||
}
|
||||
}
|
||||
stage('Remote SSH') {
|
||||
|
Loading…
Reference in New Issue
Block a user