Compare commits
2 Commits
676995b22c
...
677ca4ffdf
Author | SHA1 | Date | |
---|---|---|---|
677ca4ffdf | |||
97a01656a1 |
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -3,8 +3,7 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage("install") {
|
stage("install") {
|
||||||
steps {
|
steps {
|
||||||
sh 'conda env update --file environment.yml'
|
sh 'mamba env update --file environment.yml --prefix ./env || mamba env create --force --file environment.yml --prefix ./env'
|
||||||
sh 'echo "conda activate audioshowkit" >> ~/.bashrc'
|
|
||||||
sh 'node --version && npm --version'
|
sh 'node --version && npm --version'
|
||||||
sh 'npm install'
|
sh 'npm install'
|
||||||
}
|
}
|
||||||
@ -20,12 +19,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage("build") {
|
stage("build") {
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh 'npm run build:prod'
|
||||||
source ~/.bashrc
|
archiveArtifacts artifacts: 'dist/audioshowkit.js', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
|
||||||
npm run build:prod
|
|
||||||
'''
|
|
||||||
fingerprint "dist/**"
|
|
||||||
archiveArtifacts artifacts: 'dist/audioshowkit.js', followSymlinks: false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("generate docs") {
|
stage("generate docs") {
|
||||||
|
@ -14,3 +14,4 @@ dependencies:
|
|||||||
- nodejs=18.12.1
|
- nodejs=18.12.1
|
||||||
- openssl=3.0.7
|
- openssl=3.0.7
|
||||||
- zlib=1.2.13
|
- zlib=1.2.13
|
||||||
|
prefix: ./env
|
Loading…
Reference in New Issue
Block a user