Remove --quiet from git diff 80/13880/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 30 Dec 2014 15:56:36 +0000 (10:56 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 30 Dec 2014 15:57:45 +0000 (10:57 -0500)
Sometimes --quiet returns exit status 0 the first time git diff is run
and then returns exit status 1 in 2nd attempts and onwards. Not sure why
but it's causing the builder-merge job to miss template updates
sometimes.

Change-Id: Ica65d017521d0e436135256a6abbaaba1f8c55db
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/include-raw-jjb-update.sh

index 5261e48dfdcb257f9f5c3d1ab13b02bce7a60f0e..0aa0c669a9f9f64de7de4eedb5276b83f7e585ff 100644 (file)
@@ -9,4 +9,4 @@ function submitJJB {
 
 gitdir=$(git rev-parse --git-dir); scp -p -P 29418 jenkins-releng@git.opendaylight.org:hooks/commit-msg ${gitdir}/hooks/
 python scripts/jjb-autoupdate-project.py
-git diff --quiet --exit-code || submitJJB
+git diff --exit-code || submitJJB