We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bf0fee commit a24bf40Copy full SHA for a24bf40
1 file changed
integration-test/build.gradle
@@ -203,6 +203,17 @@ tasks.register("integrationTestDocker") {
203
mustRunAfter(cleanIntegrationTestDocker)
204
205
doLast {
206
+ try {
207
+ if (System.getProperty("os.name") ==~ /Windows.*/) {
208
+ 'cmd /c "docker --version"'.execute().waitFor()
209
+ } else {
210
+ 'docker --version'.execute().waitFor()
211
+ }
212
+ } catch (Exception e) {
213
+ logger.quiet("Docker is not available - skipping Docker integration tests")
214
+ return
215
216
+
217
buildReportsDirectory.mkdirs()
218
// Compute the image tag exactly as in the CLI module: use branch name tag
219
String currentBranch = "${'git branch --show-current'.execute().text.trim()}"
0 commit comments