Bug 1341727 - Removed invalid arguments in action callback template. r=dustin,wlach

MozReview-Commit-ID: 1rIhRMjbewL

--HG--
extra : rebase_source : b712dca7aaa923fd3424971d89ef88605ceba6a9
This commit is contained in:
Jonas Finnemann Jensen 2017-02-24 13:27:20 -08:00
parent e8d8814b95
commit abaaf7cd38

View File

@ -224,19 +224,7 @@ def register_callback_action(title, symbol, description, order=10000, context=[]
"""\
cd /home/worker/checkouts/gecko &&
ln -s /home/worker/artifacts artifacts &&
./mach --log-no-times taskgraph action-callback """ + ' '.join([
"--pushlog-id='{}'".format(parameters['pushlog_id']),
"--pushdate='{}'".format(parameters['pushdate']),
"--project='{}'".format(parameters['project']),
"--message='{}'".format(parameters['message'].replace("'", "'\\''")),
"--owner='{}'".format(parameters['owner']),
"--level='{}'".format(parameters['level']),
"--base-repository='https://hg.mozilla.org/mozilla-central'",
"--head-repository='{}'".format(parameters['head_repository']),
"--head-ref='{}'".format(parameters['head_ref']),
"--head-rev='{}'".format(parameters['head_rev']),
"--revision-hash='{}'\n".format(parameters['head_rev']),
]),
./mach --log-no-times taskgraph action-callback""",
],
},
'extra': {