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'
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(
(