asdf
dustin/hudctrl/pipeline/head There was a failure building this commit
Details
dustin/hudctrl/pipeline/head There was a failure building this commit
Details
parent
26e11af6d5
commit
735c5af135
|
@ -19,6 +19,12 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
|
success {
|
||||||
|
dir('svc/dist') {
|
||||||
|
archiveArtifacts 'hudctrl-*'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Build Frontend') {
|
stage('Build Frontend') {
|
||||||
|
@ -30,6 +36,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
success {
|
||||||
|
dir('ui') {
|
||||||
|
archiveArtifacts 'hudctrl-ui.tar.gz'
|
||||||
|
}
|
||||||
|
}
|
||||||
failure {
|
failure {
|
||||||
dir('ui/npm_cache/_logs') {
|
dir('ui/npm_cache/_logs') {
|
||||||
archiveArtifacts '*'
|
archiveArtifacts '*'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh -ex
|
#!/bin/sh -ex
|
||||||
|
|
||||||
python -m venv .venv
|
python -m venv .venv
|
||||||
.venv/bin/python -m pip install -U pip setuptools wheel
|
.venv/bin/python -m pip install --no-cache-dir -U pip setuptools wheel
|
||||||
.venv/bin/python -m pip install poetry
|
.venv/bin/python -m pip install --no-cache-dir poetry
|
||||||
|
|
||||||
.venv/bin/poetry build
|
.venv/bin/poetry build
|
||||||
|
|
|
@ -7,5 +7,8 @@ mkdir "${TEMP}"
|
||||||
# Work around crazy performance issue in npm@7 / npm@8
|
# Work around crazy performance issue in npm@7 / npm@8
|
||||||
mkdir node_modules
|
mkdir node_modules
|
||||||
|
|
||||||
npm install
|
npm ci
|
||||||
|
|
||||||
npm run build
|
npm run build
|
||||||
|
cd dist
|
||||||
|
find . -mindepth 1 -maxdepth 1 -printf '%P\0' | xargs -0 tar -czf ../hudctrl-ui.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue