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 {
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