From 16240520ef61e8235bf5deb36d839ed1ceb3dd1f Mon Sep 17 00:00:00 2001 From: Alexandre Bique Date: Tue, 24 Sep 2024 20:36:30 +0200 Subject: [PATCH] Add some powershell --- jenkins/build.groovy | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/jenkins/build.groovy b/jenkins/build.groovy index 80bc700..6576263 100644 --- a/jenkins/build.groovy +++ b/jenkins/build.groovy @@ -120,15 +120,17 @@ pipeline { timeout(time: 4, unit: 'HOURS') } steps { - script { - if (CLEAN_BUILD) { - sh 'rm -rf builds' - } - if (REBUILD_VCPKG) { - sh 'rm -rf vcpkg/{installed,buildtree} ~/.cache/vcpkg' - } - } - sh 'scripts/build-gui.sh' + // script { + // if (CLEAN_BUILD) { + // sh 'rm -rf builds' + // } + // if (REBUILD_VCPKG) { + // sh 'rm -rf vcpkg/{installed,buildtree} ~/.cache/vcpkg' + // } + // } + // sh 'scripts/build-gui.sh' + + powershell 'Powershell.exe -noexit -executionpolicy bypass -File ./scripts/build-gui.ps1' } post { always {