File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 8
8
package org .elasticsearch .gradle .internal .docker ;
9
9
10
10
import org .elasticsearch .gradle .Architecture ;
11
+ import org .elasticsearch .gradle .OS ;
11
12
import org .elasticsearch .gradle .Version ;
12
13
import org .elasticsearch .gradle .internal .info .BuildParams ;
13
14
import org .gradle .api .GradleException ;
@@ -211,6 +212,11 @@ private boolean isExcludedOs() {
211
212
return false ;
212
213
}
213
214
215
+ // Even if for some reason Docker exists on Windows agents, flag it as unsupported
216
+ if (OS .current () == OS .WINDOWS ) {
217
+ return true ;
218
+ }
219
+
214
220
// Only some hosts in CI are configured with Docker. We attempt to work out the OS
215
221
// and version, so that we know whether to expect to find Docker. We don't attempt
216
222
// to probe for whether Docker is available, because that doesn't tell us whether
You can’t perform that action at this time.
0 commit comments