[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible archlinux: update pattern to match archlinux sessions
Holger Levsen
holger at moszumanska.debian.org
Wed Jan 6 11:12:36 UTC 2016
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 4a871f51649aa7bb3fc5def98fc46b9eec3841f2
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Jan 6 12:12:24 2016 +0100
reproducible archlinux: update pattern to match archlinux sessions
---
bin/common-functions.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/common-functions.sh b/bin/common-functions.sh
index 0970031..cd357b1 100755
--- a/bin/common-functions.sh
+++ b/bin/common-functions.sh
@@ -137,14 +137,14 @@ cleanup_schroot_sessions() {
for loop in $(seq 0 40) ; do
# first, check if no process using "schroot" is running, if thats the case, loop through all schroot sessions:
# arch sessions are ignored, because they are handled properly
- pgrep -f "schroot --directory" || for i in $(schroot --all-sessions -l |grep -v "session:archlinux"||true) ; do
+ pgrep -f "schroot --directory" || for i in $(schroot --all-sessions -l |grep -v "session:jenkins-reproducible-archlinux"||true) ; do
# then, check that schroot is still not run, and then delete the session
if [ -z $i ] ; then
continue
fi
pgrep -f "schroot --directory" || schroot -e -c $i
done
- RESULT=$(schroot --all-sessions -l|grep -v "session:archlinux"||true)
+ RESULT=$(schroot --all-sessions -l|grep -v "session:jenkins-reproducible-archlinux"||true)
if [ -z "$RESULT" ] ; then
echo "No schroot sessions in use atm..."
echo
--
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