|
|
@ -130,7 +130,7 @@ class Generator:
|
|
|
|
PACKAGING_BRANCH=branch,
|
|
|
|
PACKAGING_BRANCH=branch,
|
|
|
|
UPSTREAM_URL=upstream,
|
|
|
|
UPSTREAM_URL=upstream,
|
|
|
|
NAME=data["name"],
|
|
|
|
NAME=data["name"],
|
|
|
|
RELEASE=release,
|
|
|
|
RELEASE=data["release"],
|
|
|
|
UPLOAD_TARGET=upload_target)
|
|
|
|
UPLOAD_TARGET=upload_target)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
raise ValueError("Invalid job type")
|
|
|
|
raise ValueError("Invalid job type")
|
|
|
@ -169,6 +169,7 @@ class Generator:
|
|
|
|
for release in package["releases"]:
|
|
|
|
for release in package["releases"]:
|
|
|
|
job_name = release + "_" + package["name"]
|
|
|
|
job_name = release + "_" + package["name"]
|
|
|
|
# Load the config given the current data
|
|
|
|
# Load the config given the current data
|
|
|
|
|
|
|
|
package["release"] = release
|
|
|
|
package_config = self.load_config("package", package)
|
|
|
|
package_config = self.load_config("package", package)
|
|
|
|
if job_name in jobs:
|
|
|
|
if job_name in jobs:
|
|
|
|
job = server.get_job(job_name)
|
|
|
|
job = server.get_job(job_name)
|
|
|
|