[vsts-938452] Add SesssionId to ALToolTaskBase

This commit is contained in:
Oleg Demchenko 2019-08-05 12:06:47 -04:00
Родитель 112247efb0
Коммит b5ea7813a0
1 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@ -10,6 +10,8 @@ namespace Xamarin.MacDev.Tasks
{ {
string sdkDevPath; string sdkDevPath;
public string SessionId { get; set; }
[Required] [Required]
public string Username { get ;set; } public string Username { get ;set; }
@ -68,13 +70,8 @@ namespace Xamarin.MacDev.Tasks
protected override void LogEventsFromTextOutput (string singleLine, MessageImportance messageImportance) protected override void LogEventsFromTextOutput (string singleLine, MessageImportance messageImportance)
{ {
try { // We first try to use the base logic, which shows up nicely in XS.
base.LogEventsFromTextOutput (singleLine, messageImportance);
}
catch { // But when that fails, just output the message to the command line and XS will output it raw
Log.LogMessage (messageImportance, "{0}", singleLine); Log.LogMessage (messageImportance, "{0}", singleLine);
} }
}
string GetFileTypeValue () string GetFileTypeValue ()
{ {