Merge "Initial commit of support for rpm_dpdk project. Fix script name and removed...
[ci-management.git] / jjb / rpm_dpdk / include-raw-rpm_dpdk-pkg-push.sh
1 #!/bin/bash
2 # basic build script example
3 set -e -o pipefail
4 echo "Looking for rpms to publish"
5 # Find the files
6 RPMS=$(find . -type f -iname '*.rpm')
7 SRPMS=$(find . -type f -iname '*.srpm')
8 SRCRPMS=$(find . -type f -name '*.src.rpm')
9 echo "Found RPMS=${RPMS}"
10 echo "Found SRPMS=${SRPMS}"
11 echo "Found SRCRPMS=${SRCRPMS}"
12 for i in $RPMS $SRPMS $SRCRPMS
13 do
14     push_rpm "$i"
15 done