Updated pipeline to latest system
All checks were successful
ydeng/audioshowkit/pipeline/head This commit looks good

This commit is contained in:
Harrison Deng 2023-05-03 08:26:48 -05:00
parent 9b66d513c1
commit 97a01656a1
2 changed files with 4 additions and 5 deletions

6
Jenkinsfile vendored
View File

@ -3,8 +3,7 @@ pipeline {
stages {
stage("install") {
steps {
sh 'conda env update --file environment.yml'
sh 'echo "conda activate audioshowkit" >> ~/.bashrc'
sh 'mamba env update --file environment.yml --prefix ./env || mamba env create --force --file environment.yml --prefix ./env'
sh 'node --version && npm --version'
sh 'npm install'
}
@ -18,8 +17,7 @@ pipeline {
stage("build") {
steps {
sh 'npm run build:prod'
fingerprint "dist/**"
archiveArtifacts artifacts: 'dist/audioshowkit.js', followSymlinks: false
archiveArtifacts artifacts: 'dist/audioshowkit.js', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
}
}
stage("generate docs") {

View File

@ -14,3 +14,4 @@ dependencies:
- nodejs=18.12.1
- openssl=3.0.7
- zlib=1.2.13
prefix: ./env