From: Holger Levsen Date: Wed, 18 Jan 2012 17:39:56 +0000 (+0100) Subject: make jenkins build fail if upload fails X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=780b0c19b1225a38c4a33f5b672ba54e911c5f2e;p=profitbricks%2Fjenkins-build-scripts.git make jenkins build fail if upload fails --- diff --git a/debian_build.py b/debian_build.py index dc4b709..691c47c 100755 --- a/debian_build.py +++ b/debian_build.py @@ -70,6 +70,7 @@ DPUT_OPTIONS = { 'login': 'reprepro', 'incoming': '/srv/profitbricks-repository/incoming/profitbricks', 'allow_unsigned_uploads': 1, + 'post_upload_command': 'ssh alexandria.profitbricks.localdomain /srv/profitbricks-repository/bin/pb_processincoming', } DPUT_CF = os.path.join(GIT_TARGET_WORKSPACE, 'dput.cf')