3 name: integration-test-plan
8 description: "General test plan we will run unless stream-specific one is found"
11 name: integration-test-options
15 default: "{test-options}"
16 description: "Robot command options"
19 name: html-publisher-dir
24 description: "Directory location to be used by HTML publisher plugin"
27 name: html-publisher-files
31 default: "{html-files}"
32 description: "File name to be used by HTML publisher plugin to produce the report"
35 name: integration-install-robotframework
37 - shell: !include-raw:
38 - include-raw-integration-install-robotframework.sh
41 name: integration-install-robotframework-py3
43 - shell: !include-raw:
44 - include-raw-integration-install-robotframework-py3.sh
47 name: integration-run-test
50 git clone https://gerrit.onap.org/r/ci-management /tmp/ci-management
51 cp /tmp/ci-management/jjb/integration/*csit.sh ${WORKSPACE}
52 ${WORKSPACE}/run-csit.sh ${TESTPLAN} ${TESTOPTIONS}
55 name: integration-run-project-test
57 - shell: "${WORKSPACE}/csit/run-project-csit.sh ${TESTOPTIONS}"
60 name: integration-autorelease-fix-relativepaths
62 - shell: "${WORKSPACE}/autorelease/scripts/fix-relativepaths.sh"
65 name: integration-autorelease-set-version
67 - shell: "${WORKSPACE}/autorelease/scripts/set-version.sh"
70 name: integration-install-vagrant
74 set -ex # Fail build if any setup step fails
75 sudo add-apt-repository --yes ppa:tiagohillebrandt/vagrant
77 sudo apt --yes install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev vagrant
78 vagrant plugin install vagrant-libvirt
79 vagrant plugin install vagrant-disksize
80 vagrant plugin install vagrant-sshfs
81 vagrant plugin install vagrant-reload
85 name: integration-docker-compose-logs
87 - shell: !include-raw: shell/docker-compose-logs.sh
90 name: integration-robot
93 output-path: "archives"
94 output-xml: "**/output.xml"
95 report-html: "**/report.html"
96 log-html: "**/log.html"
98 unstable-threshold: "{unstable-if}"
99 pass-threshold: "{pass-if}"
103 name: integration-project-robot
106 output-path: "csit/archives"
107 output-xml: "**/output.xml"
108 report-html: "**/report.html"
109 log-html: "**/log.html"
111 unstable-threshold: "{unstable-if}"
112 pass-threshold: "{pass-if}"
116 name: integration-docker-compose-logs
126 - integration-docker-compose-logs