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
I don't think you understand the Invoke-WebRequest function. Have a look at :
I am not too sure how to produce what you are doing with PowerShell.
You must be logged in to reply to this topic.