예제 #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;
 }