bug 1442793 - generated sources artifact_prefix. r=bhearsum
authorAki Sasaki <asasaki@mozilla.com>
Wed, 07 Mar 2018 14:10:13 -0800
changeset 467490 25ea434bd55e0c01a84c3cf7cc3a69765ec5e37b
parent 467489 e7821c5c236acf59a622f920ca0161193716cb40
child 467491 298f38a58ec78363f7e09049dc4ca50e24f003af
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhearsum
bugs1442793
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1442793 - generated sources artifact_prefix. r=bhearsum MozReview-Commit-ID: 9vUBy1yMX8r
taskcluster/taskgraph/transforms/upload_generated_sources.py
--- a/taskcluster/taskgraph/transforms/upload_generated_sources.py
+++ b/taskcluster/taskgraph/transforms/upload_generated_sources.py
@@ -29,15 +29,17 @@ def add_task_info(config, jobs):
         # Copy over some bits of metdata from the build task.
         dep_th = dep_task.task['extra']['treeherder']
         job.setdefault('attributes', {})
         job['attributes']['build_platform'] = dep_task.attributes.get('build_platform')
         plat = '{}/{}'.format(dep_th['machine']['platform'], dep_task.attributes.get('build_type'))
         job['treeherder']['platform'] = plat
         job['treeherder']['tier'] = dep_th['tier']
         # Add an environment variable pointing at the artifact from the build.
+        # XXX This will break with any non-public artifact_prefix, but I believe
+        # these tasks are going away with buildbot.
         artifact_url = get_artifact_url('<build>',
                                         'public/build/target.generated-files.tar.gz')
         job['worker'].setdefault('env', {})['ARTIFACT_URL'] = {
             'task-reference': artifact_url
         }
 
         yield job