From 6acaaceaf40c6ad9ca8d9df88f29f8c2e372493e Mon Sep 17 00:00:00 2001 From: Long Vu Date: Wed, 31 May 2023 17:53:02 -0400 Subject: [PATCH] jenkins: add HydroShare client id and token for RavenPy HydroShare_integration.ipynb See https://github.com/Ouranosinc/jenkins-config/pull/15 and https://github.com/CSHS-CWRA/RavenPy/pull/287. --- Jenkinsfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 71cbe1c2..2d40515f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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} \