From 0f4ff6c2cf98e33277e389cc4c6fc7218a8c8079 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 31 Jan 2014 17:11:43 -0500 Subject: [PATCH] autobuilder: Stick 'buildmaster' in ref names Then later we can put 'smoketested' there, and such. --- src/autobuilder/js/tasks/task-build.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/autobuilder/js/tasks/task-build.js b/src/autobuilder/js/tasks/task-build.js index 3f52ebb2..52ca2f47 100644 --- a/src/autobuilder/js/tasks/task-build.js +++ b/src/autobuilder/js/tasks/task-build.js @@ -151,13 +151,14 @@ const TaskBuild = new Lang.Class({ let failed = []; let unchanged = []; let productTrees = {}; + let buildmasterName = 'buildmaster'; for (let i = 0; i < releases.length; i++) { for (let j = 0; j < architectures.length; j++) { for (let productName in products) { for (let treeName in products[productName]) { let release = releases[i]; let architecture = architectures[j]; - let ref = [this._productData['osname'], release, architecture, productName, treeName].join('/'); + let ref = [this._productData['osname'], release, architecture, buildmasterName, productName, treeName].join('/'); if (this.parameters.onlyTreesMatching && ref.indexOf(this.parameters.onlyTreesMatching) == -1) { log("Skipping " + ref + " which does not match " + this.parameters.onlyTreesMatching);