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)