From 02fc267861c0a12357e7efb87637a2af7b2e3348 Mon Sep 17 00:00:00 2001 From: Kaspars Skels Date: Tue, 23 Oct 2018 19:56:16 -0500 Subject: [PATCH] Add exclude list to image/chart uplift Change-Id: Ic2422f025e27b3dab1ee6fe126252c3ce69b8299 --- tools/gate/Jenkinsfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/gate/Jenkinsfile b/tools/gate/Jenkinsfile index 91d7c5943..7bf9de383 100644 --- a/tools/gate/Jenkinsfile +++ b/tools/gate/Jenkinsfile @@ -239,7 +239,13 @@ def uplift_versions = { stage('Uplift Versions') { sh 'sudo apt-get install python3-yaml python3-git -y' - sh 'tools/updater.py --in-file global/software/config/versions.yaml' + def cmd = 'tools/updater.py --in-file global/software/config/versions.yaml' + + if (!UPLIFT_BLACKLIST.isEmpty()) { + cmd += " --skip ${UPLIFT_BLACKLIST}" + } + + sh cmd sh 'git diff' } }