From bb7a435f52b6fb94590c3cc505d6909927a1db13 Mon Sep 17 00:00:00 2001 From: Jan Rabcan Date: Wed, 20 Oct 2021 03:22:51 +0200 Subject: [PATCH] aa --- Jenkinsfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 33a187d..de189b9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,8 @@ pipeline { steps { echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL}" echo 'Building..' - sh 'docker build -t registry.proxyq.co/jenkins/website:${env.BUILD_ID} .' + echo "docker build -t registry.proxyq.co/jenkins/website:${env.BUILD_ID} ." + sh "docker build -t registry.proxyq.co/jenkins/website:${env.BUILD_ID} ." } } stage('Test') { @@ -31,8 +32,8 @@ pipeline { stage('Deploy') { steps { echo "${env.ENV_REGISTRY_URL}" - sh 'docker login https://registry.proxyq.co -u ${REGISTRY_CREDENTIALS_USR} -p ${REGISTRY_CREDENTIALS_PSW}' - sh 'docker push registry.proxyq.co/jenkins/website:${env.BUILD_ID}' + sh "docker login https://registry.proxyq.co -u ${REGISTRY_CREDENTIALS_USR} -p ${REGISTRY_CREDENTIALS_PSW}" + sh "docker push registry.proxyq.co/jenkins/website:${env.BUILD_ID}" } } }