I have a requirement,
- Create a build Job
- Deploy to Artifactory
- Download the artifact from artifactory and deploy to test server
All the 3 jobs, I have configured in a Build Pipeline. Also all are having the shared Build path.
This is basically a Java job, I have created the build Job and it is working fine. I have used downstream Job to trigger deploy to artifactory job. It is using Maven build.
In the second job, which needs to be manually triggered (I have configured like that), is running fine and it is getting deployed to respective repository which I have configured. I have used generic artifactory integration plugin and used published artifacts to push to the artifactory repository
Now for the 3rd Job, how to download the artifact from artifactory? If from the 2nd job, we can store the artifactory URL to a file and read it as parameterised build, I am thinking it will work..
But I am not getting any clue to get the artifactory URL.
Please help!