From: Holger Levsen Date: Thu, 25 Aug 2011 15:33:21 +0000 (+0200) Subject: scp as reprepro user and to the right directory X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=48cb5c57f05ef46344a33f5733931fdd1abdc1cb;p=profitbricks%2Fjenkins-build-scripts.git scp as reprepro user and to the right directory --- diff --git a/build.py b/build.py index b2c1834..a93fc98 100755 --- a/build.py +++ b/build.py @@ -86,8 +86,8 @@ if not DPUT_URI: DPUT_OPTIONS = { 'fqdn': DPUT_URI.groupdict().get('url'), 'method': 'scp', - 'login': 'jenkins', - 'incoming': '/srv/debian-repository/incoming', + 'login': 'reprepro', + 'incoming': '/srv/debian-repository/incoming/%s' %(os.environ.get('DISTRIBUTION')), 'allow_unsigned_uploads': 0 } DPUT_CF = os.path.join(GIT_TARGET_WORKSPACE, 'dput.cf')