[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] fix pattern matching to really find all the zombies...
Mattia Rizzolo
gitlab at salsa.debian.org
Mon May 20 18:47:47 BST 2019
Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net
Commits:
33fa12bb by Mattia Rizzolo at 2019-05-20T17:47:25Z
fix pattern matching to really find all the zombies...
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
- - - - -
1 changed file:
- job-cfg/Makefile
Changes:
=====================================
job-cfg/Makefile
=====================================
@@ -23,7 +23,8 @@ jobs-names.txt: $(OUTS)
sed -n 's/^INFO:jenkins_jobs.builder:Job name: //p' $(OUTS) > $@
zombie-names.txt: jobs-names.txt ~jenkins/jobs/
- ls ~jenkins/jobs/ | grep -f jobs-names.txt -F -v > $@
+ ls ~jenkins/jobs/ | grep -f jobs-names.txt -F -x -v > $@
+ @if [ -s $@ ]; then echo "@@ ZOMBIE FOUND: @@" ; cat $@ ; fi
clean:
- -rm $(OUTPUTS)
+ -$(RM) $(OUTPUTS)
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/33fa12bb349efccd04eb8a6a72713adeb0e9022d
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/33fa12bb349efccd04eb8a6a72713adeb0e9022d
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190520/72fcf456/attachment.html>
More information about the Qa-jenkins-scm
mailing list