How to upload files from Azure Pipeline published artifact to remote WAS Server using Azure releases?

291 Views Asked by At

I have a pipeline, on successful running it will publish an .ear file as an artifact, which can be downloaded.

I am manually downloading it and then upload it to a folder in a remotely hosted WAS server to deploy. WAS Server is shared an I have only access to upload files into one of the subfolders.

WAS Server needs to be accessed by username and a password and its details are like:

IP: https://sample.domain.net
Port: 3442
Subfolder with write premission: dropzone/Sample1/Sample2/Sample

These are all the information available. I want to automate this process.

How can I copy the file directly from the published pipeline artifact to WAS server dropzone, using Azure releases?

1

There are 1 best solutions below

0
Bright Ran-MSFT On

In your Azure DevOps organization, you can install and use the IBM WebSphere Application Server extension provided by Microsoft.

This extension provides a pipeline task "IBM WebSphere Deployment" that can allow you to automate deploy your application to IBM WebSphere Application Servers (WAS).

This task provides two methods to connect with WAS Server:

enter image description here

  • If you select "Service Endpoint Connection", you need to go to Project Settings > Service connections > New service connection, create an IBM WebSphere service connection for use.

    enter image description here

  • If you select "Enter Connection Details", you can directly provide the Username, Password and Host Address on the task.

    enter image description here