Skip to content

Commit 5f9947f

Browse files
committed
Fixed AzHelper.
1 parent 7af72bc commit 5f9947f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/PostSharp.Engineering.BuildTools/BaseCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public sealed override int Execute( CommandContext context, T settings )
9191
.Color( Color.Purple ) );
9292

9393
buildContext.Console.Out.WriteLine();
94-
buildContext.Console.WriteMessage( $"Using PostSharp.Engineering v{myVersion}." );
94+
buildContext.Console.WriteMessage( $"Using PostSharp.Engineering v{myVersion}. TeamCity: {buildContext.IsContinuousIntegrationBuild}. Docker: {buildContext.IsRunningUnderContainer}." );
9595
buildContext.Console.Out.WriteLine();
9696
}
9797

src/PostSharp.Engineering.BuildTools/Utilities/AzHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static bool Login( ConsoleHelper console, bool dry = false )
5858
}
5959

6060
azArgs =
61-
$"login --service-principal --client-id {azureClientId} --password %{EnvironmentVariableNames.AzureClientSecret}% --tenant {azureTenantId}";
61+
$"login --service-principal --username {azureClientId} --password %{EnvironmentVariableNames.AzureClientSecret}% --tenant {azureTenantId}";
6262
}
6363
else
6464
{

0 commit comments

Comments
 (0)