Bug 1475598 - make signed Windows builds work on try-comm-central. r=tomprince
authorJorg K <jorgk@jorgk.com>
Wed, 15 Aug 2018 23:58:04 +0200
changeset 30373 9b1ad998de16089c93b8ef5b74c39a7259d6b617
parent 30372 85241e2b0b02a6a785b91c5008af7864678c3598
child 30374 5d37f39381a374dcd8c39b258c944ac199c0d60c
push idunknown
push userunknown
push dateunknown
reviewerstomprince
bugs1475598
Bug 1475598 - make signed Windows builds work on try-comm-central. r=tomprince
.taskcluster.yml
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -102,17 +102,19 @@ tasks:
               COMM_BASE_REPOSITORY: 'https://hg.mozilla.org/comm-central'
               COMM_HEAD_REPOSITORY: '${repoUrl}'
               COMM_HEAD_REF: '${push.revision}'
               COMM_HEAD_REV: '${push.revision}'
               HG_STORE_PATH: /buillds/worker/checkouts/hg-store
               TASKCLUSTER_CACHES: /builds/worker/checkouts
             - $if: 'tasks_for != "action"'
               then:
-                COMM_COMMIT_MSG: '${push.comment}'
+                # scriptworker expects an environment variable named GECKO_COMMIT_MSG,
+                # see: https://github.com/mozilla-releng/scriptworker/blob/master/scriptworker/task.py
+                GECKO_COMMIT_MSG: '${push.comment}'
             - $if: 'tasks_for == "action"'
               then:
                 ACTION_TASK_GROUP_ID: '${ownTaskId}'
                 ACTION_TASK_ID: {$json: {$eval: 'taskId'}}
                 ACTION_TASK: {$json: {$eval: 'task'}}
                 ACTION_INPUT: {$json: {$eval: 'input'}}
                 ACTION_CALLBACK: '${action.cb_name}'
                 ACTION_PARAMETERS: {$json: {$eval: 'parameters'}}
@@ -154,17 +156,17 @@ tasks:
               else: >
                 cd /builds/worker/checkouts/gecko &&
                 ln -s /builds/worker/artifacts artifacts &&
                 ./mach --log-no-times taskgraph decision
                 --root=comm/taskcluster/ci
                 --pushlog-id='${push.pushlog_id}'
                 --pushdate='${push.pushdate}'
                 --project='${repository.project}'
-                --message="$COMM_COMMIT_MSG"
+                --message="$GECKO_COMMIT_MSG"
                 --owner='${ownerEmail}'
                 --level='${repository.level}'
                 --base-repository="$GECKO_BASE_REPOSITORY"
                 --head-repository="$GECKO_HEAD_REPOSITORY"
                 --head-ref="$GECKO_HEAD_REF"
                 --head-rev="$GECKO_HEAD_REV"
                 --comm-base-repository="$COMM_BASE_REPOSITORY"
                 --comm-head-repository="$COMM_HEAD_REPOSITORY"