]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
Revert "dont fail for the moment"
authorHolger Levsen <holger@layer-acht.org>
Fri, 12 Oct 2012 10:15:20 +0000 (12:15 +0200)
committerHolger Levsen <holger@layer-acht.org>
Fri, 12 Oct 2012 10:15:20 +0000 (12:15 +0200)
This reverts commit 2c57b4de7e059f580c57a6675a66e505edff84fb.

debian_build.py

index e76fdec664ed35e4b0da0671c92b1760d0a5f273..ece00ad0b4dabf4620fb6872cbb56dd0fde5a75d 100755 (executable)
@@ -575,10 +575,10 @@ if __name__ == '__main__':
         try:
             package_instances = add_package_instances("profitbricks", BUILD_JOBNAME, BUILD_NUMBER, changes_file, version, BUILD_START, BUILD_END)
         except Exception, error:
-            #cmd = ['figlet-figlet', '-t', 'CIDB problem:']
-            #subprocess.check_call(cmd)
+            cmd = ['figlet-figlet', '-t', 'CIDB problem:']
+            subprocess.check_call(cmd)
             logger.error("package instance not added to DB")
-            #exit_error()
+            exit_error()
         if len(package_instances) > 0:
             try:
                 add_liveboot_request(package_instances)