Ideally you would want to set up Jenkins to deploy to your testing server as part of your CI build.
Alternatively, if you want to manually run a script on the server you are deploying to, you could set up a specific pom.xml to perform this task. First setup the dependency plugin to download your war:
Substituting the group ID, artifact ID and version for the respective properties of your WAR file. Next configure the JBoss plugin to deploy the downloaded WAR:
You should then be able to download the artifact from your internal repository and deploy it in the locally running JBoss container with the following command:
mvn package jboss:hard-deploy
via java - Download WAR from snapshot-repository and deploy to local JBoss using mvn - Stack Overflow.