Refine Bun installation script in Jenkinsfile
Some checks reported errors
farmcontrol/farmcontrol-server/pipeline/head Something is wrong with the build of this commit

- Simplified the error handling in the Bun installation script by removing the 'pipefail' option.
- Ensured the script remains robust while maintaining compatibility across Unix environments.
This commit is contained in:
Tom Butcher 2026-07-28 22:12:31 +01:00
parent 4fadd072bd
commit 0b1530a405

2
Jenkinsfile vendored
View File

@ -5,7 +5,7 @@ properties([
def ensureBunInstalled() {
if (isUnix()) {
sh '''
set -euo pipefail
set -eu
export BUN_INSTALL="${HOME}/.bun"
export PATH="${BUN_INSTALL}/bin:${PATH}"
if ! command -v bun >/dev/null 2>&1; then