]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
scp as reprepro user and to the right directory
authorHolger Levsen <holger@layer-acht.org>
Thu, 25 Aug 2011 15:33:21 +0000 (17:33 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 25 Aug 2011 15:33:21 +0000 (17:33 +0200)
build.py

index b2c1834a1e2eb44f222dbdcf02dc1b597f0a41b6..a93fc987cc8d140209a24b5c23175fd41e4a520f 100755 (executable)
--- 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')