Merge branch 'develop'
All checks were successful
ydeng/audioshowkit/pipeline/head This commit looks good
All checks were successful
ydeng/audioshowkit/pipeline/head This commit looks good
This commit is contained in:
commit
677ca4ffdf
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
@ -20,12 +19,8 @@ pipeline {
|
||||
}
|
||||
stage("build") {
|
||||
steps {
|
||||
sh '''
|
||||
source ~/.bashrc
|
||||
npm run build:prod
|
||||
'''
|
||||
fingerprint "dist/**"
|
||||
archiveArtifacts artifacts: 'dist/audioshowkit.js', followSymlinks: false
|
||||
sh 'npm run build:prod'
|
||||
archiveArtifacts artifacts: 'dist/audioshowkit.js', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
stage("generate docs") {
|
||||
|
@ -13,4 +13,5 @@ dependencies:
|
||||
- libzlib=1.2.13
|
||||
- nodejs=18.12.1
|
||||
- openssl=3.0.7
|
||||
- zlib=1.2.13
|
||||
- zlib=1.2.13
|
||||
prefix: ./env
|
Loading…
Reference in New Issue
Block a user