Timeout and abort Jenkins jobs after 90 minutes.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
Igor Mandrigin 2018-05-21 16:47:30 +02:00
parent 1aae1a9645
commit ff86ea7f95
No known key found for this signature in database
GPG Key ID: 4A0EDDE26E66BC8B
7 changed files with 569 additions and 554 deletions

2
Jenkinsfile vendored
View File

@ -14,6 +14,7 @@ def installJSDeps() {
}
}
timeout(90) {
node ('macos') {
def apkUrl = ''
def ipaUrl = ''
@ -128,3 +129,4 @@ node ('macos') {
throw e
}
}
}

View File

@ -2,6 +2,8 @@ env.LANG="en_US.UTF-8"
env.LANGUAGE="en_US.UTF-8"
env.LC_ALL="en_US.UTF-8"
timeout(90) {
node ('macos'){
stage('Git & Dependencies'){
@ -20,3 +22,4 @@ stage('Clean Testflight Users'){
sh ('bundle install')
sh ('bundle exec fastlane ios clean')}}
}
}

View File

@ -17,6 +17,7 @@ def installJSDeps() {
}
}
timeout(90) {
node ('macos'){
def apkUrl = ''
def ipaUrl = ''
@ -116,3 +117,4 @@ node ('macos'){
}
}
}
}

View File

@ -17,6 +17,7 @@ def installJSDeps() {
}
}
timeout(90) {
node ('macos'){
def apkUrl = ''
def ipaUrl = ''
@ -134,3 +135,4 @@ node ('macos'){
build job: 'end-to-end-tests/status-app-nightly', parameters: [string(name: 'apk', value: '--apk=' + apk_name)], wait: false
}
}
}

View File

@ -14,6 +14,7 @@ def installJSDeps() {
}
}
timeout(90) {
node ('macos') {
def apkUrl = ''
def ipaUrl = ''
@ -123,3 +124,4 @@ node ('macos') {
throw e
}
}
}

View File

@ -17,6 +17,7 @@ def installJSDeps() {
}
}
timeout(90) {
node ('macos'){
def apkUrl = ''
def ipaUrl = ''
@ -118,3 +119,4 @@ node ('macos'){
slackSend color: c, message: 'Release build \nTests: ' + (testPassed ? ':+1:' : ':-1:') + ')\nAndroid: ' + apkUrl + '\n iOS: ' + ipaUrl
}
}
}

View File

@ -17,6 +17,7 @@ def installJSDeps() {
}
}
timeout(90) {
node ('macos'){
def apkUrl = ''
def ipaUrl = ''
@ -101,3 +102,4 @@ node ('macos'){
slackSend color: 'good', message: 'Release build ' + version + ' succesfully aploade to iTC/Play Market'
}
}
}