This extension provides build tasks to manage and deploy WAR and EAR file to JBoss Enterprise Application Platform (EAP) 7 or WildFly 8 and above.
This extension installs the following components:
- A service endpoint for connecting to JBoss EAP 7 and WildFly 8 and above.
- A build task to run commands over HTTP management endpoint.
- A build task to deploy your WAR and EAR files to JBoss EAP 7 and WildFly 8 and above.
- Make sure the application server's management http interface is exposed and can be reached over the network.
- Skip this step if you are on Team Foundation Server 2015 and enter the credentials directly on the task.
-
Open the Services page in your Visual Studio Team Services Control Panel
-
In the New Service Endpoint list, choose "JBoss and WildFly"
-
Create a "JBoss and WildFly" Service Endpoint and specify your JBoss EAP 7 or WildFly 8+ management URL, username and password.
-
Open your build definition and add the "JBoss EAP / WildFly Management CLI" task. The task can be found in the "Utility" section.
-
Select the "JBoss and WildFly" service endpoint you created previously, or enter the credentials.
-
Enter commands to be executed, one command per line.
-
Open your build definition and add the "JBoss EAP / WildFly Deployer CLI" task. The task can be found in the "Deploy" section.
-
Select the "JBoss and WildFly" service endpoint you created previously, or enter the credentials.
-
Enter the file to be deployed (a wildcard is allowed but it must resolve to exactly one file).
-
Select and enter other optional fields. Hover over the info icon at the end of each field for additional help.
Please refer to this guide.
For detailed instructions on setting up a build definition, check out this guide.
Check out this guide for an overview of extensions of Visual Studio Team Services.
For detailed instructions on how to get and install extensions, check out this guide
Microsoft Azure provides pre-configured WildFly images. Create your free Azure account if you do not have an Azure account.
The code is open sourced under the MIT license. We love and encourage community contributions.