-
Bug
-
Resolution: Fixed
-
Minor
-
None
I've been using the fileDownloadOperation step recently which has been working well. Had need to download a file from our local Nexus installation and it failed without error.
Switched the URL to download a file from the JBoss Nexus installation and it still failed.
Checking the response headers Nexus does issue additional ones concerning XSS however I did not debug fully. It would seem sensible to record what the fault is, at the very least.
Workaround: Use the httpRequest plugin (https://jenkins.io/doc/pipeline/steps/http_request/) within a step as follows:
httpRequest url: 'http://nexus.mycompany.com:8081/nexus/service/local/repositories/thirdparty/content/com/oracle/jre/8u131-windows/jre-8u131-windows-i586.tar.gz', responseHandle: 'NONE', outputFile: 'download.tar.gz'
[JENKINS-44007] File Operations Plugin: Cannot download from Nexus, other web servers are fine
Description |
Original:
I've been using the fileDownloadOperation step recently which has been working well. Had need to download a file from our local Nexus installation and it failed without error. Switched the URL to download a file from the JBoss Nexus installation and it still failed. Checking the response headers Nexus does issue additional ones concerning XSS however I did not debug fully. It would seem sensible to record what the fault is, at the very least. |
New:
I've been using the fileDownloadOperation step recently which has been working well. Had need to download a file from our local Nexus installation and it failed without error. Switched the URL to download a file from the JBoss Nexus installation and it still failed. Checking the response headers Nexus does issue additional ones concerning XSS however I did not debug fully. It would seem sensible to record what the fault is, at the very least. Workaround: Use the httpRequest plugin ([https://jenkins.io/doc/pipeline/steps/http_request/)] within a {{step}} as follows: httpRequest url: 'http://nexus.mycompany.com:8081/nexus/service/local/repositories/thirdparty/content/com/oracle/jre/8u131-windows/jre-8u131-windows-i586.tar.gz', responseHandle: 'NONE', outputFile: 'download.tar.gz' |
Description |
Original:
I've been using the fileDownloadOperation step recently which has been working well. Had need to download a file from our local Nexus installation and it failed without error. Switched the URL to download a file from the JBoss Nexus installation and it still failed. Checking the response headers Nexus does issue additional ones concerning XSS however I did not debug fully. It would seem sensible to record what the fault is, at the very least. Workaround: Use the httpRequest plugin ([https://jenkins.io/doc/pipeline/steps/http_request/)] within a {{step}} as follows: httpRequest url: 'http://nexus.mycompany.com:8081/nexus/service/local/repositories/thirdparty/content/com/oracle/jre/8u131-windows/jre-8u131-windows-i586.tar.gz', responseHandle: 'NONE', outputFile: 'download.tar.gz' |
New:
I've been using the fileDownloadOperation step recently which has been working well. Had need to download a file from our local Nexus installation and it failed without error. Switched the URL to download a file from the JBoss Nexus installation and it still failed. Checking the response headers Nexus does issue additional ones concerning XSS however I did not debug fully. It would seem sensible to record what the fault is, at the very least. Workaround: Use the httpRequest plugin ([https://jenkins.io/doc/pipeline/steps/http_request/)] within a {{step}} as follows: {code:java} httpRequest url: 'http://nexus.mycompany.com:8081/nexus/service/local/repositories/thirdparty/content/com/oracle/jre/8u131-windows/jre-8u131-windows-i586.tar.gz', responseHandle: 'NONE', outputFile: 'download.tar.gz'{code} |
Component/s | New: file-operations-plugin [ 22428 ] | |
Component/s | Original: plugin-proposals [ 15491 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Assignee | New: Suresh Kumar [ pskumar448 ] |
Hi jmkgreen
According to the issue raised in Jenkins-Users list group, and fixed that issue & released too.
https://groups.google.com/forum/#!topic/jenkinsci-users/FJMAI1eEE1A
As I rarely go through the Jenkins Users list didn't reverted back immediately.
The fix available in 1.6 version, verify and let me know.
-Suresh