From: Robin Wittler Date: Mon, 8 Aug 2011 15:55:33 +0000 (+0200) Subject: commented out the dput stuff X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=bb417ff086512ee5f7532ad9e1069f9aa59b31ed;p=profitbricks%2Fjenkins-build-scripts.git commented out the dput stuff --- diff --git a/testgit_build.py b/testgit_build.py index f908131..65a03a3 100755 --- a/testgit_build.py +++ b/testgit_build.py @@ -74,8 +74,15 @@ SMTP_BUILD_SUCCESS = 'SUCCESSFULL' SMTP_BUILD_ERROR = 'NOT SUCCESSFULL' SMTP_FROM = '%s@profitbricks.com' %(pwd.getpwuid(os.geteuid()).pw_name) +CRE_URI = re.compile(r'(?P\w+)\:\/\/(?P[a-zA-Z0-9\-\_\.\+]+)\/(?P.*)$') +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': 'minden.profitbricks.localdomain', + 'fqdn': DPUT_URI.get('url'), 'method': 'scp', 'login': 'jenkins', 'incoming': '/srv/debian-repository/incoming', @@ -265,8 +272,8 @@ if __name__ == '__main__': 'This is the output of git-buildpackage: \n%s' %(ret) ) - create_dput_cfg() - dput_package_upload() + #create_dput_cfg() + #dput_package_upload() exit_ok()