mirror of
https://github.com/lubuntu-team/ci-tooling.git
synced 2025-05-04 14:11:29 +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,
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user