File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ tasks.register("integrationTestOnly") {
354354 dependsOn(
355355 ' :publishAllPublicationsToMyLocalRepositoryForFullIntegrationTestsRepository' ,
356356 ' :htmlSanityCheck-cli:installDist' ,
357- ' :htmlSanityCheck-cli:dockerBuild '
357+ ' :htmlSanityCheck-cli:dockerBuildLocal '
358358 )
359359
360360 doLast {
Original file line number Diff line number Diff line change @@ -56,6 +56,13 @@ docker {
5656 applyLatestTag = false
5757}
5858
59+ tasks. register(' dockerBuildLocal' , com.fussionlabs.gradle.docker.tasks.DockerBuildx ) {
60+ loadImage = true
61+ pushImage = false
62+
63+ dependsOn shadowJar
64+ }
65+
5966/*
6067 * Copyright Gerd Aschemann and aim42 contributors.
6168 *
Original file line number Diff line number Diff line change @@ -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/.* --fail-on-errors "
230230 def result = exec {
231231 if (System . getProperty(" os.name" ) ==~ / Windows.*/ ) {
232232 // Use cmd to run docker on Windows
You can’t perform that action at this time.
0 commit comments