3 # Copyright 2015,2016 The Linux Foundation
4 # 2015,2016 Cisco Systems
7 echo "*******************************************************************"
8 echo "* STARTING PUSH OF PACKAGES TO REPOS"
9 echo "* NOTHING THAT HAPPENS BELOW THIS POINT IS RELATED TO BUILD FAILURE"
10 echo "*******************************************************************"
12 source ../scripts/maven_push_functions.sh
14 # Determine the path to maven
15 if [ -z "${MAVEN_SELECTOR}" ]; then
16 echo "ERROR: No Maven install detected!"
20 if [ "${OS}" == "ubuntu1404" ]; then
22 JARS=$(find . -type f -iname '*.jar')
23 DEBS=$(find . -type f -iname '*.deb')
33 elif [ "${OS}" == "ubuntu1604" ]; then
34 DEBS=$(find . -type f -iname '*.deb')
39 elif [ "${OS}" == "centos7" ]; then
41 RPMS=$(find . -type f -iname '*.rpm')
42 SRPMS=$(find . -type f -iname '*.srpm')
43 SRCRPMS=$(find . -type f -name '*.src.rpm')
44 for i in $RPMS $SRPMS $SRCRPMS
49 # vim: ts=4 sw=4 sts=4 et ft=sh :