ci: retry nim_status_client build 3 times
This is a temporary stop-gap fix for a known linux build issue: https://github.com/status-im/infra-ci/issues/88 Since currently this issue is very hard to reproduce and there is no good solution in sight this should minimize the pain caused by it. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
1eeb1a34f9
commit
a5ba253730
|
@ -35,7 +35,7 @@ pipeline {
|
|||
options {
|
||||
timestamps()
|
||||
/* Prevent Jenkins jobs from running forever */
|
||||
timeout(time: 20, unit: 'MINUTES')
|
||||
timeout(time: 25, unit: 'MINUTES')
|
||||
/* manage how many builds we keep */
|
||||
buildDiscarder(logRotator(
|
||||
numToKeepStr: '10',
|
||||
|
@ -78,6 +78,16 @@ pipeline {
|
|||
}
|
||||
}
|
||||
|
||||
stage('Client') {
|
||||
steps { script {
|
||||
/* Temporary hack-fix for failing Linux builds:
|
||||
* https://github.com/status-im/infra-ci/issues/88 */
|
||||
timeout(10) { retry(10) {
|
||||
sh 'make nim_status_client'
|
||||
} }
|
||||
} }
|
||||
}
|
||||
|
||||
stage('Package') {
|
||||
steps { script {
|
||||
linux.bundle('tgz-linux')
|
||||
|
|
|
@ -93,13 +93,17 @@ pipeline {
|
|||
}
|
||||
}
|
||||
|
||||
stage('build') {
|
||||
stage('Client') {
|
||||
environment {
|
||||
GANACHE_NETWORK_RPC_URL = "http://localhost:${env.GANACHE_RPC_PORT}"
|
||||
}
|
||||
steps {
|
||||
sh 'make'
|
||||
}
|
||||
steps { script {
|
||||
/* Temporary hack-fix for failing Linux builds:
|
||||
* https://github.com/status-im/infra-ci/issues/88 */
|
||||
timeout(10) { retry(10) {
|
||||
sh 'make nim_status_client'
|
||||
} }
|
||||
} }
|
||||
}
|
||||
|
||||
stage('Containers') {
|
||||
|
|
Loading…
Reference in New Issue