| Jenkinsfile | ●●●●● patch | view | raw | blame | history |
Jenkinsfile
@@ -10,11 +10,12 @@ //Build the image customImage = docker.build("jenkins:${BUILDDATE}-build-${env.BUILD_ID}") } stage('Test Image'){ customImage.inside { sh 'curl -s -o /dev/null -w "%{http_code}" localhost:8080/login' } } // stage('Test Image'){ // options // customImage.inside { // sh 'curl -s -o /dev/null -w "%{http_code}" localhost:8080/login' // } // } stage('Push Image'){ docker.withRegistry('https://dev-reg.darkurthe.net'){ customImage.push()