From cbb8c748efe334c521e8ff998c3a0fab665ab79f Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Fri, 13 Jul 2018 14:31:54 +0200 Subject: [PATCH] Fix missing dist folder on image build. --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index fd804fd..16b893b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -145,6 +145,7 @@ pipeline { steps { unstash 'node_modules' sh "yarn build:production" + stash name: 'dist', includes: 'dist/**' dir("dist") { archiveArtifacts '**' } @@ -168,6 +169,7 @@ pipeline { apk add --no-cache python3 py3-pip pip3 install docker-compose==${dockerComposeVersion} """ + unstash 'dist' sh """ export PATH="$PATH:/var/tmp/deps/docker-compose" cd deployment