Jenkins QC plugin Can't create TDConnection Object

你说的曾经没有我的故事 提交于 2019-12-12 03:16:45

问题


I'm attempting to use the Jenkins QC plugin, but when I build on jenkins i'm getting the following console errors

Started by user anonymous

Building in workspace C:\Users\builder.jenkins\workspace\QC Plugin [QC Plugin] $ cscript /nologo "C:\Users\builder.jenkins\workspace\QC Plugin\runTestSet.vbs" http://****** Caine test test qcreport-test-4.xml 100 RUN_PLANNED_HOST C:\Users\builder.jenkins\workspace\QC Plugin\runTestSet.vbs(163, 5) Microsoft VBScript runtime error: ActiveX component can't create object: 'TDApiOle80.TDConnection'

5/30/2012 2:55:04 PM : Script parameters:

5/30/2012 2:55:04 PM : ***************************

5/30/2012 2:55:04 PM : QC Server : *

5/30/2012 2:55:04 PM : QC UserName : *

5/30/2012 2:55:04 PM : QC Password : **

5/30/2012 2:55:04 PM : QC Domain : **

5/30/2012 2:55:04 PM : QC Project : *

5/30/2012 2:55:04 PM : QC TestSetFolder: test

5/30/2012 2:55:04 PM : QC TestSetName : test

5/30/2012 2:55:04 PM : XML Junit File : qcreport-test-4.xml

5/30/2012 2:55:04 PM : Timeout : 100

5/30/2012 2:55:04 PM : ***************************

5/30/2012 2:55:04 PM : RunMode : RUN_PLANNED_HOST

5/30/2012 2:55:04 PM : ***************************

Can't create TDConnection Object

Creating report...

Generating report file

Report file path: qcreport-test-4.xml

| Test Name | Status | +--------------------------------------------------------------------------+

Report Created

FATAL: Couldn't run tests

Build step 'HP Quality Center' marked build as failure

Finished: FAILURE

Anyone any idea how to get around this?


回答1:


The bug seems known but not fixed. It seems like the problem is of 32 vs 64 bits and has a workaround.

There are also other potential explanations, like privileges



来源:https://stackoverflow.com/questions/18319573/jenkins-qc-plugin-cant-create-tdconnection-object

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!