Remove unnecessary ssh-credentials defaults
[ci-management.git] / jjb / honeycomb / include-raw-honeycomb-pkg-push.sh
1 #!/bin/bash
2 if [ "${OS}" == "centos7" ]; then
3
4     # Build the rpms
5     ./packaging/rpm/rpmbuild.sh
6
7     # Find the files
8     RPMS=$(find . -type f -iname '*.rpm')
9     SRPMS=$(find . -type f -iname '*.srpm')
10     SRCRPMS=$(find . -type f -name '*.src.rpm')
11     for i in $RPMS $SRPMS $SRCRPMS
12     do
13         push_rpm "$i"
14     done
15 elif [ "${OS}" == "ubuntu1404" ]; then
16
17     # Build the rpms
18     ./packaging/deb/debuild.sh
19
20     # Find the files
21     DEBS=$(find . -type f -iname '*.deb')
22     for i in $DEBS
23     do
24         push_deb "$i"
25     done
26 fi