From e5485e8fce516068a23d4b08c88ff140f69b8f4a Mon Sep 17 00:00:00 2001 From: "gioacchino.vino" <gioacchino.vino@infn.it> Date: Tue, 10 Oct 2023 16:40:42 +0200 Subject: [PATCH] Enable docker pipeline --- jenkinsfile/Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jenkinsfile/Jenkinsfile b/jenkinsfile/Jenkinsfile index 1a49067..73dcd6f 100644 --- a/jenkinsfile/Jenkinsfile +++ b/jenkinsfile/Jenkinsfile @@ -1,7 +1,8 @@ pipeline { agent { - label 'docker-paas-agent' - docker { image 'harbor.cloud.infn.it/cicd/jenkins-paas-slave:latest' } + docker { image 'harbor.cloud.infn.it/cicd/jenkins-paas-slave:latest' + reuseNode true + } } environment { @@ -38,6 +39,7 @@ pipeline { # Greenbone connection test /var/lib/jenkins/.local/bin/gvm-cli --gmp-username $GMP_USER --gmp-password $GMP_PASSWORD tls --hostname 127.0.0.1 --xml "<get_version/>" > gvm.output + #/usr/local/bin/gvm-cli --gmp-username $GMP_USER --gmp-password $GMP_PASSWORD tls --hostname 127.0.0.1 --xml "<get_version/>" > gvm.output if grep -q OK gvm.output then echo "gvm check: OK" -- GitLab