Code Review
/
ci-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "CSIT-682 Usage of make-verify for vpp-csit-verify jobs"
[ci-management.git]
/
jjb
/
nsh_sfc
/
include-raw-nsh_sfc-pkg-push.sh
diff --git
a/jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh
b/jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh
index
c4f4885
..
500433e
100644
(file)
--- a/
jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh
+++ b/
jjb/nsh_sfc/include-raw-nsh_sfc-pkg-push.sh
@@
-1,9
+1,11
@@
#!/bin/bash
# basic build script example
set -e -o pipefail
#!/bin/bash
# basic build script example
set -e -o pipefail
-if [ "${OS}" == "ubuntu1404" ]; then
+echo "Looking for jars/debs/rpms to publish"
+if [ "${OS}" == "ubuntu1604" ]; then
# 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"
@@
-21,6
+23,7
@@
elif [ "${OS}" == "ubuntu1604" ]; then
# 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"
@@
-31,8
+34,11
@@
elif [ "${OS}" == "centos7" ]; then
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"
done
for i in $RPMS $SRPMS $SRCRPMS
do
push_rpm "$i"
done
-fi
\ No newline at end of file
+fi