diff --git a/Jenkinsfile b/Jenkinsfile index 156c915..228abff 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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') {