Skip to content

Commit

Permalink
Merge pull request #91 from Ouranosinc/pavics-sdi-all-notebooks
Browse files Browse the repository at this point in the history
# Overview

Add any variation of sub-dir notebooks for artifact collection in Jenkins.

For instance, following were omitted: 
https://github.com/Ouranosinc/pavics-sdi/tree/master/docs/source/notebook-components

At the same time, ensure following are not matched: 
https://github.com/Ouranosinc/pavics-sdi/tree/master/docs/source/deprecated

## Related Issue / Discussion

Useful for collecting results from bird-house/birdhouse-deploy#114
  • Loading branch information
fmigneault authored Nov 1, 2021
2 parents 7eff889 + 671c1a7 commit 97350d3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,15 @@ Note this is another run, will double the time and no guaranty to have same erro

post {
always {
archiveArtifacts(artifacts: 'notebooks/*.ipynb, pavics-sdi-*/docs/source/notebooks/*.ipynb, finch-*/docs/source/notebooks/*.ipynb, raven-*/docs/source/notebooks/*.ipynb, esgf-compute-api-*/examples/*.ipynb, PAVICS-landing-*/content/notebooks/climate_indicators/*.ipynb, buildout/*.output.ipynb, buildout/env-dump/',
fingerprint: true)
archiveArtifacts(artifacts: 'notebooks/*.ipynb', fingerprint: true)
archiveArtifacts(artifacts: 'pavics-sdi-*/docs/source/notebooks/*.ipynb', fingerprint: true)
archiveArtifacts(artifacts: 'pavics-sdi-*/docs/source/notebook-components/*.ipynb', fingerprint: true)
archiveArtifacts(artifacts: 'finch-*/docs/source/notebooks/*.ipynb', fingerprint: true)
archiveArtifacts(artifacts: 'raven-*/docs/source/notebooks/*.ipynb', fingerprint: true)
archiveArtifacts(artifacts: 'esgf-compute-api-*/examples/*.ipynb', fingerprint: true)
archiveArtifacts(artifacts: 'PAVICS-landing-*/content/notebooks/climate_indicators/*.ipynb', fingerprint: true)
archiveArtifacts(artifacts: 'buildout/*.output.ipynb', fingerprint: true)
archiveArtifacts(artifacts: 'buildout/env-dump/', fingerprint: true)
}
unsuccessful { // Run if the current builds status is "Aborted", "Failure" or "Unstable"
step([$class: 'Mailer', notifyEveryUnstableBuild: false,
Expand Down

0 comments on commit 97350d3

Please sign in to comment.