]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
make jenkins build fail if upload fails
authorHolger Levsen <holger@layer-acht.org>
Wed, 18 Jan 2012 17:39:56 +0000 (18:39 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 18 Jan 2012 17:39:56 +0000 (18:39 +0100)
debian_build.py

index dc4b7091d4c32041c739723d81c6bfdc25e19076..691c47c6b36cb41c96629fba8e15aa7e1e384446 100755 (executable)
@@ -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')