publishers:
- archive-artifacts:
- artifacts: 'report.html, log.html, output.xml, /var/log/honeycomb/honeycomb.log'
+ artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
latest-only: false
- email-notification:
email-prefix: '[hc2vpp]'
- robot-report:
- output-path: ''
+ output-path: 'csit'
- job-template:
name: 'hc2vpp-csit-verify-{stream}-{os}'
server-name: 'Primary'
trigger-on:
- comment-added-contains-event:
- comment-contains-value: 'csit-verify'
+ comment-contains-value: 'verify-csit$'
projects:
- project-compare-type: 'ANT'
project-pattern: '{project}'
publishers:
- archive-artifacts:
- artifacts: 'report.html, log.html, output.xml, /var/log/honeycomb/honeycomb.log'
+ artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
latest-only: false
- email-notification:
email-prefix: '[hc2vpp]'
- robot-report:
- output-path: ''
+ output-path: 'csit'
#!/bin/bash
set -xeu -o pipefail
+current_dir = `pwd`
+cd ${WORKSPACE}
+
# Clone csit and run package download script
git clone https://gerrit.fd.io/r/csit --branch master
exit
fi
-./resources/tools/download_hc_build_pkgs.sh
+./csit/resources/tools/download_hc_build_pkgs.sh
+
+cd ${current_dir}
if [ "${OS}" == "ubuntu1404" ]; then
./packaging/deb/trusty/debuild.sh
- cp ./packaging/deb/trusty/*.deb ./
+ cp ./packaging/deb/trusty/*.deb ${WORKSPACE}/csit
elif [ "${OS}" == "ubuntu1604" ]; then
./packaging/deb/xenial/debuild.sh
- cp ./packaging/deb/xenial/*.deb ./
+ cp ./packaging/deb/xenial/*.deb ${WORKSPACE}/csit
fi
-cd csit
+cd ${WORKSPACE}/csit
# execute csit bootstrap script if it exists
if [ ! -e bootstrap-hc2vpp-verify.sh ]
then