ci: provide INFURA_TOKEN to builds

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-10-29 19:26:16 +01:00 committed by Iuri Matias
parent c43f6baaa8
commit 4f81032f5e
3 changed files with 24 additions and 3 deletions

View File

@ -52,7 +52,14 @@ pipeline {
} }
stage('Client') { stage('Client') {
steps { sh 'make nim_status_client' } steps {
withCredentials([string(
credentialsId: utils.getInfuraTokenCred(),
variable: 'INFURA_TOKEN'
)]) {
sh 'make nim_status_client'
}
}
} }
stage('Package') { stage('Package') {

View File

@ -48,7 +48,14 @@ pipeline {
} }
stage('Client') { 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 { stage('Package') { steps {

View File

@ -58,7 +58,14 @@ pipeline {
} }
stage('Package') { 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') { stage('Parallel Upload') {