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 88package org .elasticsearch .gradle .internal .docker ;
99
1010import org .elasticsearch .gradle .Architecture ;
11+ import org .elasticsearch .gradle .OS ;
1112import org .elasticsearch .gradle .Version ;
1213import org .elasticsearch .gradle .internal .info .BuildParams ;
1314import org .gradle .api .GradleException ;
@@ -200,6 +201,11 @@ private boolean isExcludedOs() {
200201 return false ;
201202 }
202203
204+ // Even if for some reason Docker exists on Windows agents, flag it as unsupported
205+ if (OS .current () == OS .WINDOWS ) {
206+ return true ;
207+ }
208+
203209 // Only some hosts in CI are configured with Docker. We attempt to work out the OS
204210 // and version, so that we know whether to expect to find Docker. We don't attempt
205211 // 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