[JIRA] (JENKINS-61342) httprequest plugin: Systemproperties do not work

2 views
Skip to first unread message

leon.gregori@ibm.com (JIRA)

unread,
Mar 5, 2020, 5:51:13 AM3/5/20
to jenkinsc...@googlegroups.com
leon gregori created an issue
 
Jenkins / Bug JENKINS-61342
httprequest plugin: Systemproperties do not work
Issue Type: Bug Bug
Assignee: Janario Oliveira
Components: http-request-plugin
Created: 2020-03-05 10:50
Environment: http request plugin: 1.8.24
Jenkins: 2.204.2
Priority: Major Major
Reporter: leon gregori

Dear Jenkins Community,

im using httprequest plugin with systemproperties.
unfortunately, when using proxy from systemproperties, the request does not work.
When giving the proxy dedicated into httprequest dsl method, it works:

Works:

httpRequest httpProxy: 'http://192.105.124.55:8081', authentication: 'GitHubID', url: "https://raw.github.blabla.net/bl-abla/some/master/project/project.properties"

Does not work:

httpRequest authentication: 'GitHubID', 
responseHandle: 'NONE', url: "https://raw.github.blabla.net/bl-abla/some/master/project/project.properties" , useSystemProperties: true

The system properties are as follows and should fit to what is required:

http.proxyHost http://192.105.124.55:8081
http.proxyPort 8081
https.proxyHost http://192.105.124.55:8081
https.proxyPort 8081

However, with systemproperties it does not work:

11:34:49  [Pipeline] httpRequest
11:34:50  HttpMethod: GET
11:34:50  URL: https://raw.github.blabla.net/bl-abla/some/master/project/project.properties
11:34:50  Using authentication: GitHubID
11:34:50  Sending request to url: https://raw.github.blabla.net/bl-abla/some/master/project/project.properties
11:34:50  Treating UnknownHostException(http://192.105.124.55: Temporary failure in name resolution) as 404 Not Found

And with proxy it works:

11:34:49  [Pipeline] httpRequest
11:34:49  HttpMethod: GET
11:34:49  URL: https://raw.github.blabla.net/bl-abla/some/master/project/project.properties
11:34:49  Using authentication: GitHubID
11:34:49  Sending request to url: https://raw.github.blabla.net/bl-abla/some/master/project/project.properties
11:34:49  Response Code: HTTP/1.1 200 OK

Could you help here?
What am i doing wrong?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages