Пример #1
0
 public QueueBuildRemoteJob(QueueJenkinsBuildOperation operation)
 {
     this.JobName               = operation.JobName;
     this.BranchName            = operation.BranchName;
     this.AdditionalParameters  = operation.AdditionalParameters;
     this.WaitForStart          = operation.WaitForStart;
     this.WaitForCompletion     = operation.WaitForCompletion;
     this.ProxyRequest          = operation.ProxyRequest;
     this.JenkinsBuildNumber    = operation.JenkinsBuildNumber;
     this.ServerUrl             = operation.ServerUrl;
     this.UserName              = operation.UserName;
     this.Password              = operation.Password;
     this.CsrfProtectionEnabled = operation.CsrfProtectionEnabled;
 }
Пример #2
0
 public override void Deserialize(Stream stream)
 {
     this.Operation = (QueueJenkinsBuildOperation) new BinaryFormatter().Deserialize(stream);
     this.Operation.MessageLogged += (s, e) => this.Log(e.Level, e.Message);
 }
Пример #3
0
 public QueueBuildRemoteJob(QueueJenkinsBuildOperation operation)
 {
     this.Operation = operation;
 }