Update 'Jenkinsfile'
This commit is contained in:
parent
d4ab53544b
commit
f4ad94c88d
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@ -34,15 +34,21 @@ pipeline{
|
|||||||
{
|
{
|
||||||
stage('Test')
|
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 {
|
steps {
|
||||||
script {
|
script {
|
||||||
env.arch = "arm64"
|
|
||||||
}
|
|
||||||
writeFile file: env.WORKSPACE + "build.sh", text:'''
|
|
||||||
printenv
|
printenv
|
||||||
uname -a
|
uname -a
|
||||||
'''
|
}
|
||||||
build_antd()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Remote SSH') {
|
stage('Remote SSH') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user