Add exclude list to image/chart uplift

Change-Id: Ic2422f025e27b3dab1ee6fe126252c3ce69b8299
This commit is contained in:
Kaspars Skels 2018-10-23 19:56:16 -05:00
parent 61940c210c
commit 02fc267861
1 changed files with 7 additions and 1 deletions

View File

@ -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'
}
}