Merge "Pass all zuul arguments to the job's shell script"
This commit is contained in:
commit
142061c08a
@ -210,9 +210,14 @@ class ShellTask(Task):
|
||||
'unique_id': self.job.unique
|
||||
}
|
||||
)
|
||||
|
||||
env_args = copy.deepcopy(os.environ)
|
||||
env_args.update(self.job_arguments)
|
||||
|
||||
self.script_return_code = utils.execute_to_log(
|
||||
cmd,
|
||||
self.shell_output_log
|
||||
self.shell_output_log,
|
||||
env=env_args
|
||||
)
|
||||
|
||||
@common.task_step
|
||||
|
Loading…
x
Reference in New Issue
Block a user