turn DEBUG off for Jenkinsfile by default

This commit is contained in:
2026-03-27 17:50:07 -05:00
parent fc61040607
commit 4092e0f215
2 changed files with 2 additions and 2 deletions
Vendored
+1 -1
View File
@@ -14,7 +14,7 @@ def withDockerCreds(body) {
pipeline { pipeline {
agent none agent none
environment { environment {
DEBUG = "1" DEBUG = "0"
HEADLESS = "1" HEADLESS = "1"
} }
options { buildDiscarder logRotator(numToKeepStr: '4') } options { buildDiscarder logRotator(numToKeepStr: '4') }
+1 -1
View File
@@ -78,7 +78,7 @@ export REPO_DIR="$(cd "$(dirname "${thisFile}")/.." && echo "$PWD")"
source "${REPO_DIR}/main.sh" || exit 1 source "${REPO_DIR}/main.sh" || exit 1
scr_name="$(bash_basename $0)" scr_name="$(bash_basename $0)"
cmd="${scr_name//.sh/}" cmd="${scr_name//.sh/}"
if [[ $DEBUG == 1 ]]; then set -x; fi [[ ${DEBUG} == 1 ]] && set -x
$cmd "$@"' >"${ENTRY_SCRIPT}" $cmd "$@"' >"${ENTRY_SCRIPT}"
chmod +x "${ENTRY_SCRIPT}" chmod +x "${ENTRY_SCRIPT}"
for funcName in "${FB_FUNC_NAMES[@]}"; do for funcName in "${FB_FUNC_NAMES[@]}"; do