[Qa-jenkins-scm] [jenkins.debian.net] 01/01: fixup: only update job when there have been changes
Holger Levsen
holger at moszumanska.debian.org
Thu May 14 12:47:21 UTC 2015
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 19c8bc3bf374d52427c66fd8bc4db5b2909b3da0
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu May 14 14:46:53 2015 +0200
fixup: only update job when there have been changes
---
update_jdn.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/update_jdn.sh b/update_jdn.sh
index 5130b4b..28fb2ef 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -260,7 +260,7 @@ STAMP=/var/log/jenkins/jobs-updated.stamp
cd /srv/jenkins/job-cfg
for metaconfig in *.yaml.py ; do
python $metaconfig > $TMPFILE
- if ! $(diff $metaconfig $TMPFILE > /dev/null) ; then
+ if ! $(diff ${metaconfig%.py} $TMPFILE > /dev/null) ; then
cp $TMPFILE ${metaconfig%.py}
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