|
|
|
@ -139,13 +139,15 @@ class Generator:
|
|
|
|
|
url = package["packaging_url"]
|
|
|
|
|
branch = package["packaging_branch"]
|
|
|
|
|
upstream = package["upstream_url"]
|
|
|
|
|
upload_target = package["upload_target"]
|
|
|
|
|
# TODO: This is just a dummy command to run in order to test
|
|
|
|
|
# the config updating
|
|
|
|
|
package_config = template.render(PACKAGING_URL=url,
|
|
|
|
|
PACKAGING_BRANCH=branch,
|
|
|
|
|
UPSTREAM_URL=upstream,
|
|
|
|
|
NAME=package["name"],
|
|
|
|
|
RELEASE=release)
|
|
|
|
|
RELEASE=release,
|
|
|
|
|
UPLOAD_TARGET=upload_target)
|
|
|
|
|
if job_name in jobs:
|
|
|
|
|
job = server.get_job(job_name)
|
|
|
|
|
job.update_config(package_config)
|
|
|
|
|