- job-template: | |
project-type: pipeline | |
description: '{job-description}' | |
concurrent: true | |
disabled: false | |
name: swarm-testrail-report-jjb | |
parameters: | |
- string: | |
name: ENV_NAME | |
default: | |
description: 'Required: Fuel-devops environment name' | |
trim: 'false' | |
- string: | |
name: PASSED_STEPS | |
default: '' | |
description: |- | |
Completed steps to install components on the environment.<br> | |
If tests require some additional components, | |
it may be installed in appropriate fixtures,<br> | |
so set the PASSED_STEPS correctly for the testing environment. | |
trim: 'false' | |
- string: | |
name: PARENT_NODE_NAME | |
default: '' | |
description: |- | |
Required: Name of the jenkins slave to create the environment<br> | |
To be set by the parent deployment job. | |
trim: 'false' | |
- string: | |
name: PARENT_WORKSPACE | |
default: '' | |
description: |- | |
Required: Workspace on the jenkins slave to reuse for the job<br> | |
To be set by the parent deployment job. | |
trim: 'false' | |
- string: | |
name: MCP_VERSION | |
default: 'proposed' | |
description: '' | |
trim: 'false' | |
- string: | |
name: TCP_QA_REFS | |
default: '' | |
description: |- | |
Example: refs/changes/89/411189/36 (for now - only one reference allowed) | |
trim: 'false' | |
- string: | |
name: TEMPEST_TEST_SUITE_NAME | |
default: '[MCP1.1_PIKE]Tempest' | |
description: '' | |
trim: 'false' | |
- string: | |
name: LAB_CONFIG_NAME | |
default: '' | |
description: '' | |
trim: 'false' | |
- string: | |
name: TEST_PLAN_NAME_PREFIX | |
default: '' | |
description: |- | |
Prefix for creating Test Plan name in TestRail | |
trim: 'false' | |
- string: | |
name: TEST_PLAN_NAME | |
default: '' | |
description: '' | |
trim: 'false' | |
- string: | |
name: REPORT_FILE_URL | |
default: '' | |
description: |- | |
Url to download the xml file with xUnit report | |
trim: 'false' | |
- choice: | |
name: REPORT_FILE_NAME | |
choices: | |
- | |
- nosetests.xml | |
- report_tempest.xml | |
- stacklight_report.xml | |
- cvp_sanity_results.xml | |
description: |- | |
Choose a type of downloading xml file <br> | |
<br>nosetests.xml - file for tcp-qa reports <br> | |
report_tempest.xml - for tempest report <br> | |
stacklight_report.xml - for LMA stacklight report <br> | |
cvp_sanity_results.xml - for CVP Sanity report<br> | |
<br> | |
# [not_supported] deployment_${{ENV_NAME}}.xml - file for deployment report | |
pipeline-scm: | |
lightweight-checkout: false | |
scm: | |
- git: | |
branches: | |
- FETCH_HEAD | |
refspec: ${{TCP_QA_REFS}} | |
url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa | |
script-path: jobs/pipelines/swarm-testrail-report.groovy | |
logrotate: | |
daysToKeep: 30 |