1
0
Fork 0

asdf
dustin/hudctrl/pipeline/head There was a failure building this commit Details

Dustin 2022-08-01 16:50:52 -05:00
parent 26e11af6d5
commit 735c5af135
3 changed files with 17 additions and 3 deletions

11
ci/Jenkinsfile vendored
View File

@ -19,6 +19,12 @@ pipeline {
}
}
}
post {
success {
dir('svc/dist') {
archiveArtifacts 'hudctrl-*'
}
}
}
stage('Build Frontend') {
@ -30,6 +36,11 @@ pipeline {
}
}
post {
success {
dir('ui') {
archiveArtifacts 'hudctrl-ui.tar.gz'
}
}
failure {
dir('ui/npm_cache/_logs') {
archiveArtifacts '*'

View File

@ -1,7 +1,7 @@
#!/bin/sh -ex
python -m venv .venv
.venv/bin/python -m pip install -U pip setuptools wheel
.venv/bin/python -m pip install poetry
.venv/bin/python -m pip install --no-cache-dir -U pip setuptools wheel
.venv/bin/python -m pip install --no-cache-dir poetry
.venv/bin/poetry build

View File

@ -7,5 +7,8 @@ mkdir "${TEMP}"
# Work around crazy performance issue in npm@7 / npm@8
mkdir node_modules
npm install
npm ci
npm run build
cd dist
find . -mindepth 1 -maxdepth 1 -printf '%P\0' | xargs -0 tar -czf ../hudctrl-ui.tar.gz