OpenSearch/distribution
Mark Vieira e287427a03
Don't pass OPENSHIFT_IP env variable when building old BWC branches (#50153)
This commit tweaks the workaround introduced in #49211 to support
Gradle 6.0. In the workaround, we specifically override the address
the Gradle daemon binds to by passing the desired address via the
OPENSHIFT_IP environment variable. This works fine for builds using
Gradle 6.0, but for older Gradle versions this causes issues with
inter-daemon communication, specifically when we build BWC branches
not on Gradle 6.0. The fix here is to strip that environment variable
out when building the target BWC branch if that branch is on an
older Gradle version.

This is all temporary and will be removed when this bug fix is released
in Gradle 6.1.

Closes #50025
2019-12-12 14:52:57 -08:00
..
archives Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
bwc Don't pass OPENSHIFT_IP env variable when building old BWC branches (#50153) 2019-12-12 14:52:57 -08:00
docker Fix task input for docker build (#49814) 2019-12-04 11:57:09 -08:00
licenses Add notice for bundled jdk (#40576) 2019-03-29 17:21:21 -04:00
packages Upgrade to Gradle 6.0 (#49211) (#49994) 2019-12-09 11:34:35 -08:00
src Remove parsed JVM settings from general settings (#49061) (#49170) 2019-11-15 11:53:28 -05:00
tools Disable thirdPartyAudit tests when running in a FIPS JVM (#49115) 2019-11-14 16:44:57 -08:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00