diff --git a/.github/workflows/test-java-os-mix.yml b/.github/workflows/test-java-os-mix.yml index af41cb72..5b2e92d4 100644 --- a/.github/workflows/test-java-os-mix.yml +++ b/.github/workflows/test-java-os-mix.yml @@ -45,7 +45,7 @@ jobs: distribution: temurin java-version: ${{ matrix.java-version }} - - name: Execute integration test (on Unixes) + - name: Execute integration test run: | cd integration-test/gradle-plugin uname -a diff --git a/build.gradle b/build.gradle index 8814fb9d..11d6d0f6 100644 --- a/build.gradle +++ b/build.gradle @@ -180,7 +180,7 @@ tasks.register("integrationTestCliOnly") { workingDir INTEGRATION_TEST_DIRECTORY_CLI file(BUILD_REPORTS_DIRECTORY).mkdirs() String hscScriptFileName = "../../htmlSanityCheck-cli/${Project.DEFAULT_BUILD_DIR_NAME}/install/hsc/bin/hsc" - commandLine System.getProperty("os.name") ==~ /Windows.*/ ? "${hscScriptFileName}.bat" : hscScriptFileName, + commandLine System.getProperty("os.name") ==~ /Windows.*/ ? "${hscScriptFileName.replace('/', '\\')}.bat" : hscScriptFileName, "-r", BUILD_REPORTS_DIRECTORY, "../common/src/test/resources" } logger.debug "Script output: ${result}"