Skip to content

Commit 1d6391f

Browse files
committed
test: use CI-friendly git path
1 parent 0ea761b commit 1d6391f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/io/weaviate/client6/v1/internal/BuildInfoTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ public void testBuildInfo() throws IOException {
2323

2424
/** Get current non-abbreviated Git commit hash. */
2525
private static String gitCommit() {
26-
return runCommand("git", "rev-parse", "HEAD");
26+
return runCommand("/usr/bin/git", "rev-parse", "HEAD");
2727
}
2828

2929
/** Get current git branch. */
3030
private static String gitBranch() {
31-
return runCommand("git", "branch", "--show-current");
31+
return runCommand("/usr/bin/git", "branch", "--show-current");
3232
}
3333

3434
/** Run shell command and return the output as multi-line string. */

0 commit comments

Comments
 (0)