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