diff --git a/ci/Jenkinsfile.linux b/ci/Jenkinsfile.linux index d0d5b7b16d..b341ab5c55 100644 --- a/ci/Jenkinsfile.linux +++ b/ci/Jenkinsfile.linux @@ -52,7 +52,14 @@ pipeline { } stage('Client') { - steps { sh 'make nim_status_client' } + steps { + withCredentials([string( + credentialsId: utils.getInfuraTokenCred(), + variable: 'INFURA_TOKEN' + )]) { + sh 'make nim_status_client' + } + } } stage('Package') { diff --git a/ci/Jenkinsfile.macos b/ci/Jenkinsfile.macos index 3286b6ccb1..38cc2c05a6 100644 --- a/ci/Jenkinsfile.macos +++ b/ci/Jenkinsfile.macos @@ -48,7 +48,14 @@ pipeline { } stage('Client') { - steps { sh 'make nim_status_client' } + steps { + withCredentials([string( + credentialsId: utils.getInfuraTokenCred(), + variable: 'INFURA_TOKEN' + )]) { + sh 'make nim_status_client' + } + } } stage('Package') { steps { diff --git a/ci/Jenkinsfile.windows b/ci/Jenkinsfile.windows index 23cec6988e..3c171eca08 100644 --- a/ci/Jenkinsfile.windows +++ b/ci/Jenkinsfile.windows @@ -58,7 +58,14 @@ pipeline { } stage('Package') { - steps { sh "make ${env.STATUS_CLIENT_ZIP}" } + steps { + withCredentials([string( + credentialsId: utils.getInfuraTokenCred(), + variable: 'INFURA_TOKEN' + )]) { + sh "make ${env.STATUS_CLIENT_ZIP}" + } + } } stage('Parallel Upload') {