blob: ea78ca051c3274d62201ab98648f38ad044b92e0 [file] [log] [blame]
Anna Arhipovab80f23b2022-10-05 21:45:35 +02001- job-template:
2 project-type: freestyle
3 description: "{job-description}
4 Define DATE to define a specific Test Plan with name like [2019.2.0-update]System-$REPOSITORY_SUITE-$DATE
5 or define PLAN_NAME if you know it"
6 concurrent: true
7 disabled: false
8 name: generate-report
9 logrotate:
10 daysToKeep: 365
11 parameters:
12 - string:
13 default: ''
14 description: YYYY-MM-DD
15 name: DATE
16 trim: 'false'
17 - string:
18 default: '2019.2.0'
19 description:
20 name: REPOSITORY_SUITE
21 trim: 'false'
22 - string:
23 default: ''
24 description:
25 name: PLAN_NAME
26 trim: 'false'
27 - string:
28 default: ''
29 description: ''
30 name: TCP_QA_REFS
31 trim: 'true'
32 triggers:
33 - timed: H 9-22/2 * * *
34 scm:
35 - git:
36 branches:
37 - FETCH_HEAD
38 refspec: '${{TCP_QA_REFS}}'
39 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
40 wrappers:
41 - inject:
42 properties-content: |-
43 CUSTOM_REPO_VENV_PATH=/home/jenkins/venv_testrail_reporter
44 VENV_PATH=/home/jenkins/testrail_report
45 - credentials-binding:
46 - username-password-separated:
47 credential-id: testrail_system_tests
48 username: TESTRAIL_USER_EMAIL
49 password: TESTRAIL_USER_KEY
50 - username-password-separated:
51 credential-id: jira-user
52 username: JIRA_USER
53 password: JIRA_PWD
54 builders:
55 - shell: "chmod +x jobs/pipelines/generate-report.sh"
56 - shell: "./jobs/pipelines/generate-report.sh"
57 publishers:
58 - archive:
59 artifacts: '**/*_bug_report_*.html'
60 allow-empty: false
61 - workspace-cleanup:
62 include:
63 - '*.html'
64
65
66