升级版构建插件,看不到促销信息 [英] Promoted Build Plugin , can not see Promotions

查看:99
本文介绍了升级版构建插件,看不到促销信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用如下促销设置运行Jenkins Job时,

When I am running the Jenkins Job with promotion setup like below ,

在用户界面中完成构建后,我看不到自己的促销活动.

I cant see my promotions after the build is completed in the UI .

请建议我是否缺少任何东西.

Please suggest if I am missing something.

推荐答案

在最初创建促销之前完成的构建不是可推广的"

Builds that had finished before the promotion was originally created are not "promotable"

运行一个新的版本,它将显示出来.

Run a new build, and it will show.

注意:此限制仅适用于创建新的促销.您可以根据需要修改升级过程,并且该升级过程可以在较早的版本上执行,而不会出现问题(只要这些版本在创建原始升级之后就已完成)

Note: this restriction is only on the creation of a new promotion. You can modify the promotion process as much as you need, and it will be executable on older builds without problem (as long as those builds had finished after the original promotion was created)

修改:
我想我误解了你的问题.看来您位于促销历史记录"页面上,位于http://$JENKINS_SERVER/$JOB_URL/promotion/上.在触发升级之前,您不会在这里看到它们.


I think I misunderstood your question. It appears you are on the "Promotions History" page, the one at http://$JENKINS_SERVER/$JOB_URL/promotion/. You won't see builds here until they have been triggered for promotion.

要在某个版本上实际触发升级,您必须选择特定的版本号/作业运行.促销是按职位运行的,而不是按职位分配的.每个作业运行都有相关的晋升.

To actually trigger a promotion on a build, you have to select the specific build number/job run. Promotions are per job-run, not per job. Each job run has associated promotions with it.

您需要位于http://$JENKINS_SERVER/$JOB_URL/123/promotion/,其中123是要升级的内部版本号.您可以使用永久链接代替123,例如lastBuildlastSuccessfulBuild等.

You need to be at http://$JENKINS_SERVER/$JOB_URL/123/promotion/ where 123 is the build number that you want to promote. You can use permalinks instead of 123, such as lastBuild or lastSuccessfulBuild, etc.

要在内部版本中引用123(以便在电子邮件通知链接等中使用此引用),可以使用$BUILD_NUMBER变量.

To reference to 123 from within the build (in order to use this in email notification links, etc), you can use $BUILD_NUMBER variable.

通过用户界面,您需要从构建历史记录中选择一个构建,然后单击 在那里,促销状态",然后批准/触发促销(由于链接的历史页面"和触发/执行"页面都具有相同的名称,我知道这很令人困惑.)

Through the UI, you need to select a build from the build history, click "Promotion Status" there, and then approve/trigger a promotion (I know it's confusing since both "history page" and "trigger/execution" pages have the same name for the link.)

这篇关于升级版构建插件,看不到促销信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆