ALM Jenkins配置失败

时间:2015-09-16 19:36:33

标签: jenkins jenkins-plugins alm

我目前面临的问题是,当使用HP Application Automation Tools执行时,我的HP ALM测试自动化未运行。当我从HP ALM中触发它们时,它们运行正常。 这是作业的输出: 有人知道“执行状态:错误,消息:访问被拒绝” 手段。 HP ALM中是否缺少某些权限配置?

Building in workspace D:\Tools\Jenkins\workspace\Dani-JenkinsWithQC
[Dani-JenkinsWithQC] $ D:\Tools\Jenkins\workspace\Dani-JenkinsWithQC\HpToolsLauncher.exe -paramfile props20022014150821066.txt
"Started..."
Timeout is set to: 5
Run mode is set to: RUN_REMOTE
============================================================================
Starting test set execution
Test set name: JenkinsIntegartionTest, Test set id: 2457
"Number of tests in set: "2
Test 1: [1]Login will run on host: si0vm839
Test 2: [1]Logout will run on host: si0vm839
"Scheduler started at:15.09.2015 15:08:28
-------------------------------------------------------------------------------------------------------
15.09.2015 15:08:29 Running: [1]Login
15.09.2015 15:08:29 Running test: [1]Login, Test id: 938, Test instance id: 1412
Test: [1]Login, Id: 1412, Execution status: Running
Test: [1]Login, Id: 1412, Execution status: Error, Message: Access is denied
15.09.2015 15:08:33 Test complete: [1]Login
-------------------------------------------------------------------------------------------------------
15.09.2015 15:08:33 Running: [1]Logout
15.09.2015 04:15:08:33 Running test: [1]Logout, Test id: 939, Test instance id: 1413
Test: [1]Logout, Id: 1413, Execution status: Running
Test: [1]Logout, Id: 1413, Execution status: Error, Message: Access is denied
==============\nJob timed out!\n==============
================================================
Run status: Job failed, total tests: 2, succeeded: 0, failures: 0, errors: 2
Build step 'Execute HP tests from HP ALM' changed build result to FAILURE
Finished: FAILURE

1 个答案:

答案 0 :(得分:0)

您在ALM中触发的用户和您在jenkins中配置的用户可能不一样。 Check it here to see what user you're using for running from jenkins.登录ALM,检查您在jenkins中配置的用户属于哪个组。也许他只是一个观众或属于一个没有经过测试许可的团体。

不知道您使用的插件版本是什么。建议使用最新版本的jenkins插件。 You can get it here.