Skip to content

Commit 97f674d

Browse files
committed
Fixed timeout.
1 parent cdc47a1 commit 97f674d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PostSharp.Engineering.BuildTools/ContinuousIntegration/Model/BuildSteps/TeamCityPowerShellBuildStep.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public TeamCityPowerShellBuildStep( string id, string name, string scriptPath, s
2929

3030
public override string GenerateTeamCityCode()
3131
{
32-
var parameters = this.TimeOut != null ? $"param(\"TimeOut\", \"{this.TimeOut}\")" : "";
32+
var parameters = this.TimeOut != null ? $"param(\"TimeOut\", \"{this.TimeOut.Value.TotalSeconds}\")" : "";
3333

3434
return $@" powerShell {{
3535
name = ""{this.Name}""

0 commit comments

Comments
 (0)