Merge "Pass all zuul arguments to the job's shell script"

This commit is contained in:
Jenkins 2014-11-28 00:27:06 +00:00 committed by Gerrit Code Review
commit 142061c08a

View File

@ -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