コード例 #1
0
 /// <inheritdoc/>
 public void PushChangesForRepository(CommitInfo commitInfo)
 {
     try
     {
         _decoratedService.PushChangesForRepository(commitInfo);
     }
     catch (Exception ex)
     {
         LogError(ex, "CheckRemoteUpdates", commitInfo.Org, commitInfo.Repository);
         throw;
     }
 }
コード例 #2
0
 public void CommitAndPushRepo([FromBody] CommitInfo commitInfo)
 {
     _sourceControl.PushChangesForRepository(commitInfo);
 }
コード例 #3
0
 public IActionResult PushChanges(CommitInfo commitInfo)
 {
     _sourceControl.PushChangesForRepository(commitInfo);
     return(RedirectToAction("index", new { commitInfo.Org }));
 }