Integration: Add job for CSIT sample test plan
[ci-management.git] / jjb / integration / integration-macros.yaml
1 ---
2 - parameter:
3     name: integration-test-plan
4     parameters:
5       - string:
6           name: TESTPLAN
7           default: '{test-plan}'
8           description: 'General test plan we will run unless stream-specific one is found'
9
10 - parameter:
11     name: integration-test-options
12     parameters:
13       - string:
14           name: TESTOPTIONS
15           default: '{test-options}'
16           description: 'Robot command options'
17
18 - builder:
19     name: integration-install-robotframework
20     builders:
21       - shell:
22           !include-raw:
23           - include-raw-integration-install-robotframework.sh
24
25 - builder:
26     name: integration-run-test
27     builders:
28       - shell: "${WORKSPACE}/test/csit/run-csit.sh ${TESTPLAN} ${TESTOPTIONS}"
29
30 - builder:
31     name: integration-autorelease-fix-relativepaths
32     builders:
33       - shell: "${WORKSPACE}/autorelease/scripts/fix-relativepaths.sh"
34
35 - builder:
36     name: integration-autorelease-set-version
37     builders:
38       - shell: "${WORKSPACE}/autorelease/scripts/set-version.sh"
39
40 - publisher:
41     name: integration-robot
42     publishers:
43       - robot:
44           output-path: 'archives'
45           other-files: ''
46           unstable-threshold: '{unstable-if}'
47           pass-threshold: '{pass-if}'
48           only-critical: false