os:
- ubuntu1404:
repo-os-part: 'ubuntu.trusty.main'
- skip-site: 'true'
+ - ubuntu1604:
+ repo-os-part: 'ubuntu.xenial.main'
- job-template:
name: 'hc2vpp-csit-integration-{stream}-{os}'
project-type: freestyle
- node: 'ubuntu1404-basebuild-4c-4g'
+ node: '{os}-basebuild-4c-4g'
concurrent: true
logrotate:
name: 'hc2vpp-csit-verify-{stream}-{os}'
project-type: maven
- node: 'ubuntu1404-basebuild-4c-4g'
+ node: '{os}-basebuild-4c-4g'
jdk: openjdk8-{os}
concurrent: true
maven:
maven-name: 'mvn33-new'
root-pom: 'pom.xml'
- goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.site.skip={skip-site} site -Dmaven.site.deploy.skip={skip-site} -DskipTests'
+ goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -DskipTests -Dcheckstyle.skip=true'
maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
settings: 'hc2vpp-settings'
settings-type: cfp
chmod +x bootstrap-hc2vpp-integration.sh
# run the script
if [ ${STREAM} == 'master' ]; then
- ./bootstrap-hc2vpp-integration.sh ${STREAM}
+ ./bootstrap-hc2vpp-integration.sh ${STREAM} ${OS}
else
- ./bootstrap-hc2vpp-integration.sh 'stable.'${STREAM}
+ ./bootstrap-hc2vpp-integration.sh 'stable.'${STREAM} ${OS}
fi
fi
CSIT_BRANCH=`./csit-test-branch`
fi
-# Clone csit and start tests
+# Clone csit and download VPP packages
git clone https://gerrit.fd.io/r/csit --branch ${CSIT_BRANCH}
# If the git clone fails, complain clearly and exit
exit
fi
+cd csit
+
if [ ${STREAM} == 'master' ]; then
- ./csit/resources/tools/download_hc_build_pkgs.sh ${STREAM}
+ ./csit/resources/tools/download_hc_build_pkgs.sh ${STREAM} ${OS}
else
- ./csit/resources/tools/download_hc_build_pkgs.sh 'stable.'${STREAM}
+ ./csit/resources/tools/download_hc_build_pkgs.sh 'stable.'${STREAM} ${OS}
fi
cd ${current_dir}
# make sure that bootstrap.sh is executable
chmod +x bootstrap-hc2vpp-verify.sh
# run the script
- ./bootstrap-hc2vpp-verify.sh
+ ./bootstrap-hc2vpp-verify.sh ${OS}
fi
# vim: ts=4 ts=4 sts=4 et :
\ No newline at end of file