詹金斯没有运行mulijob项目

时间:2016-02-28 15:13:52

标签: ruby jenkins qa

Devs与svn进行巡航控制。我只在http请求到达时运行测试。有Jenkins和ruby测试,需要将所有组合在一起。下载的multijob插件,创建一个包含3个测试的阶段。测试无法启动并长时间继续执行。

Started by user anonymous
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/jobs/full_payps/workspace
Xvfb starting$ Xvfb :2 -screen 0 1280x1080x16 -fbdir /var/lib/jenkins/xvfb-4-5075789107118417278.fbdir
>> Job status: [dif_value_client] the 'build only if scm changes' feature is disabled.
Starting build job dif_value_client.
>> Job status: [client_success_an] the 'build only if scm changes' feature is disabled.
Starting build job client_success_an.
>> Job status: [client_success] the 'build only if scm changes' feature is disabled.
Starting build job client_success.
Aborting all subjobs.
Xvfb stopping
Build was aborted
Aborted by anonymous
Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
Finished: ABORTED

1 个答案:

答案 0 :(得分:2)

您必须安装Authorize Project plugin(或类似的,但目前它是唯一的)并配置构建授权策略。

在Global Jenkins安全设置中,您需要激活要在实例上允许的策略(Manage Jenkins-> Configure Global Security -> Access Control for Builds -> Configure Build Authorizations in Project Configuration -> Select Run as ...

在每个上游作业配置中,您需要选择策略并进行配置。