Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Increased Timeout for Build

  • Loading branch information
Sharath Ganesh Pai authored and mahmoud-adam85 committed May 11, 2018
1 parent 86bec93 commit 747d760aa6f95af649caf18f369ef8f65c559264
Showing with 5 additions and 6 deletions.
  1. +5 −6 Jenkinsfile
@@ -34,7 +34,7 @@ node('mac-mini-ios') {
end
'''

def jobStatus = ""
def jobStatus = 'FAIL'

vagrant.inside(
'Vagrantfile',
@@ -73,10 +73,8 @@ node('mac-mini-ios') {
sh '''#!/bin/bash -l
set -e
set -x
if [ "$1" == "--force" ]; then
rm -rf Carthage/*
rm -rf ~/Library/Caches/org.carthage.CarthageKit
fi
rm -rf Carthage/*
rm -rf ~/Library/Caches/org.carthage.CarthageKit
CARTHAGE_VERBOSE=""
if [ ! -z "$XCS_BOT_ID" ]; then
CARTHAGE_VERBOSE="--verbose"
@@ -89,7 +87,7 @@ node('mac-mini-ios') {
'''
}
stage('Build') {
timeout(20) {
timeout(60) {
sh '''#!/bin/bash -l
set -e
xcodebuild \
@@ -123,6 +121,7 @@ node('mac-mini-ios') {
}
}
}
jobStatus = 'PASS'
}
catch(all) {
jobStatus = 'FAIL'

0 comments on commit 747d760

Please sign in to comment.