]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix bug for wrong dput match object
authorRobin Wittler <robin.wittler@profitbricks.com>
Tue, 9 Aug 2011 13:26:23 +0000 (15:26 +0200)
committerRobin Wittler <robin.wittler@profitbricks.com>
Tue, 9 Aug 2011 13:26:23 +0000 (15:26 +0200)
testgit_build.py

index 65a03a38e0b02893b974931fe46e2b6943e990f3..22d678b0c3945720113f7426585be0bc1c3001cd 100755 (executable)
@@ -82,12 +82,12 @@ if not DPUT_URI:
             %(GIT_REPO_PATH)
     )
 DPUT_OPTIONS = {
-        'fqdn': DPUT_URI.get('url'),
+        'fqdn': DPUT_URI.groupdict().get('url'),
         'method': 'scp',
         'login': 'jenkins',
         'incoming': '/srv/debian-repository/incoming',
         'allow_unsigned_uploads': 0
-}
+        }
 DPUT_CF = os.path.join(GIT_TARGET_WORKSPACE, 'dput.cf')
 
 log_format = '%(asctime)s %(name)s[%(process)d] %(levelname)s: %(message)s'