@@ -115,7 +115,7 @@ tasks.register("integrationTestCli") {
115115 buildReportsDirectory. mkdirs()
116116 final String hscScriptFileName = " ../htmlSanityCheck-cli/${ BUILD_DIRECTORY} /install/hsc/bin/hsc"
117117 String params = " -r ${ buildReportsDirectory} " +
118- " --exclude https://www.baeldung.com/.*" +
118+ " --exclude https://www\\ .baeldung\\ .com/.*" +
119119 " ${ INTEGRATION_TEST_DIRECTORY_COMMON_BUILD} /docs"
120120 if (System . getProperty(" os.name" ) ==~ / Windows.*/ ) {
121121 commandLine ' cmd' , ' /c' , " echo off && ${ hscScriptFileName.replace('/', '\\')} .bat ${ params} "
@@ -212,7 +212,7 @@ tasks.register("integrationTestDocker") {
212212 ' docker --version' . execute(). waitFor()
213213 }
214214 } catch (Exception e) {
215- logger. quiet(" Docker is not available - skipping Docker integration tests" )
215+ logger. quiet(" Docker is not available - skipping Docker integration tests" , e )
216216 return
217217 }
218218
@@ -226,7 +226,7 @@ tasks.register("integrationTestDocker") {
226226 String docsDir = file(" ${ INTEGRATION_TEST_DIRECTORY_COMMON_BUILD} /docs" ). absolutePath
227227 String reportsDir = buildReportsDirectory. absolutePath
228228
229- String params = " --rm -v \" ${ docsDir} :${ docsDir} \" -v \" ${ reportsDir} \" :/reports -w \" ${ docsDir} \" ${ image} -r /reports --exclude https://www.baeldung.com/.*"
229+ String params = " --rm -v \" ${ docsDir} :${ docsDir} \" -v \" ${ reportsDir} \" :/reports -w \" ${ docsDir} \" ${ image} -r /reports --exclude https://www\\ .baeldung\\ .com/.*"
230230 def result = exec {
231231 if (System . getProperty(" os.name" ) ==~ / Windows.*/ ) {
232232 // Use cmd to run docker on Windows
0 commit comments