[英]Creating release tag with Maven/Jenkins/Git
I'm using Jenkins,GIT and Maven as part of my development process. 在开发过程中,我正在使用Jenkins,GIT和Maven。 I have two branches develop and master. 我有两个分支机构发展和掌握。 As usual i do my development on develop, test it and merge it to master for the jar to be published. 像往常一样,我在开发上进行开发,测试并将其合并为要发布的jar的母版。
I'm using Jenkins to deploy my snapshots/release jars to our Nexus repository. 我正在使用Jenkins将快照/发布jar部署到我们的Nexus存储库。 When i deploy/publish the release jar (one without -SNAPSHOT) i would like to create a release TAG in my github repo, while i want to avoid that while deploying my snapshots. 当我部署/发布发布jar(一个没有-SNAPSHOT的发布)时,我想在我的github存储库中创建一个发布TAG,而我想在部署快照时避免这种情况。
I went through the posts at http://www.dev9.com/article/2014/9/java-release-process-with-continuous-delivery and https://axelfontaine.com/blog/final-nail.html to get some idea. 我浏览了http://www.dev9.com/article/2014/9/java-release-process-with-continuous-delivery和https://axelfontaine.com/blog/final-nail.html上的帖子有一些想法。
My questions are the following: 我的问题如下:
Basically you need the following plugin : http://maven.apache.org/maven-release/maven-release-plugin/ 基本上,您需要以下插件: http : //maven.apache.org/maven-release/maven-release-plugin/
The plugin do the following : 该插件执行以下操作:
What it look like in jenkins (configuration of the job) jenkins的外观(作业配置)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.