Ondweb
Ondweb

Reputation: 85

How to do Code Promotion in Artifactory

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

Answers (1)

Eyal Ben Moshe
Eyal Ben Moshe

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

Related Questions