feat: [CI-18951]: check for HARNESS prefixed proxy variables

This commit is contained in:
Chirag S
2026-02-11 11:42:15 +05:30
parent 23887402c3
commit 5810bf8a5a
+7 -1
View File
@@ -605,7 +605,13 @@ func getProxyValue(key string) string {
return value
}
return os.Getenv(strings.ToUpper(key))
value = os.Getenv(strings.ToUpper(key))
if len(value) > 0 {
return value
}
return os.Getenv("HARNESS_" + strings.ToUpper(key))
}
// helper function that looks to see if a proxy value was set in the build args.