I am able to push the artifacts (snapshot or release) to Nexus using Jenkisfile.
Please help me on these :
- How to download/pull the latest version of artifact from Nexus using jenkinsfile
Without using hard coded nexus url
2.Do we have any maven goal for this activity so that we can consume directly in Jenkinsfile
Thanks in advance