Skip to content

Commit

Permalink
remove path modification for windows
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <[email protected]>
  • Loading branch information
joshuali925 committed Jan 19, 2024
1 parent 7d268ed commit 73b1906
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build-tools/opensearchplugin-coverage.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ allprojects{
jacocoTestReport.dependsOn integTest

testClusters.integTest {
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
// Replacing build with absolute path to fix the error "error opening zip file or JAR manifest missing : /build/tmp/expandedArchives/..../jacocoagent.jar"
jvmArgs " ${dummyIntegTest.jacoco.getAsJvmArg()}".replace('build',"${buildDir}")
} else {
if (!Os.isFamily(Os.FAMILY_WINDOWS)) {
jvmArgs " ${dummyIntegTest.jacoco.getAsJvmArg()}".replace('javaagent:','javaagent:/')
}
systemProperty 'com.sun.management.jmxremote', "true"
Expand Down

0 comments on commit 73b1906

Please sign in to comment.