Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 802317. Add senchanges to b2g panda builds. r=aki

  • Loading branch information...
commit 6cf547ff9c523ca5711de99def88e581bcc84277 1 parent df5460a
@armenzg armenzg authored
Showing with 19 additions and 0 deletions.
  1. +1 −0  configs/b2g/releng.py
  2. +18 −0 scripts/b2g_build.py
View
1  configs/b2g/releng.py
@@ -22,6 +22,7 @@
"vcs_share_base": "/builds/hg-shared",
"vcs_base_mirror_urls": ["http://hg-internal.dmz.scl3.mozilla.com"],
"vcs_base_bundle_urls": ["http://ftp.mozilla.org/pub/mozilla.org/firefox/bundles"],
+ "sendchange_masters": ["buildbot-master36.build.mozilla.org:9301"],
"exes": {
"tooltool.py": "/tools/tooltool.py",
},
View
18 scripts/b2g_build.py
@@ -557,6 +557,24 @@ def upload(self):
)
self.info("Upload successful: %s" % upload_url)
+ if self.config["target"] == "panda" and self.config.get('sendchange_masters'):
+ buildbot = self.query_exe("buildbot", return_type="list")
+ retcode = self.run_command(
+ buildbot + ['sendchange',
+ '--master', self.config.get("sendchange_masters")[0],
+ '--username', 'sendchange-unittest',
+ '--branch', '%s-b2g_panda-opt-unittest' % self.buildbot_config["properties"]["branch"],
+ '--revision', self.buildbot_config['sourcestamp']["revision"],
+ '--who', self.buildbot_config['sourcestamp']['changes'][0]['who'],
+ '--comments', self.buildbot_config['sourcestamp']['changes'][0]['comments'],
+ '--property', "buildid:%s" % self.buildbot_config["properties"]["buildid"],
+ '--property', 'pgo_build:False',
+ '--property', "builduid:%s" % self.buildbot_config["properties"]["builduid"],
+ upload_url]
+ )
+
+ if retcode != 0:
+ self.info("The sendchange failed but we don't want to turn the build orange: %s" % retcode)
def make_update_xml(self):
if not self.query_is_nightly():
Please sign in to comment.
Something went wrong with that request. Please try again.