Refine Bun installation script in Jenkinsfile
Some checks reported errors
farmcontrol/farmcontrol-server/pipeline/head Something is wrong with the build of this commit
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:
parent
4fadd072bd
commit
0b1530a405
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user