Fix missing dist folder on image build.
gitea/icedream/rekt-theme/master There was a failure building this commit
Details
gitea/icedream/rekt-theme/master There was a failure building this commit
Details
parent
4d50ca10ed
commit
cbb8c748ef
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue