Skip to content

Commit

Permalink
Fix usage of params
Browse files Browse the repository at this point in the history
  • Loading branch information
abique committed Sep 24, 2024
1 parent 1624052 commit e737e24
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions jenkins/build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
Expand Down Expand Up @@ -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'
}
}
Expand Down Expand Up @@ -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'
// }
// }
Expand Down

0 comments on commit e737e24

Please sign in to comment.