简体   繁体   English

Jenkins发布工作vs构建工作

[英]Jenkins Release job vs Build Job

I have very basic question. 我有一个非常基本的问题。 What are the differences if somebody says that I have a release job to run in jenkins VS I have a build job to run in Jenkins. 如果有人说我有一个要在jenkins中运行的发布工作,有什么区别?我有一个要在jenkins中运行的构建工作。 What actually Release job do and what does the Build job do? 实际的发布工作是做什么的,构建工作是做什么的?

Releases are a special type of build enabled by the Release plugin . 版本是由Release插件启用的一种特殊的构建类型。

[The Release] plugin adds the ability to wrap your job with pre- and post- build steps which are only executed when a manual release build is triggered. [Release]插件增加了使用构建前和构建后步骤包装工作的功能,这些步骤仅在触发手动发布构建时执行。

The Release plugin is useful when you want to use the same job for continuous integration as for some other publishing steps that are triggered manually. 当您要使用相同的作业进行持续集成时,对于与手动触发的其他一些发布步骤相同,Release插件非常有用。 We use the Release plugin to have a special sequence of steps to publish artifacts and create a tag when we want to make a release build that gets published to QA. 当我们要制作要发布到QA的发布版本时,我们使用Release插件有一个特殊的步骤序列来发布工件并创建标签。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM