From aa9b3fa9bab8917b6b3b53d3a845415f770e8fab Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Tue, 25 Jun 2019 18:29:34 -0400 Subject: [PATCH] test --- Jenkinsfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 51979cb..5206028 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,16 +1,13 @@ pipeline { environment { - registry = 'jcabillot/jenkins-wdocker' + registry = 'https://registry.hub.docker.com' registryCredential = 'dockerhub_jcabillot' - dockerImage = '' + dockerImage = 'jcabillot/jenkins-wdocker' } - agent any - stages { stage('Clone repository') { steps{ - /* Let's make sure we have the repository cloned to our workspace */ checkout scm } } @@ -24,7 +21,7 @@ pipeline { stage('Deploy Image') { steps{ script { - withDockerRegistry(url: 'https://registry.hub.docker.com', credentialsId: 'docker-hub-credentials') { + withDockerRegistry(url: 'https://registry.hub.docker.com', credentialsId: 'dockerhub_jcabillot') { sh 'docker push jcabillot/jenkins-wdocker' } }