Пример #1
0
 internal JenkinsBuild(Jenkins jenkins, JenkinsJob job, int buildNum)
 {
     this.jenkins          = jenkins;
     this.job              = job;
     this.modelRun         = JenkinsRun.Run(() => jenkins.GetBuildAsync <JenkinsModelRun>(this.JobName, buildNum).Result);
     this.isCompleteLoaded = true;
 }
Пример #2
0
 internal JenkinsBuild(Jenkins jenkins, JenkinsJob job, JenkinsModelRun modelRun)
 {
     this.jenkins          = jenkins;
     this.job              = job;
     this.modelRun         = modelRun;
     this.isCompleteLoaded = false;
 }