public TfsBuildProvider(VssConnection connection, string projectId)
        {
            _connection = connection;
            _projectId  = projectId;

            User = new TfsUser(_connection.AuthenticatedIdentity);
        }
Пример #2
0
        public TfsBuild(Build build)
        {
            _id = build.Url;
            Id  = build.Id.ToString();

            QueueTime  = build.QueueTime;
            BranchName = build.SourceBranch;

            _nativeResult = build.Result;
            _nativeStatus = build.Status;

            RequestedBy  = new TfsUser(build.RequestedBy);
            RequestedFor = new TfsUser(build.RequestedFor);
            Definition   = new TfsBuildDefinition(build.Definition);
        }