Fix missing dist folder on image build.
gitea/icedream/rekt-theme/master There was a failure building this commit Details

header/meta/side-by-side
Icedream 2018-07-13 14:31:54 +02:00
parent 4d50ca10ed
commit cbb8c748ef
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 2 additions and 0 deletions

2
Jenkinsfile vendored
View File

@ -145,6 +145,7 @@ pipeline {
steps { steps {
unstash 'node_modules' unstash 'node_modules'
sh "yarn build:production" sh "yarn build:production"
stash name: 'dist', includes: 'dist/**'
dir("dist") { dir("dist") {
archiveArtifacts '**' archiveArtifacts '**'
} }
@ -168,6 +169,7 @@ pipeline {
apk add --no-cache python3 py3-pip apk add --no-cache python3 py3-pip
pip3 install docker-compose==${dockerComposeVersion} pip3 install docker-compose==${dockerComposeVersion}
""" """
unstash 'dist'
sh """ sh """
export PATH="$PATH:/var/tmp/deps/docker-compose" export PATH="$PATH:/var/tmp/deps/docker-compose"
cd deployment cd deployment