New Jenkins parameter: SHELL_XTRACE

Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: Ic9c5756d3a4d0aaf103133f831c33a5d44d5efe7
This commit is contained in:
Davlet Panech 2022-09-02 14:55:58 -04:00
parent 8014360154
commit 6a038b4871
25 changed files with 75 additions and 0 deletions

View File

@ -152,6 +152,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
booleanParam (
name: 'CLEAN_PACKAGES'
)

View File

@ -37,6 +37,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
}
stages {

View File

@ -34,6 +34,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
booleanParam (
name: 'PUSH_DOCKER_IMAGES',
)

View File

@ -34,6 +34,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
booleanParam (
name: 'PUSH_DOCKER_IMAGES',
)

View File

@ -34,6 +34,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
}
stages {
stage ("build-export-dir") {

View File

@ -34,6 +34,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
}
stages {
stage ("build-helm-charts") {

View File

@ -37,6 +37,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
booleanParam (
name: 'BUILD_ISO'
)

View File

@ -37,6 +37,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
booleanParam (
name: 'BUILD_PACKAGES'
)

View File

@ -37,6 +37,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
booleanParam (
name: 'USE_DOCKER_CACHE',
)

View File

@ -37,6 +37,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
string (
name: 'BUILD_PACKAGES_LIST'
)

View File

@ -37,6 +37,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
string (
name: 'REFRESH_SOURCE'
)

View File

@ -34,6 +34,9 @@ pipeline {
string (
name: 'PUBLISH_TIMESTAMP'
)
booleanParam (
name: 'SHELL_XTRACE'
)
}
stages {
stage ("configure-build") {

View File

@ -34,6 +34,9 @@ pipeline {
string (
name: 'PUBLISH_TIMESTAMP'
)
booleanParam (
name: 'SHELL_XTRACE'
)
booleanParam (
name: 'FORCE_BUILD'
)

View File

@ -34,6 +34,9 @@ pipeline {
string (
name: 'PUBLISH_TIMESTAMP'
)
booleanParam (
name: 'SHELL_XTRACE'
)
booleanParam (
name: 'PUSH_DOCKER_IMAGES'
)

View File

@ -37,6 +37,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
booleanParam (
name: 'BUILD_RT'
)

View File

@ -35,6 +35,9 @@ pipeline {
string (
name: 'PUBLISH_TIMESTAMP'
)
booleanParam (
name: 'SHELL_XTRACE'
)
}
stages {
stage ("init-env") {

View File

@ -37,6 +37,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
string (
name: 'BUILD_STREAM'
)

View File

@ -37,6 +37,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
}
stages {
stage ("publish-helm-charts") {

View File

@ -37,6 +37,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
booleanParam (
name: 'BUILD_RT'
)

View File

@ -37,6 +37,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
}
stages {
stage ("archive-jenkins-logs") {

View File

@ -37,6 +37,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
booleanParam (
name: 'BUILD_RT'
)

View File

@ -37,6 +37,9 @@ pipeline {
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
string (
name: 'BUILD_STREAM'
)

View File

@ -34,6 +34,9 @@ pipeline {
string (
name: 'PUBLISH_TIMESTAMP'
)
booleanParam (
name: 'SHELL_XTRACE'
)
booleanParam (
name: 'REBUILD_BUILDER_IMAGES'
)

View File

@ -34,6 +34,9 @@ pipeline {
string (
name: 'PUBLISH_TIMESTAMP'
)
booleanParam (
name: 'SHELL_XTRACE'
)
}
stages {
stage ("stop-containers") {

View File

@ -750,3 +750,6 @@ __print_deb_release() {
__print_deb_release_checksums "SHA512" "sha512sum" || return 1
}
if [[ "${SHELL_XTRACE,,}" == "true" || "${SHELL_XTRACE}" == "1" ]] ; then
set -x
fi