Bug 1252235: shell-quote the commit message; r?chmanchester draft
authorDustin J. Mitchell <dustin@mozilla.com>
Fri, 02 Sep 2016 19:32:08 +0000
changeset 409418 5742f0d3cef5430c00fcb45333f2eee51bff01d2
parent 406745 bfd9274acb82b0c829f20c6d8143520ebe95d5ca
child 530331 b05dd0e1e4a3ac59ed39b92d8031c7cb7cfdd02e
push id28460
push userdmitchell@mozilla.com
push dateFri, 02 Sep 2016 19:32:39 +0000
reviewerschmanchester
bugs1252235
milestone51.0a1
Bug 1252235: shell-quote the commit message; r?chmanchester MozReview-Commit-ID: 2gKIi84Ygkx
.taskcluster.yml
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -99,17 +99,17 @@ tasks:
           - -cx
           - >
               cd /home/worker/checkouts/gecko &&
               ln -s /home/worker/artifacts artifacts &&
               ./mach --log-no-times taskgraph decision
               --pushlog-id='{{pushlog_id}}'
               --pushdate='{{pushdate}}'
               --project='{{project}}'
-              --message='{{comment}}'
+              --message='{{#shellquote}}{{{comment}}}{{/shellquote}}'
               --owner='{{owner}}'
               --level='{{level}}'
               --base-repository='https://hg.mozilla.org/mozilla-central'
               --head-repository='{{{url}}}'
               --head-ref='{{revision}}'
               --head-rev='{{revision}}'
               --revision-hash='{{revision_hash}}'