3 echo "*******************************************************************"
4 echo "* STARTING PUSH OF PACKAGES TO REPOS"
5 echo "* NOTHING THAT HAPPENS BELOW THIS POINT IS RELATED TO BUILD FAILURE"
6 echo "*******************************************************************"
8 [ "$MVN" ] || MVN="/opt/apache/maven/bin/mvn"
9 GROUP_ID="io.fd.${PROJECT}"
10 BASEURL="${NEXUSPROXY}/content/repositories/fd.io."
13 if [ "${OS}" == "ubuntu1604" ]; then
15 JARS=$(find . -type f -iname '*.jar')
16 DEBS=$(find . -type f -iname '*.deb')
26 elif [ "${OS}" == "ubuntu1804" ]; then
28 JARS=$(find . -type f -iname '*.jar')
29 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
48 elif [ "${OS}" == "opensuse" ]; then
50 RPMS=$(find . -type f -iname '*.rpm')
56 # vim: ts=4 sw=4 sts=4 et ft=sh :