...
This build step executes one of the test scenario jobs (tests suites that execute vs. specific environment configurations) available on the connected instance of Environment Manager. You can also publish the test execution results to DTP.
You can configure the following options:
- Enable the By name to specify the name of a test scenario or enable From list and choose a test scenario from the drop-down menu.
...
- If
...
- the By name option
...
- is enabled, you can use a Jenkins environment
...
- variable, e.g.,
${JOB_NAME
},
...
- to use the same name as the Jenkins job.
- By default, the Abort the build on test failure option is disabled. Enable this option if you want to stop the build if a test fails.
- Enable the Abort the build if it's stuck option and specify the number of minutes in the Timeout minutes field that Jenkins should wait before the job times out.
- Enable the Publish test execution results to DTP option and specify the DTP project, build ID, and session tag if want to be able to view the results in DTP.
...
- Enable the Append variable set environment to session tag if configured option if you want to include the execution environment setting (
exec.env
) in the test results when SOAtest publishes to DTP
...
- . This enables you to aggregate test data according to execution environment, which can be displayed in DTP widgets and reports, e.g.:
Refer to the DTP documentation for additional information about projects, build IDs, session tags, and other metadata associated with test and development artifacts.
Configuring a Destroy an Environment Build Step
...
Scroll Table Layout | ||
---|---|---|
|
Version | Change | FR/PR ID |
---|---|---|
2.18 | Timeout feature for test scenario execution jobs | CTP-4581 |
2.17 | CTP Jobs Not Appearing in Environment Manager Plugin for Jenkins | CTP-5648 |
2.16 | Added the ability to show the name and status of .tst files that run as part of a job in the Console Output and Status page in Jenkins | CTP-4550 |
2.15 | DTP rejected report from CTP Job with appended execEnv | CTP-4766 |
2.14 | Jenkins job using EM plugin stuck in running state | CTP-4559 |
2.13 | Build status page shows no failures even on failed TSTs | CTP-4549 |
2.12 | Improve dynamic deploy console output | CTP-4540 |
2.11 | Handle SKIPPED status for TSTs in jobs | CTP-4508 |
2.10 | Option to append variable set environment to session tag when publishing to DTP | CTP-4394 |
2.9 | Ability to continue build steps after a test scenario job fails | CTP-4307 |
2.8 | Upload test execution XML report to DTP | |
2.7 | Allow users to parameterize the CTP Job name to a Jenkins environment variable in the Parasoft Environment Manager plugin | CTP-3942 |
2.6 | Improve API query performance for test execution jobs | CTP-4082 |
2.5 | Fix build step drop down not able to display more than 100 test execution jobs | CTP-2841 |