From e737e24862748caef7c89aa49ea73e5e7d044a37 Mon Sep 17 00:00:00 2001 From: Alexandre Bique Date: Tue, 24 Sep 2024 21:49:04 +0200 Subject: [PATCH] Fix usage of params --- jenkins/build.groovy | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/jenkins/build.groovy b/jenkins/build.groovy index 6576263..ba1cfe7 100644 --- a/jenkins/build.groovy +++ b/jenkins/build.groovy @@ -55,10 +55,10 @@ pipeline { } steps { script { - if (CLEAN_BUILD) { + if (params.CLEAN_BUILD) { sh 'rm -rf builds' } - if (REBUILD_VCPKG) { + if (params.REBUILD_VCPKG) { sh 'rm -rf vcpkg/{installed,buildtree} ~/.cache/vcpkg' } } @@ -88,10 +88,10 @@ pipeline { } steps { script { - if (CLEAN_BUILD) { + if (params.CLEAN_BUILD) { sh 'rm -rf builds' } - if (REBUILD_VCPKG) { + if (params.REBUILD_VCPKG) { sh 'rm -rf vcpkg/{installed,buildtree} ~/.cache/vcpkg' } } @@ -121,10 +121,10 @@ pipeline { } steps { // script { - // if (CLEAN_BUILD) { + // if (params.CLEAN_BUILD) { // sh 'rm -rf builds' // } - // if (REBUILD_VCPKG) { + // if (params.REBUILD_VCPKG) { // sh 'rm -rf vcpkg/{installed,buildtree} ~/.cache/vcpkg' // } // }