Exemplo n.º 1
0
 public List <Build> BuildConfigsByConfigIdAndTag(string buildConfigId, string[] tags)
 {
     return(BuildsByBuildLocator(BuildLocator.WithDimensions(
                                     buildType: BuildTypeLocator.WithId(buildConfigId),
                                     tags: tags
                                     )));
 }
Exemplo n.º 2
0
 public Build LastBuildByBuildConfigId(string buildConfigId)
 {
     return(BuildsByBuildLocator(BuildLocator.WithDimensions(
                                     buildType: BuildTypeLocator.WithId(buildConfigId),
                                     maxResults: 1
                                     )).SingleOrDefault());
 }
Exemplo n.º 3
0
 public List <Build> ErrorBuildsByBuildConfigId(string buildConfigId)
 {
     return(BuildsByBuildLocator(BuildLocator.WithDimensions(
                                     buildType: BuildTypeLocator.WithId(buildConfigId),
                                     status: BuildStatus.ERROR
                                     )));
 }
Exemplo n.º 4
0
 public List <Build> FailedBuildsByBuildConfigId(string buildConfigId)
 {
     return(BuildsByBuildLocator(BuildLocator.WithDimensions(
                                     buildType: BuildTypeLocator.WithId(buildConfigId),
                                     status: BuildStatus.FAILURE
                                     )));
 }
Exemplo n.º 5
0
 public List <Build> SuccessfulBuildsByBuildConfigId(string buildConfigId)
 {
     return(BuildsByBuildLocator(BuildLocator.WithDimensions(
                                     buildType: BuildTypeLocator.WithId(buildConfigId),
                                     status: BuildStatus.SUCCESS
                                     )));
 }
Exemplo n.º 6
0
 public Build LastErrorBuildByBuildConfigId(string buildConfigId)
 {
     return(BuildsByBuildLocator(BuildLocator.WithDimensions(BuildTypeLocator.WithId(buildConfigId),
                                                             status: BuildStatus.ERROR,
                                                             maxResults: 1
                                                             )).SingleOrDefault());
 }
Exemplo n.º 7
0
 public Build LastSuccessfulBuildByBuildConfigId(string buildConfigId)
 {
     return(BuildsByBuildLocator(BuildLocator.WithDimensions(BuildTypeLocator.WithId(buildConfigId),
                                                             status: BuildStatus.SUCCESS,
                                                             maxResults: 1
                                                             )).SingleOrDefault());
 }
Exemplo n.º 8
0
        public Build LastBuildByBuildConfigId(string buildConfigId)
        {
            var builds = BuildsByBuildLocator(BuildLocator.WithDimensions(BuildTypeLocator.WithId(buildConfigId),
                                                                          maxResults: 1
                                                                          ));

            return(builds != null?builds.FirstOrDefault() : new Build());
        }
Exemplo n.º 9
0
 public Build LastFailedBuildByBuildConfigId(string buildConfigId)
 {
     return(BuildsByBuildLocator(BuildLocator.WithDimensions(
                                     buildType: BuildTypeLocator.WithId(buildConfigId),
                                     status: BuildStatus.FAILURE,
                                     maxResults: 1
                                     )).SingleOrDefault());
 }
Exemplo n.º 10
0
        public Build LastSuccessfulBuildByBuildConfigId(string buildConfigId)
        {
            var builds = BuildsByBuildLocator(BuildLocator.WithDimensions(BuildTypeLocator.WithId(buildConfigId),
                                                                          status: BuildStatus.SUCCESS,
                                                                          maxResults: 1
                                                                          ));

            return(builds != null?builds.FirstOrDefault() : new Build());
        }
Exemplo n.º 11
0
 public List <Build> BuildConfigsByBuildConfigId(string buildConfigId)
 {
     return(BuildsByBuildLocator(BuildLocator.WithDimensions(BuildTypeLocator.WithId(buildConfigId)
                                                             )));
 }