Example #1
0
 private void DownloadSolutionFromSourceControl()
 {
     if (SourceControlURL != null && SourcecontrolUser != "" && sourceControlPass != null)
     {
         Reporter.ToLog(eLogLevel.DEBUG, "Downloading Solution from source control");
         SourceControlIntegration.DownloadSolution(Solution);
     }
 }
Example #2
0
 private void DownloadSolutionFromSourceControl()
 {
     if (SourceControlURL != null && SourcecontrolUser != "" && sourceControlPass != null)
     {
         Reporter.ToLog(eLogLevel.INFO, "Downloading/updating Solution from source control");
         if (!SourceControlIntegration.DownloadSolution(Solution, UndoSolutionLocalChanges))
         {
             Reporter.ToLog(eLogLevel.ERROR, "Failed to Download/update Solution from source control");
         }
     }
 }
Example #3
0
        private void DownloadSolutionFromSourceControl()
        {
            if (SourceControlURL != null && SourcecontrolUser != "" && sourceControlPass != null)
            {
                Reporter.ToLog(eLogLevel.DEBUG, "Downloading Solution from source control");
                if (SourceControlURL.IndexOf(".git") != -1)
                {
                    // App.DownloadSolution(value.Substring(0, value.IndexOf(".git") + 4));
                    SourceControlIntegration.DownloadSolution(Solution);
                }
                else
                {
                    // App.DownloadSolution(value);
                    //RepositoryItemHelper.RepositoryItemFactory.DownloadSolution(SourceControlURL);

                    SourceControlIntegration.DownloadSolution(Solution);
                }
            }
        }