Fix path formatting for Bun installation in Jenkinsfile
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Updated the path separator from backslashes to forward slashes for consistency across environments. - Ensured the PATH variable is correctly set for Bun installation on Windows systems.
This commit is contained in:
parent
ef4f440db4
commit
4fadd072bd
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -17,10 +17,10 @@ def ensureBunInstalled() {
|
||||
} else {
|
||||
bat '''
|
||||
where bun >nul 2>nul || powershell -c "irm bun.sh/install.ps1 | iex"
|
||||
set PATH=%USERPROFILE%\.bun\bin;%PATH%
|
||||
set PATH=%USERPROFILE%/.bun/bin;%PATH%
|
||||
bun -v
|
||||
'''
|
||||
env.PATH = "${env.USERPROFILE}\\.bun\\bin;${env.PATH}"
|
||||
env.PATH = "${env.USERPROFILE}/.bun/bin;${env.PATH}"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user