Updated Jenkinsfile.
Replaced Conda with Mamba.
This commit is contained in:
parent
483327a958
commit
8eb165b9a8
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -3,26 +3,26 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage("install") {
|
stage("install") {
|
||||||
steps {
|
steps {
|
||||||
sh 'conda env create -f environment.yml'
|
sh 'mamba env create -f environment.yml'
|
||||||
sh 'conda activate webdev && npm install'
|
sh 'mamba activate webdev && npm install'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("test") {
|
stage("test") {
|
||||||
steps {
|
steps {
|
||||||
sh 'conda activate webdev && npm run test:junit'
|
sh 'mamba activate webdev && npm run test:junit'
|
||||||
junit 'junit/*.xml'
|
junit 'junit/*.xml'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("build") {
|
stage("build") {
|
||||||
steps {
|
steps {
|
||||||
sh 'conda activate webdev && npm run build:prod'
|
sh 'mamba activate webdev && npm run build:prod'
|
||||||
fingerprint "dist/**"
|
fingerprint "dist/**"
|
||||||
archiveArtifacts artifacts: 'dist/audioshowkit.js', followSymlinks: false
|
archiveArtifacts artifacts: 'dist/audioshowkit.js', followSymlinks: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("generate docs") {
|
stage("generate docs") {
|
||||||
steps {
|
steps {
|
||||||
sh 'conda activate webdev && npm run docs'
|
sh 'mamba activate webdev && npm run docs'
|
||||||
publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: true, reportDir: './docs', reportFiles: 'index.html', reportName: 'AudioShowKit Docs', reportTitles: ''])
|
publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: true, reportDir: './docs', reportFiles: 'index.html', reportName: 'AudioShowKit Docs', reportTitles: ''])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user