From c1be93a1d51dbdcaccf8b42ab996efc6a06db674 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Wed, 10 Jan 2024 10:43:23 -0600 Subject: [PATCH] Back to Bash in HyperV --- .gitlab-ci-build.yml.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci-build.yml.in b/.gitlab-ci-build.yml.in index 354e05a..ccfd898 100644 --- a/.gitlab-ci-build.yml.in +++ b/.gitlab-ci-build.yml.in @@ -80,13 +80,12 @@ hyperv-iso.amd64: parallel: matrix: [] script: - - echo $env:COMMAND > build.ps1 - - echo 'if (-not $?) { throw "Error in build"}' >> build.ps1 - - pwsh.exe .\build.ps1 + - echo $COMMAND > build.sh + - bash build.sh || exit 1 after_script: |- - if ( "$CI_JOB_STATUS" -eq "success" ) { + if [ "$CI_JOB_STATUS" == "success" ]; then xonsh test.xsh - } + fi "Create release": stage: release