I'm trying to figure out how to have the output from a maven build (jar files) post to a remote server. something like the following perhaps? and also, how to have the downstream builds know where those are. Our existing system was written a long time ago as a manual jenkins process and I can't see how it's actually connecting those so I'm essentially working from scratch on an existing project. Any help you can give would be much appreciated.
script:
- mvn clean install
variables:
OUTPUT: \\100.20.3\C$\yada\yada