Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quick fix for hybrid tests without git information. (#12080)
For some tests in CI/CD, we only need to download specific test files and do not need to clone the entire Git repository. As a result, we cannot retrieve the project root directory using Git commands. So we use the $WORKSPACE(always pointing to the root dir of the project) instead of the Git top-level path. To fix below error: ``` Downloading hybrid execution dependency jars... ++ git rev-parse --show-toplevel fatal: not a git repository (or any parent up to mount point /home/jenkins) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). + project_root= ++ mvn -f -B -q help:evaluate -Dexpression=spark-rapids-hybrid.version -DforceStdout POM file -B specified with the -f/--file command line argument does not exist ``` Signed-off-by: timl <[email protected]>
- Loading branch information