From 8a5215e5b6b0e5c22b9ad2a455c520415537010c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 2 Nov 2011 18:13:49 +0100 Subject: [PATCH] try to trigger correctly --- debian_build.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian_build.py b/debian_build.py index 2c9d043..f9139ec 100755 --- a/debian_build.py +++ b/debian_build.py @@ -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( ( -- 2.39.5