mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 02:26:18 +00:00
Slave to Agent renaming - Javadocs and logs
This commit is contained in:
1 parent
079755c52e
commit
320e6c0702
77 files changed
+268
-268
No files matched your search
@@ -215,7 +215,7 @@ public final class ProxyConfiguration extends AbstractDescribableImpl<ProxyConfi
|
||||
* This method should be used wherever {@link URL#openConnection()} to internet URLs is invoked directly.
|
||||
*/
|
||||
public static URLConnection open(URL url) throws IOException {
|
||||
Jenkins h = Jenkins.getInstance(); // this code might run on slaves
|
||||
Jenkins h = Jenkins.getInstance(); // this code might run on agents
|
||||
ProxyConfiguration p = h!=null ? h.proxy : null;
|
||||
if(p==null)
|
||||
return url.openConnection();
|
||||
@@ -241,7 +241,7 @@ public final class ProxyConfiguration extends AbstractDescribableImpl<ProxyConfi
|
||||
}
|
||||
|
||||
public static InputStream getInputStream(URL url) throws IOException {
|
||||
Jenkins h = Jenkins.getInstance(); // this code might run on slaves
|
||||
Jenkins h = Jenkins.getInstance(); // this code might run on agents
|
||||
final ProxyConfiguration p = (h != null) ? h.proxy : null;
|
||||
if (p == null)
|
||||
return new RetryableHttpStream(url);
|
||||
|
||||
Reference in new issue
Block a user