Skip to content
Snippets Groups Projects
Commit 2ed94f41 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

OSB-45: invocation not allowed in script

I am starting to hate this.....
parent dfdd991b
No related branches found
No related tags found
1 merge request!89Monitoring maintenance Epic branch merge
......@@ -44,12 +44,10 @@ pipeline {
DOCKER_REGISTRY = "http://nexus.cep4.control.lofar:18080"
}
steps {
script {
docker.withDockerRegistry(credentialsId: 'nexus', url: 'http://nexus.cep4.control.lofar:18080') {
docker.image("lofar-maintenance-restservice:${DOCKER_TAG}").push()
docker.image("lofar-maintenance-nginxproxy:${DOCKER_TAG}").push()
docker.image("lofar-maintenance-backgroundworkers:${DOCKER_TAG}").push()
}
docker.withDockerRegistry(credentialsId: 'nexus', url: 'http://nexus.cep4.control.lofar:18080') {
docker.image("lofar-maintenance-restservice:${DOCKER_TAG}").push()
docker.image("lofar-maintenance-nginxproxy:${DOCKER_TAG}").push()
docker.image("lofar-maintenance-backgroundworkers:${DOCKER_TAG}").push()
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment