]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
try to trigger correctly
authorHolger Levsen <holger@layer-acht.org>
Wed, 2 Nov 2011 17:13:49 +0000 (18:13 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 2 Nov 2011 17:13:49 +0000 (18:13 +0100)
debian_build.py

index 2c9d043e854d72bbbcfffac8cc7bf0dd3854ad5a..f9139ec99bf37ea426e8289a5be1530576ae925b 100755 (executable)
@@ -25,7 +25,7 @@ from lib import git_buildpackage
 from multiprocessing import cpu_count
 from ConfigParser import SafeConfigParser
 
-JOB_URL = 'http://rwittler:MiMaMopel@jenkins:80/job/%(repo_path)s/buildWithParameters?'
+JOB_URL = 'http://rwittler:MiMaMopel@jenkins:80/job/%(flavour)s/buildWithParameters?'
 JOB_DELAY = '0sec'
 
 GIT = '/usr/bin/git'
@@ -499,12 +499,12 @@ if __name__ == '__main__':
             FLAVOURS_FILE=os.path.join(GIT_TARGET_WORKSPACE, GIT_REPO_NAME, "debian/pb_flavours")
             fh = open(FLAVOURS_FILE, 'r')
 
-            urlencode_expansion_dict = {
-                'repo_path': repo_path
-            }
 
             for flavour in fh.readlines():
                 LINUX_FLAVOUR_REPO_PATH = '/srv/git/r+i/linux-%s.git' % flavour
+                urlencode_expansion_dict = {
+                   'flavour': 'linux-%s' % flavour
+                }
                 url = HudsonUrl()
                 data = urllib.urlencode(
                     (