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

            return(builds != null?builds.FirstOrDefault() : new Build());
        }
Example #9
0
 public Build LastFailedBuildByBuildConfigId(string buildConfigId)
 {
     return(BuildsByBuildLocator(BuildLocator.WithDimensions(
                                     buildType: BuildTypeLocator.WithId(buildConfigId),
                                     status: BuildStatus.FAILURE,
                                     maxResults: 1
                                     )).SingleOrDefault());
 }
Example #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());
        }
Example #11
0
 public List <Build> BuildConfigsByBuildConfigId(string buildConfigId)
 {
     return(BuildsByBuildLocator(BuildLocator.WithDimensions(BuildTypeLocator.WithId(buildConfigId)
                                                             )));
 }