Reputation: 85
I am relatively new to Artifactory. We are using gardle artifactory plugin to publish the artifacts & also we are using Jenkins CI to automate builds.
In Artifactory Snapshot we have urls like (dev, stg, perf, prodfix) version & filename(abc-dev.jar).
1.) After dev build, I have to promote abc-dev.jar to stg URL(abc-stg.jar).similarly for rest of environment.
Kindly advise how we can achieve this.
Upvotes: 0
Views: 983
Reputation: 2425
In Jenkins, there's a Pipeline DSL that you can use to promote your builds. See the documentation here: https://wiki.jenkins-ci.org/display/JENKINS/Artifactory+-+Working+With+the+Pipeline+Jenkins+Plugin
Upvotes: 4