]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
always upload to alexandria
authorHolger Levsen <holger@layer-acht.org>
Thu, 13 Oct 2011 10:09:51 +0000 (12:09 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 13 Oct 2011 10:09:51 +0000 (12:09 +0200)
debian_build.py

index cda6e2324db08bb5ac5eb8fb10ecac24bd09ae8b..bd38c89bcdcb5230dac5374085ee80171601c07b 100755 (executable)
@@ -77,15 +77,8 @@ SMTP_BUILD_SUCCESS = 'SUCCESSFUL'
 SMTP_BUILD_ERROR = 'NOT SUCCESSFUL'
 SMTP_FROM = '%s@profitbricks.com' %(pwd.getpwuid(os.geteuid()).pw_name)
 
-CRE_URI = re.compile(r'(?P<proto>\w+)\:\/\/(?P<url>[a-zA-Z0-9\-\_\.\+]+)\/(?P<dir>.*)$')
-DPUT_URI = CRE_URI.match(GIT_REPO_PATH)
-if not DPUT_URI:
-    raise Exception(
-            'could not build DPUT_URI from "%s"'
-            %(GIT_REPO_PATH)
-    )
 DPUT_OPTIONS = {
-        'fqdn': DPUT_URI.groupdict().get('url'),
+        'fqdn': 'alexandria.profitbricks.localdomain',
         'method': 'scp',
         'login': 'reprepro',
         'incoming': '/srv/profitbricks-repository/incoming/profitbricks',