[英]How to do Code Promotion in Artifactory
I am relatively new to Artifactory. 我对Artifactory比较陌生。 We are using gardle artifactory plugin to publish the artifacts & also we are using Jenkins CI to automate builds.
我们正在使用Gardle人工制品插件来发布人工制品,并且我们正在使用Jenkins CI来自动进行构建。
In Artifactory Snapshot we have urls like (dev, stg, perf, prodfix) version & filename(abc-dev.jar). 在Artifactory Snapshot中,我们有类似(dev,stg,perf,prodfix)版本和文件名(abc-dev.jar)的url。
1.) After dev build, I have to promote abc-dev.jar to stg URL(abc-stg.jar).similarly for rest of environment. 1.)开发构建之后,我必须将abc-dev.jar提升为stg URL(abc-stg.jar)。
Kindly advise how we can achieve this. 请告知我们如何实现这一目标。
In Jenkins, there's a Pipeline DSL that you can use to promote your builds. 在Jenkins中,您可以使用管道DSL来促进构建。 See the documentation here: https://wiki.jenkins-ci.org/display/JENKINS/Artifactory+-+Working+With+the+Pipeline+Jenkins+Plugin
请参阅此处的文档: https : //wiki.jenkins-ci.org/display/JENKINS/Artifactory+-+Working+With+the+Pipeline+Jenkins+Plugin
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.