From c1bc88d971ab1c9c668a5e32c0555103bc20f3da Mon Sep 17 00:00:00 2001 From: Eiden Yoshida <47196116+eidenyoshida@users.noreply.github.com> Date: Fri, 16 Feb 2024 17:06:23 -0700 Subject: [PATCH] CI: Exit on error (#229) Co-authored-by: Kiriti Gowda [ROCm/rocdecode commit: 863c3b70f7a4d80ed754421969b4f0be5b667932] --- projects/rocdecode/.jenkins/common.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/rocdecode/.jenkins/common.groovy b/projects/rocdecode/.jenkins/common.groovy index e8f9f73217..03a81fa2c5 100644 --- a/projects/rocdecode/.jenkins/common.groovy +++ b/projects/rocdecode/.jenkins/common.groovy @@ -8,7 +8,7 @@ def runCompileCommand(platform, project, jobName, boolean debug=false, boolean s String buildTypeDir = debug ? 'debug' : 'release' def command = """#!/usr/bin/env bash - set -x + set -ex echo Build rocDecode - ${buildTypeDir} cd ${project.paths.project_build_prefix} mkdir -p build/${buildTypeDir} && cd build/${buildTypeDir} @@ -34,7 +34,7 @@ def runTestCommand (platform, project) { } def command = """#!/usr/bin/env bash - set -x + set -ex export HOME=/home/jenkins echo make test cd ${project.paths.project_build_prefix}/build/release @@ -111,7 +111,7 @@ def runPackageCommand(platform, project) { } def command = """#!/usr/bin/env bash - set -x + set -ex export HOME=/home/jenkins echo Make rocDecode Package cd ${project.paths.project_build_prefix}/build/release