File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 3737 inputs :
3838 gradleWrapperFile : ' gradlew'
3939 jdkVersionOption : ' 1.11'
40- options : ' --continue -x testcontainers:check -x jdbc-test:check'
40+ options : ' --continue -x testcontainers:check -x jdbc-test:check -PpostCheckCommand="docker image prune -af" '
4141 tasks : ' check'
4242 publishJUnitResults : true
4343 testResultsFiles : ' **/TEST-*.xml'
44-
45-
Original file line number Diff line number Diff line change @@ -71,6 +71,17 @@ subprojects {
7171 // Ensure that Javadoc generation is always tested
7272 check. dependsOn(javadoc)
7373
74+ def postCheckCommand = properties[" postCheckCommand" ]
75+ if (postCheckCommand) {
76+ check. finalizedBy(tasks. create(" postCheckExec" , Exec ) {
77+ if (org.gradle.internal.os.OperatingSystem . current(). isWindows()) {
78+ commandLine(' cmd' , ' /c' , postCheckCommand)
79+ } else {
80+ commandLine(' sh' , ' -c' , postCheckCommand)
81+ }
82+ })
83+ }
84+
7485 javadoc {
7586 dependsOn delombok
7687 source = delombok. outputs
You can’t perform that action at this time.
0 commit comments