autobuilder: Stick 'buildmaster' in ref names

Then later we can put 'smoketested' there, and such.
This commit is contained in:
Colin Walters 2014-01-31 17:11:43 -05:00
parent c76cee28fc
commit 0f4ff6c2cf

View File

@ -151,13 +151,14 @@ const TaskBuild = new Lang.Class({
let failed = []; let failed = [];
let unchanged = []; let unchanged = [];
let productTrees = {}; let productTrees = {};
let buildmasterName = 'buildmaster';
for (let i = 0; i < releases.length; i++) { for (let i = 0; i < releases.length; i++) {
for (let j = 0; j < architectures.length; j++) { for (let j = 0; j < architectures.length; j++) {
for (let productName in products) { for (let productName in products) {
for (let treeName in products[productName]) { for (let treeName in products[productName]) {
let release = releases[i]; let release = releases[i];
let architecture = architectures[j]; 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 && if (this.parameters.onlyTreesMatching &&
ref.indexOf(this.parameters.onlyTreesMatching) == -1) { ref.indexOf(this.parameters.onlyTreesMatching) == -1) {
log("Skipping " + ref + " which does not match " + this.parameters.onlyTreesMatching); log("Skipping " + ref + " which does not match " + this.parameters.onlyTreesMatching);