fix pattern matching to really find all the zombies...

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 64c04201
...@@ -23,7 +23,8 @@ jobs-names.txt: $(OUTS) ...@@ -23,7 +23,8 @@ jobs-names.txt: $(OUTS)
sed -n 's/^INFO:jenkins_jobs.builder:Job name: //p' $(OUTS) > $@ sed -n 's/^INFO:jenkins_jobs.builder:Job name: //p' $(OUTS) > $@
zombie-names.txt: jobs-names.txt ~jenkins/jobs/ 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: clean:
-rm $(OUTPUTS) -$(RM) $(OUTPUTS)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment