2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
8 function CTBuilder(masterUrl, builder, failingBuildCount) {
9 this.masterUrl = masterUrl;
10 this.builder = builder;
11 this.failingBuildCount = failingBuildCount;
12 this.buildUrl = "{1}/builders/{2}".assign(
13 masterUrl, encodeURIComponent(builder));