cancel
Showing results for 
Search instead for 
Did you mean: 

TestComplete + jenkins + results

daxter
New Contributor

TestComplete + jenkins + results

Hello,

i lunch some tests on testcomple and testexecute with the jenkins plungin.

 

I want to know how its possible to have a result of a test inside a pipeline. I try like this :

def result = testcompletetest actionOnErrors: 'MAKE_FAILED', .....

no result

 

with an xml like this (commandline) :

/ExportSummary:C:\JenkinsAgent\workspace\xx\test.xml 

no result

 

i can't see these files too *.tclogx *.htmlx and *.txt inside my workspace

 

thx a lot for any help

2 REPLIES 2
sonya_m
Community Manager

Re: TestComplete + jenkins + results

Hi @daxter 

 

def result = testcompletetest actionOnErrors: 'MAKE_FAILED', .....
The testcompletetest doesn't return values, you can create a feature request about this!
 
with an xml like this (commandline) :
Please try the following approach:
testcompletetest actionOnErrors: 'MAKE_FAILED', commandLineArguments: '/ExportSummary:"C:\\Tests\\workspace\\report.xml"', credentialsId: 'Tester', suite: 'C:\\Users\\Tester\\Documents\\TestComplete 14 Projects\\TestProject1\\TestProject1.pjs', useTCService: true 

 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
daxter
New Contributor

Re: TestComplete + jenkins + results

Thx for your answer but i already  try with command line like that :

 

commandLineArguments: "/ExportSummary:${WORKSPACE_AGENT}\\${item}.xml",

 

but nothing

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors