I have a docker Jenkins container running on RHEL host machine that pulls out code from TFS and builds a war using Ant scripts. After the build is complete we want to push the war to a JBoss running on our RHEL host. What is the best way to do this?
We have the Jenkins home mounted to a directory on the host system and I able to manually deploy the war from this directory onto the JBoss server using the jboss-cli deploy script.
When I am inside my Jenkins container running the build can I use the file system on the host to run the jboss-cli script?