137
137
def _configure_job(instance, env, node, publish, job_args, dryrun):
138
138
tmpl = env.get_template('config.xml.jinja2')
139
cfg = tmpl.render(node=node, branch=_get_branch(), publish=publish, **job_args)
140
143
jobname = _get_job_name(job_args)
141
144
if instance.job_exists(jobname):
142
145
logging.info('reconfiguring job %s', jobname)