diff --git a/src/Agent.Worker/Build/BuildServer.cs b/src/Agent.Worker/Build/BuildServer.cs index 50e09234e6..a77241db70 100644 --- a/src/Agent.Worker/Build/BuildServer.cs +++ b/src/Agent.Worker/Build/BuildServer.cs @@ -117,7 +117,7 @@ public async Task> AddBuildTag( string buildTag, CancellationToken cancellationToken = default(CancellationToken)) { - return await _buildHttpClient.AddBuildTagAsync(projectId, buildId, buildTag, cancellationToken: cancellationToken); + return await _buildHttpClient.AddBuildTagsAsync(new[] { buildTag }, projectId, buildId, cancellationToken: cancellationToken); } } }