From f4ad94c88dd535481870537ef47f5b7327bc4331 Mon Sep 17 00:00:00 2001 From: dany Date: Tue, 2 Aug 2022 18:43:13 +0200 Subject: [PATCH] Update 'Jenkinsfile' --- Jenkinsfile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) 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') {