Skip to content

Commit fea36e3

Browse files
authored
attempts to fix git path in windows (#1290)
1 parent aa5d1c8 commit fea36e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ pipeline {
225225
label 'M1'
226226
}
227227
environment {
228-
PATH="/opt/homebrew/bin:/opt/homebrew/opt/openjdk/bin:/opt/homebrew/opt/icu4c/bin:/opt/homebrew/opt/icu4c/sbin:/usr/local/bin:${env.PATH}"
228+
PATH="/opt/homebrew/bin:/opt/homebrew/opt/openjdk/bin:/opt/homebrew/opt/icu4c/bin:/opt/homebrew/opt/icu4c/sbin:/usr/local/bin:${env.PATH}"
229229
PKG_CONFIG_PATH="/opt/homebrew/opt/icu4c/lib/pkgconfig"
230230
LDFLAGS="-L/opt/homebrew/opt/icu4c/lib"
231231
CPPFLAGS="-I/opt/homebrew/opt/icu4c/include"
@@ -385,7 +385,7 @@ EXIT /b 1
385385
bat 'hostname'
386386
writeFile file: "buildZip.sh", text: """#!/bin/sh
387387
set -x -e
388-
export PATH="/c/Program Files/TortoiseSVN/bin/:/c/bin/jdk/bin:/c/bin/nsis/:\$PATH:/c/bin/git/bin"
388+
export PATH="/c/Program Files/TortoiseSVN/bin/:/c/Program Files/Git/bin/:/c/bin/jdk/bin:/c/bin/nsis/:\$PATH:/c/bin/git/bin"
389389
cd "${env.WORKSPACE}/install/"
390390
zip -r "../OMSimulator-win64-`git describe --tags --abbrev=7 --match=v*.* --exclude=*-dev | sed \'s/-/.post/\'`.zip" *
391391
"""

0 commit comments

Comments
 (0)