Child pages
  • Tricentis Continuous Integration

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To execute tests in Tricentis Tosca CI, add a new Tricentis Continuous Integration build step:

Image RemovedImage Added


Field name [pipeline property]RequiredDescription

Tricentis client path

[tricentisClientPath]

Yes

Input the path to either the ToscaCIClient.exe or the ToscaCIJavaClient.jar file. This component is responsible for sending the execution request to your execution machines.

If you use ToscaCIJavaClient.jar, you need to install JRE 1.7 or higher on the Jenkins Slave machine and set the JAVA_HOME environment variable accordingly.

Endpoint

[endpoint]

Yes

Specify the address of the webservice. This component triggers the test execution.

If you execute your tests via Tosca Remote Service, the endpoint needs to point to the TOSCARemoteExecutionService (e.g. http://servername:8732/TOSCARemoteExecutionService/).

If you execute your tests via Tosca Distributed Execution, the endpoint needs to point to the Manager Service of the Tosca Distribution Server (e.g. http://servername:8732/DistributionServerService/ManagerService.svc).

TestEvents (Distributed Execution only)

[testEvents]

No

Input the TestEvents that you want to execute, separated by semicolons. You can identify the TestEvents with their name or their system ID.

This field is optional. It can only be used if you execute your tests via Tosca Distributed Execution.

If you use this setting, leave the Configuration File setting of this page empty. Otherwise, this build step fails.

Configuration file

[configurationFilePath]

No

Specify the path to the Tricentis CI test execution configuration XML file. The test configuration file includes more details about which items you would like to execute.

If you use this setting, leave the TestEvents setting of this page empty. Otherwise, this build step fails.

...

Code Block
languagegroovy
titlePipeline configuration
pipeline {    
    agent any
    stages {
       stage('Build') {
          steps {
             tricentisCI tricentisClientPath: '$TRICENTIS$COMMANDER_HOME\\ToscaCI\\Client\\ToscaCIClient.exe', configurationFilePath: 'configuration.xml', endpoint: 'http://localhost:8732/TOSCARemoteExecutionService/'
          }
       }
    }
}

...

Jenkins job output example

Image RemovedImage Added

Tricentis reports automatically published to Jenkins

...