Skip to content

Commit

Permalink
Add some powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
abique committed Sep 24, 2024
1 parent e798b60 commit 1624052
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions jenkins/build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1624052

Please sign in to comment.