535697: Remove proxy check during CI build
Currently the Virgo build checks that a proxy is configured.
Since April 2017 the proxy is no longer required to access the internet
@see https://wiki.eclipse.org/Jenkins#Proxies
This commit removes the proxy check.
diff --git a/build.gradle b/build.gradle
index 4f6195f..5104c86 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,19 +3,6 @@
apply plugin: virgobuild.VirgoToolsPlugin
-if (System.properties['eclipse.build'] == 'true') {
- // https://gradle.org/docs/current/userguide/build_environment.html
- // https://wiki.eclipse.org/Hudson#Why_use_a_Proxy.3F
- println "Checking that proxy properties are set before proceeding..."
- if (!System.properties['http.proxyHost'] && !System.properties['http.proxyPort']) {
- throw new StopActionException("Properties 'http.proxyHost' and 'http.proxyPort' are both not set.")
- }
- println 'http.proxyHost = ' + System.properties['http.proxyHost']
- println 'http.proxyPort = ' + System.properties['http.proxyPort']
- println 'http.nonProxyHosts = ' + System.properties['http.nonProxyHosts']
- println 'Done.'
-}
-
buildscript {
repositories {
mavenLocal()