Skip to content

Commit

Permalink
jenkins: add HydroShare client id and token for RavenPy HydroShare_in…
Browse files Browse the repository at this point in the history
  • Loading branch information
tlvu committed May 31, 2023
1 parent 7e14b28 commit 6acaace
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,16 @@ Note this is another run, will double the time and no guaranty to have same erro
variable: 'ESGF_AUTH_TOKEN'), // Kept old env var name for backward compat
string(credentialsId: 'esgf_auth_token',
variable: 'COMPUTE_TOKEN'), // ESGF expect this env var name
// For RavenPy HydroShare_integration.ipynb once a token is really required.
// Not enable immediately to not force all existing Jenkins deployments
// to add theses new credentials.
// See required Jenkins config change
// https://github.com/Ouranosinc/jenkins-config/commit/c6b36cfb761b5093375225a121ef5ec04684e84b
// https://github.com/Ouranosinc/jenkins-config/pull/15
// string(credentialsId: 'hydroshare_auth_client_id',
// variable: 'HYDROSHARE_AUTH_CLIENT_ID'),
// string(credentialsId: 'hydroshare_auth_token',
// variable: 'HYDROSHARE_AUTH_TOKEN'),
]) {
sh("VERIFY_SSL=${params.VERIFY_SSL} \
SAVE_RESULTING_NOTEBOOK=${params.SAVE_RESULTING_NOTEBOOK} \
Expand Down

0 comments on commit 6acaace

Please sign in to comment.