How can I deploy a war file in jboss with jenkins?


I am trying to automate the deployment to a Jboss AS 7.4 server with the mavens jboss-as plugin, my situation is that I am given the application's war file in a specific directory and I need jenkins to take that war and I deploy it on the jboss server, the plugin is not definitive, in fact any solution is good as long as it can be carried out with jenkins, so far this is what I have:

I have my pom.xml file

<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">
<description>uses the pom to deploy to Jboss AS 7 with jenkins</description>

when executing it, it makes a deployment to the jboss server but of the war that generates the pom not of the file that I need.

Thank you very much for the help!

asked by iktuz 05.01.2018 в 00:41

0 answers