P4插件在詹金斯失败了

时间:2017-02-09 09:54:24

标签: jenkins perforce

我正在尝试使用此p4插件在Jenkins中创建一个作业。我成功安装了插件。当我尝试在执行shell中运行perforce命令时,我得到了以下异常。

[workspace] $ /bin/sh -xe /tmp/hudson6165069639422088214.sh
+ echo 'Trunk Release is r2017.1.0'
Trunk Release is r2017.1.0
++ /usr/local/perforce/p4 -P E208C3B005AB1F8E7C138F7156F857EC counter cos_sso_trunk_build_number
User jenkins doesn't exist.
+ BLD_NUM=
Build step 'Execute shell' marked build as failure
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: FAILURE

我已经包含了P4配置,它的工作正常。但是上面的错误就是我将在早期的Perforce插件(旧)中尝试P4命令,其工作正常

1 个答案:

答案 0 :(得分:0)

期待用户“詹金斯”的帐户。为该用户创建帐户,或使用现有用户。

在“配置”页面的“源代码管理” - >“Perforce Software Perforce凭据”下,选择“添加”以添加用户信息。