fix(ci): explicitly invoke bash in OneDev buildspec to ensure proper script execution

This commit is contained in:
Camille 2026-05-30 00:35:17 +02:00
parent 85de652fea
commit 130e47cf3f

View file

@ -46,9 +46,8 @@ jobs:
interpreter: interpreter:
type: DefaultInterpreter type: DefaultInterpreter
commands: | commands: |
set -e # OneDev exécute le script avec /bin/sh — lancer bash explicitement
set -o pipefail bash -eo pipefail <<'EOS'
bash ci/setup-toolchain.sh bash ci/setup-toolchain.sh
corepack enable corepack enable
@ -62,6 +61,7 @@ jobs:
pnpm exec nx run-many -t build --parallel=2 pnpm exec nx run-many -t build --parallel=2
pnpm exec nx run-many -t test --parallel=2 pnpm exec nx run-many -t test --parallel=2
EOS
condition: SUCCESSFUL condition: SUCCESSFUL
optional: false optional: false
- type: PublishJUnitReportStep - type: PublishJUnitReportStep