How to configure the DeployToNexus project on Jenkins to deploy all Jobs available in your project to the Nexus artifact repository.
Before you begin
- In the DeployToNexus project configuration, set the path to the <jenkins_workspace>/RunTests/projectSources/pom.xml file generated previously in the Root POM field of the Build area.
In the Goals and options field, enter the Maven
instruction to deploy all the Jobs available into the Nexus artifact repository
of your choice.
deploy -fn -e
This project deploys artifacts on Nexus by using the instructions held in the POM file.