]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
gah
authorHolger Levsen <holger@layer-acht.org>
Thu, 25 Aug 2011 12:57:04 +0000 (14:57 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 25 Aug 2011 12:57:04 +0000 (14:57 +0200)
build.py

index 4b745aa3b0a296c4576e6d325786f1fcd273e17e..542c8679037d24bd365e1899e62dcee16daaf06b 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -375,28 +375,28 @@ if __name__ == '__main__':
 
     exit_ok()
 
-class GitBuildPackage(object):
-        def __init__(self, upstream_branch=None,
-                            debian_branch=None, dist=None, arch=None)
-
-        ftp = FTP(
-                'alexandria.profitbricks.localdomain',
-                'debian-uploader',
-                'vae6tooZe1ec'
-        )
-
-        logger.info('Log in on %s successfull' %(ftp.host))
-
-        ftp.cwd('experimental')
-        for package in glob(
-                os.path.join(GIT_TARGET_WORKSPACE, '*.deb')
-        ):
-            fh = open(package, 'rb', 1)
-            ftp.storbinary(
-                    'STOR %s' %(os.path.basename(package)),
-                    fh
-            )
-            fh.close()
-            logger.info('Successfully uploaded %s' %(package))
-        ftp.quit()
-    exit_ok()
+#class GitBuildPackage(object):
+#        def __init__(self, upstream_branch=None,
+#                            debian_branch=None, dist=None, arch=None)
+#
+#        ftp = FTP(
+#                'alexandria.profitbricks.localdomain',
+#                'debian-uploader',
+#                'vae6tooZe1ec'
+#        )
+#
+#        logger.info('Log in on %s successfull' %(ftp.host))
+#
+#        ftp.cwd('experimental')
+#        for package in glob(
+#                os.path.join(GIT_TARGET_WORKSPACE, '*.deb')
+#        ):
+#            fh = open(package, 'rb', 1)
+#            ftp.storbinary(
+#                    'STOR %s' %(os.path.basename(package)),
+#                    fh
+#            )
+#            fh.close()
+#            logger.info('Successfully uploaded %s' %(package))
+#        ftp.quit()
+#    exit_ok()