mirror of
https://github.com/lubuntu-team/ci-tooling.git
synced 2025-03-10 06:31:09 +00:00
Also pass the release (manually inject it into the iterated variable).
This commit is contained in:
parent
816b53d71a
commit
0a866485a0
@ -130,7 +130,7 @@ class Generator:
|
||||
PACKAGING_BRANCH=branch,
|
||||
UPSTREAM_URL=upstream,
|
||||
NAME=data["name"],
|
||||
RELEASE=release,
|
||||
RELEASE=data["release"],
|
||||
UPLOAD_TARGET=upload_target)
|
||||
else:
|
||||
raise ValueError("Invalid job type")
|
||||
@ -169,6 +169,7 @@ class Generator:
|
||||
for release in package["releases"]:
|
||||
job_name = release + "_" + package["name"]
|
||||
# Load the config given the current data
|
||||
package["release"] = release
|
||||
package_config = self.load_config("package", package)
|
||||
if job_name in jobs:
|
||||
job = server.get_job(job_name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user