Compare commits

...

3 Commits

Author SHA1 Message Date
4d2c491733 Merge branch 'develop'
All checks were successful
ydeng/bmlsa/pipeline/head This commit looks good
2023-05-03 08:21:42 -05:00
842458f20c Updated 'Jenkinsfile' to no longer activate environment
All checks were successful
ydeng/bmlsa/pipeline/head This commit looks good
2023-05-03 08:17:34 -05:00
40c8afe68c Updated 'Jenkinsfile' to conform to new build container usage
Some checks failed
ydeng/bmlsa/pipeline/head There was a failure building this commit
2023-05-03 08:13:18 -05:00
2 changed files with 4 additions and 4 deletions

5
Jenkinsfile vendored
View File

@ -3,8 +3,7 @@ pipeline {
stages { stages {
stage("install") { stage("install") {
steps { steps {
sh 'mamba env update --file environment.yml || mamba env create --force --file environment.yml' sh 'mamba env update --file environment.yml --prefix ./env || mamba env create --force --file environment.yml --prefix ./env'
sh 'echo "mamba activate bmlsa" >> ~/.bashrc'
} }
} }
stage("unit tests") { stage("unit tests") {
@ -19,7 +18,7 @@ pipeline {
sh 'rm -rf ./docs/build/*' sh 'rm -rf ./docs/build/*'
sh "python -m build" sh "python -m build"
sh 'sphinx-apidoc -o docs/source/autodoc/bmlsa src/bmlsa --force' sh 'sphinx-apidoc -o docs/source/autodoc/bmlsa src/bmlsa --force'
sh 'make -C docs html' sh 'sphinx-build -M html ./docs/source ./docs/build'
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'docs/build/html', reportFiles: 'index.html', reportName: 'Documentation', reportTitles: '']) publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'docs/build/html', reportFiles: 'index.html', reportName: 'Documentation', reportTitles: ''])
} }
} }

View File

@ -9,3 +9,4 @@ dependencies:
- python-build=0.10.0 - python-build=0.10.0
- setuptools=67.6 - setuptools=67.6
- sphinx=6.2 - sphinx=6.2
prefix: ./env