本文介绍了Hudson基于URL令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我配置了一个hudson实例并创建了作业。在创建构建时,我能够看到此选项通过访问此URL + SecretTOKEN触发构建选项。现在,我无法看到,我创造的任何新工作。我缺少一些设置或配置?我做的唯一的更改是运行servlet容器从根到普通用户。

I configured a hudson instance and have created jobs. While creating builds, I was able to see this option "Trigger the build by accessing this URL + SecretTOKEN" option. Now, I am unable to see that for any new jobs I create. Am I missing some setting or a configuration? The only change I made was running the servlet container from Root to a regular user.

推荐答案

在我的Hudson(1.349)创建新作业时,称为远程触发构建(例如从脚本),在选中此选项后,您可以输入一个验证令牌(其中包含您的问题的描述性文本)。

In my Hudson (1.349) when creating a new job, there's an option under Build Triggers called Trigger Builds Remotely (e.g. from scripts), which when selected allows you to enter an Authentication Token (which has the descriptive text from your question).

我不知道有任何系统配置禁用此功能。它听起来不像哈德森用户权限问题,如果你可以有权限创建/编辑作业。

I'm not aware of any system configuration that disables this. It doesn't sound like a Hudson user permissions problem if you can have permissions to create/edit jobs.

当您建立新工作时,Build Triggers下会出现什么?

What appears under Build Triggers when you create a new job?

这篇关于Hudson基于URL令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 08:25