Forum Discussion

daxter's avatar
daxter
New Contributor
4 years ago

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

  • Thank you for getting back with the feedback. 

    So, I would still suggest creating a feature request for the first part and as for the second, if the approach I suggested doesn't help, our support engineers would be the next best step.

     

  • sonya_m's avatar
    sonya_m
    SmartBear Alumni (Retired)

    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 

     

    • daxter's avatar
      daxter
      New Contributor

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

       

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

       

      but nothing

      • sonya_m's avatar
        sonya_m
        SmartBear Alumni (Retired)

        Thank you for getting back with the feedback. 

        So, I would still suggest creating a feature request for the first part and as for the second, if the approach I suggested doesn't help, our support engineers would be the next best step.