Skip to content

Commit

Permalink
attempts to fix git path in windows (#1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
arun3688 committed Mar 22, 2024
1 parent aa5d1c8 commit fea36e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ pipeline {
label 'M1'
}
environment {
PATH="/opt/homebrew/bin:/opt/homebrew/opt/openjdk/bin:/opt/homebrew/opt/icu4c/bin:/opt/homebrew/opt/icu4c/sbin:/usr/local/bin:${env.PATH}"
PATH="/opt/homebrew/bin:/opt/homebrew/opt/openjdk/bin:/opt/homebrew/opt/icu4c/bin:/opt/homebrew/opt/icu4c/sbin:/usr/local/bin:${env.PATH}"
PKG_CONFIG_PATH="/opt/homebrew/opt/icu4c/lib/pkgconfig"
LDFLAGS="-L/opt/homebrew/opt/icu4c/lib"
CPPFLAGS="-I/opt/homebrew/opt/icu4c/include"
Expand Down Expand Up @@ -385,7 +385,7 @@ EXIT /b 1
bat 'hostname'
writeFile file: "buildZip.sh", text: """#!/bin/sh
set -x -e
export PATH="/c/Program Files/TortoiseSVN/bin/:/c/bin/jdk/bin:/c/bin/nsis/:\$PATH:/c/bin/git/bin"
export PATH="/c/Program Files/TortoiseSVN/bin/:/c/Program Files/Git/bin/:/c/bin/jdk/bin:/c/bin/nsis/:\$PATH:/c/bin/git/bin"
cd "${env.WORKSPACE}/install/"
zip -r "../OMSimulator-win64-`git describe --tags --abbrev=7 --match=v*.* --exclude=*-dev | sed \'s/-/.post/\'`.zip" *
"""
Expand Down

0 comments on commit fea36e3

Please sign in to comment.