Skip to content
Snippets Groups Projects

Enable docker pipeline

Merged Gioacchino Vino requested to merge debug_paas_ci into main
1 file
+ 4
2
Compare changes
  • Side-by-side
  • Inline
+ 4
2
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"
Loading