예제 #1
0
 private async Task TryCopyInternal(IStateModel stateModel,
                                    SqlProject project,
                                    string newArtifactsDirectory)
 {
     if (!await _buildService.CopyBuildResultAsync(project, newArtifactsDirectory))
     {
         stateModel.Result = false;
     }
     stateModel.CurrentState = StateModelState.TriedToCopyBuildResult;
 }