I'm currently working on setting up a continuous integration environment that will use git as the source and Nexus as the Artifact repository.
I have configured 2 jobs in Jenkins.
- A maven build job that will parse the pom file in git and deploy the jar file to Nexus.
- A deploy job that will deploy the jar file from Nexus to application server(weblogic)
I need help in the below 2 areas.
1) When the jar is deployed to Nexus, the file will be in the format: -0.0.1-date&time-1.jar
Is there any way that i can modify this to just fileName.jar?
2) How do i setup the 2nd job to pick the jar file created by the first job? I'm looking for ways by which i can pass the version number to the deploy job dynamically.