[Qa-jenkins-scm] [jenkins.debian.net] 08/11: lvc: discard snapsots when lvc.yaml is updated
Holger Levsen
holger at layer-acht.org
Fri Jun 3 00:48:10 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 c9fede781511e63a7a709c4b98a3c60217584eb5
Author: Philip Hands <phil at hands.com>
Date: Thu Jun 2 20:03:13 2016 +0200
lvc: discard snapsots when lvc.yaml is updated
---
bin/lvc.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/lvc.sh b/bin/lvc.sh
index 004aefe..0ed3f61 100755
--- a/bin/lvc.sh
+++ b/bin/lvc.sh
@@ -45,7 +45,7 @@ discard_stale_snapshots() {
sudo /usr/bin/virsh -q snapshot-list $domain | \
while read snap date time tz state ; do
- if [ "$(find /srv/jenkins/cucumber /srv/jenkins/bin/lvc.sh $netboot -newermt "$date $time $tz" -print -quit)" ] ; then
+ if [ "$(find /srv/jenkins/cucumber /srv/jenkins/bin/lvc.sh /srv/jenkins/job-cfg/lvc.yaml $netboot -newermt "$date $time $tz" -print -quit)" ] ; then
sudo /usr/bin/virsh snapshot-delete $domain $snap
fi
done
--
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