[ARVADOS-DEV] updated: aa204e80a18f8827405fbb5a67de2ef8fa7074fc
git at public.curoverse.com
git at public.curoverse.com
Wed Jan 27 14:34:08 EST 2016
Summary of changes:
jenkins/package-testing/deb-common-test-packages.sh | 2 +-
jenkins/package-testing/test-packages-centos6.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
via aa204e80a18f8827405fbb5a67de2ef8fa7074fc (commit)
from baa66db7b5b05032c408a60180fa81b98d079ee4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit aa204e80a18f8827405fbb5a67de2ef8fa7074fc
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Wed Jan 27 14:34:06 2016 -0500
Fix selecting most recent package for package testing, refs #8008.
diff --git a/jenkins/package-testing/deb-common-test-packages.sh b/jenkins/package-testing/deb-common-test-packages.sh
index 3928ba2..5f32a60 100755
--- a/jenkins/package-testing/deb-common-test-packages.sh
+++ b/jenkins/package-testing/deb-common-test-packages.sh
@@ -24,7 +24,7 @@ cd /tmp/opts
export ARV_PACKAGES_DIR="/arvados/packages/$target"
-dpkg-deb -x $ARV_PACKAGES_DIR/"$1"_*.deb .
+dpkg-deb -x $(ls -t "$ARV_PACKAGES_DIR/$1"_*.deb | head -n1) .
while read so && [ -n "$so" ]; do
echo
diff --git a/jenkins/package-testing/test-packages-centos6.sh b/jenkins/package-testing/test-packages-centos6.sh
index 1960944..4e05364 100755
--- a/jenkins/package-testing/test-packages-centos6.sh
+++ b/jenkins/package-testing/test-packages-centos6.sh
@@ -25,7 +25,7 @@ fi
mkdir -p /tmp/opts
cd /tmp/opts
-rpm2cpio "$ARV_PACKAGES_DIR/$1"-*.rpm | cpio -idm 2>/dev/null
+rpm2cpio $(ls -t "$ARV_PACKAGES_DIR/$1"-*.rpm | head -n1) | cpio -idm 2>/dev/null
shared=$(find -name '*.so')
if test -n "$shared" ; then
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list