[Qa-jenkins-scm] [jenkins.debian.net] 01/01: fix syntax

Holger Levsen holger at moszumanska.debian.org
Wed Mar 9 14:31:14 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 287f0dcf0a63b64d065bccb95fbdaaaa7a77d405
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Mar 9 15:31:03 2016 +0100

    fix syntax
---
 bin/diffoscope_pypi_test.sh | 6 ++----
 job-cfg/reproducible.yaml   | 2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/bin/diffoscope_pypi_test.sh b/bin/diffoscope_pypi_test.sh
index 88dd850..288e165 100755
--- a/bin/diffoscope_pypi_test.sh
+++ b/bin/diffoscope_pypi_test.sh
@@ -4,14 +4,13 @@
 # released under the GPLv=2
 
 DEBUG=false
-#. /srv/jenkins/bin/common-functions.sh
-#common_init "$@"
+. /srv/jenkins/bin/common-functions.sh
+common_init "$@"
 
 cleanup_all() {
 	rm $TMPPYPI
 }
 
-
 #
 # main
 #
@@ -23,7 +22,6 @@ curl https://pypi.python.org/pypi/diffoscope/ -o $TMPPYPI
 DIFFOSCOPE_IN_PYPI=$(grep "<title>" $TMPPYPI | cut -d ">" -f2- | cut -d ":" -f1 |cut -d " " -f2)
 echo
 echo
-
 if [ "$DIFFOSCOPE_IN_DEBIAN" = "$DIFFOSCOPE_IN_PYPI" ] ; then
 	echo "Yay. diffoscope in Debian has the same version as on PyPI."
 elif dpkg --compare-versions "$DIFFOSCOPE_IN_DEBIAN" gt "$DIFFOSCOPE_IN_PYPI" ; then
diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index c0c3d3b..10d5431 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -461,7 +461,7 @@
                     my_description: 'Build a simple webpage for Fedora 23 reproducibility tests'
                     my_timed: ''
                     my_shell: '/srv/jenkins/bin/reproducible_html_rpms.sh fedora-23 x86_64'
-                - 'diffoscope_pypi'
+                - 'diffoscope_pypi':
                     my_description: 'Test whether PyPI has the latest diffoscope.'
                     my_timed: '23 23 * * *'
                     my_shell: '/srv/jenkins/bin/diffoscope_pypi_test.sh'

-- 
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