From 044610246f53f8006128ca226ebd15958484c146 Mon Sep 17 00:00:00 2001 From: Kevin O'Donnell Date: Wed, 21 Oct 2020 21:28:42 -0400 Subject: [PATCH] fix(pipeline): correct unstable publishing Signed-off-by: Kevin O'Donnell --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2319aad8..b8d180b4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -108,7 +108,7 @@ pipeline { tools:${JOB_ID} -c "aws s3 sync . s3://${S3_TARGET}/charts" ${DOCKER_RUN} -v `pwd`:/project -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -w /project/dist/remote \ tools:${JOB_ID} -c "aws s3 sync s3://${S3_TARGET}/charts ." - ${DOCKER_RUN} -v `pwd`:/project -w /project/fix(pipeline): always publish to unstable on the master branchdist/remote tools:${JOB_ID} -c "helm repo index ./ --url https://${S3_TARGET}.s3.amazonaws.com/charts" + ${DOCKER_RUN} -v `pwd`:/project -w /project/dist/remote tools:${JOB_ID} -c "helm repo index ./ --url https://${S3_TARGET}.s3.amazonaws.com/charts" ${DOCKER_RUN} -v `pwd`:/project -w /project/charts tools:${JOB_ID} -c "chown -R ${JENKINS_UID}:${JENKINS_GID} /project/dist" ${DOCKER_RUN} -v `pwd`:/project -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -w /project/dist/remote \ tools:${JOB_ID} -c "aws s3 cp index.yaml s3://${S3_TARGET}/charts/index.yaml"