]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix synxtax
authorHolger Levsen <holger@layer-acht.org>
Thu, 27 Sep 2012 15:19:07 +0000 (17:19 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 27 Sep 2012 15:19:07 +0000 (17:19 +0200)
debian_build.py

index 33b7e0d995a04930778bd4e189ed07e4469416bc..be00d0fa06493a16c14abc00d89d365dfbc775a9 100755 (executable)
@@ -572,6 +572,7 @@ if __name__ == '__main__':
     BUILD_END = datetime.datetime.now()
     # FIXME: must not add development builds... or maybe?
     # cidb wise, we only care about builds from master, hotfix + develop
+    package_instances=[]
     if GIT_BRANCH_NAME == 'master' or GIT_BRANCH_NAME == 'develop' or GIT_BRANCH_NAME.startswith('hotfix/'):
         try:
             package_instances = add_package_instance("profitbricks", BUILD_JOBNAME, BUILD_NUMBER, changes_file, version, BUILD_START, BUILD_END)