Ask a Question

TestComplete-Jenkins Integration using tags

phoenix21
New Contributor

TestComplete-Jenkins Integration using tags

Does anyone know how to configure TestComplete in Jenkins using tags as parameters?

Here is an example scenario:

FEATURE_NAME and ENV_NAME are the 2 parameter choices I've setup in the General section. This contains options (or tags) for user to select and I want this tags to be called in TestComplete. I just don't know how to setup the right syntax  to call these variable tags.

TC-JenkinsConfigureIssue.jpg

2 REPLIES 2
Marsha_R
Community Hero

Step 3 in here talks about setting tags

https://support.smartbear.com/testcomplete/docs/working-with/integration/jenkins/running-tests.html

 

Marsha_R_0-1678861408866.png

 

 


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

Thanks for the reply. However, that is not the solution I'm looking for. I have parameters set for the project and users will have the option to choose to run a build with parameters. Here's an example:

TC-JenkinsParameters.jpg

Note that the FEATURE_NAME are set as tags. And I would like for Jenkins to use these parameters to run the project. I've tried all the options available in the Build Steps (Entire Suite, Project Test, Tags), but none of them work. It keeps on starting to the Execution Plan I've set in TestComplete.

 

Note also that the script works when ran directly in TestComplete using tags via command line: (e.g. TestComplete.exe "C:\jenkins\workspace\trunk\SampleProjEBS.pjs" /project:EBS /tags:@openOrder /env1 /run)

cancel
Showing results for 
Search instead for 
Did you mean: