[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: nicer job output
Holger Levsen
holger at layer-acht.org
Fri Dec 1 02:11:39 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit b38ad9498ce64ac51f98c8d8ebf24ae4c8f488c7
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Dec 1 02:11:25 2017 +0000
reproducible Arch Linux: nicer job output
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_archlinux_scheduler.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/reproducible_archlinux_scheduler.sh b/bin/reproducible_archlinux_scheduler.sh
index a86c26e..1a16b74 100755
--- a/bin/reproducible_archlinux_scheduler.sh
+++ b/bin/reproducible_archlinux_scheduler.sh
@@ -31,14 +31,14 @@ update_archlinux_repositories() {
echo "$(date -u ) - updating list of available packages in repository '$REPO'."
grep "^$REPO" "$ARCHLINUX_PKGS"_full_pkgbase_list | \
while read repo pkgbase version; do
- printf '%s %s\n' "$pkgbase" "$version"
VERSION=$(cat $BASE/archlinux/$REPO/$pkgbase/pkg.version 2>/dev/null || echo 0.rb-unknown-1)
if [ "$VERSION" = "0.rb-unknown-1" ] ; then
- echo "$(date -u ) - we know $REPO/$pkgbase has dummy $VERSION version, but c'est la vie."
+ echo -n "$(date -u ) - we know $REPO/$pkgbase has dummy $VERSION version, but c'est la vie... "
elif [ "$(schroot --run-session -c $SESSION --directory /var/tmp -- vercmp $version $VERSION)" = "1" ] ; then
- echo "$(date -u ) - we know about $REPO/$pkgbase $VERSION, but the repo has $version, so rescheduling."
+ echo -n "$(date -u ) - we know about $REPO/$pkgbase $VERSION, but the repo has $version, so rescheduling... "
touch $BASE/archlinux/$REPO/$pkgbase/pkg.needs_build
fi
+ printf '%s %s\n' "$pkgbase" "$version"
done > "$ARCHLINUX_PKGS"_"$REPO"
echo "$(date -u ) - these packages in repository '$REPO' are known to us:"
cat ${ARCHLINUX_PKGS}_$REPO
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list