Author Posts

May 11, 2016 at 10:08 pm

I am trying to upload files from Jenkins workspace to Nexus URL. Below is the Powershell script. but when I execute this below is the error message.One problem with my attempt is that Invoke-WebRequest doesn't have a parameter –upload-file. I need to read the content of the file and then send it via the request.I am not aware of this. If any one aware of any site please update here so that I can read it and update my script

May 11, 2016 at 11:07 pm

HI Kalyan,

I don't think you understand the Invoke-WebRequest function. Have a look at :

TechNet Invoke-WebRequest

I am not too sure how to produce what you are doing with PowerShell.