Change-Id: I3a567465aa3559d8b6d8c00955ab47222e5de6d2
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
- 'hc2vpp-verify-image-{stream}-{os}'
project: 'hc2vpp'
os:
- - ubuntu1404:
- repo-os-part: 'ubuntu.trusty.main'
- skip-site: 'false'
- ubuntu1604:
repo-os-part: 'ubuntu.xenial.main'
- skip-site: 'true'
+ skip-site: 'false'
- centos7:
repo-os-part: 'centos7'
skip-site: 'true'
name: 'hc2vpp'
branch: '{branch}'
- prebuilders:
- - shell: |
- if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
maven:
maven-name: 'mvn33-new'
root-pom: 'pom.xml'
unstable: true
notbuilt: true
- prebuilders:
- - shell: |
- if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
maven:
maven-name: 'mvn33-new'
root-pom: 'pom.xml'
result: 'success'
prebuilders:
- - shell: |
- if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
- shell:
!include-raw-escape: include-raw-hc2vpp-integration-prebuild.sh
maven:
fi
fi
-if [ "${OS}" == "ubuntu1404" ]; then
- OS_PART="ubuntu.trusty.main"
- PACKAGE="deb deb.md5"
- CLASS="deb"
-elif [ "${OS}" == "ubuntu1604" ]; then
+if [ "${OS}" == "ubuntu1604" ]; then
OS_PART="ubuntu.xenial.main"
PACKAGE="deb deb.md5"
CLASS="deb"
do
push_rpm "$i"
done
-elif [ "${OS}" == "ubuntu1404" ]; then
-
- # Build the debs
- ./packaging/deb/trusty/debuild.sh
-
- # Find the files
- DEBS=$(find . -type f -iname '*.deb')
- # publish hc2vpp packages
- for i in $DEBS
- do
- push_deb "$i"
- done
elif [ "${OS}" == "ubuntu1604" ]; then
# Build the debs
name: 'honeycomb'
branch: '{branch}'
- prebuilders:
- - shell: |
- if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
maven:
maven-name: 'mvn33-new'
root-pom: 'pom.xml'