Change-Id: Ida656f01d1df5a943f8b588c5cc0e66dd0fdf5a6
Signed-off-by: Ed Warnicke <eaw@cisco.com>
#!/bin/bash
# basic build script example
set -e -o pipefail
#!/bin/bash
# basic build script example
set -e -o pipefail
+echo "Looking for jars/debs/rpms to publish"
if [ "${OS}" == "ubuntu1404" ]; then
# Find the files
DEBS=$(find . -type f -iname '*.deb')
if [ "${OS}" == "ubuntu1404" ]; then
# Find the files
DEBS=$(find . -type f -iname '*.deb')
+ echo "Found DEBS=${DEBS}"
for i in $DEBS
do
push_deb "$i"
for i in $DEBS
do
push_deb "$i"
# Find the files
DEBS=$(find . -type f -iname '*.deb')
# Find the files
DEBS=$(find . -type f -iname '*.deb')
+ echo "Found DEBS=${DEBS}"
for i in $DEBS
do
push_deb "$i"
for i in $DEBS
do
push_deb "$i"
RPMS=$(find . -type f -iname '*.rpm')
SRPMS=$(find . -type f -iname '*.srpm')
SRCRPMS=$(find . -type f -name '*.src.rpm')
RPMS=$(find . -type f -iname '*.rpm')
SRPMS=$(find . -type f -iname '*.srpm')
SRCRPMS=$(find . -type f -name '*.src.rpm')
+ echo "Found RPMS=${RPMS}"
+ echo "Found SRPMS=${SRPMS}"
+ echo "Found SRCRPMS=${SRCRPMS}"
for i in $RPMS $SRPMS $SRCRPMS
do
push_rpm "$i"
for i in $RPMS $SRPMS $SRCRPMS
do
push_rpm "$i"