From 4fadd072bdc18f1a798c3f97bddbe831a945dc15 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Tue, 28 Jul 2026 22:11:11 +0100 Subject: [PATCH] Fix path formatting for Bun installation in Jenkinsfile - 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. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e7d58c4..59d8bf5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}" } }