Add overall timeout for the AR pipeline #7261

monroegm-disable-blank-issue-2
Brian Herrera 4 years ago committed by GitHub
commit 31f39930af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,6 +12,9 @@ INCREMENTAL_BUILD_SCRIPT_PATH = 'scripts/build/bootstrap/incremental_build_util.
EBS_SNAPSHOT_SCRIPT_PATH = 'scripts/build/tools/ebs_snapshot.py'
PIPELINE_RETRY_ATTEMPTS = 3
// Number of minutes of inactivity in all stages of the pipeline to reach the timeout
PIPELINE_TIMEOUT = 60
EMPTY_JSON = readJSON text: '{}'
ENGINE_REPOSITORY_NAME = 'o3de'
@ -753,6 +756,7 @@ def pipelineConfig = {}
// Start Pipeline
try {
timeout(time: PIPELINE_TIMEOUT, unit: 'MINUTES', activity: true) {
stage('Setup Pipeline') {
node('controller') {
def envVarList = []
@ -891,6 +895,7 @@ try {
if (!someBuildHappened) {
currentBuild.result = 'NOT_BUILT'
}
}
}
catch(Exception e) {
error "Exception: ${e}"

Loading…
Cancel
Save