From 4bb63fcf8d6bc03522675d4a298641bacf6cb261 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Thu, 3 May 2018 17:03:34 +1000 Subject: [PATCH] Fix CI pipeline --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5eb7d7cf..a2afda02 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,23 +12,23 @@ pipeline { stages { stage('Prepare') { steps { - sh '''docker pull ${DOCKER_PRIVATE_REGISTRY}/nginx-proxy-manager-base + sh '''docker pull jc21/nginx-proxy-manager-base docker pull ${DOCKER_CI_TOOLS}''' sh '''CWD=`pwd` docker run --rm \\ -v $CWD/manager:/srv/manager \\ -w /srv/manager \\ - ${DOCKER_PRIVATE_REGISTRY}/nginx-proxy-manager-base \\ + jc21/nginx-proxy-manager-base \\ npm --registry=$NPM_REGISTRY install exit $?''' sh '''CWD=`pwd` -docker run --rm -v $CWD/manager:/srv/manager -w /srv/manager ${DOCKER_PRIVATE_REGISTRY}/nginx-proxy-manager-base gulp build +docker run --rm -v $CWD/manager:/srv/manager -w /srv/manager jc21/nginx-proxy-manager-base gulp build exit $?''' sh '''CWD=`pwd` -docker run --rm -e NODE_ENV=production -v $CWD/manager:/srv/manager -w /srv/manager ${DOCKER_PRIVATE_REGISTRY}/nginx-proxy-manager-base npm prune --production +docker run --rm -e NODE_ENV=production -v $CWD/manager:/srv/manager -w /srv/manager jc21/nginx-proxy-manager-base npm prune --production exit $?''' sh '''docker run --rm \\