TeamCity + Psake + SqlCmd Powershell infinite loop -
i'm trying use powershell runner in teamcity 6.5.2 run psake task depends on task calls out sqlcmd. if try this, teamcity seems infinite loop until times out or errors out.
i'm usinged -command option in teamcity otherwise errors don't bubble teamcity.
it seems has sqlcmd. found blog , tried tweaking sqlcmd encoding unicode no luck.
has else seen behavior , if how fix?
i had same problem today.
the bug tw-17732 in youtrack it's bug in -command
mode of runner , deprecating instead of solving it.
the recommended mode -file
mode might require change security policy on each agent typing in administrator powershell console:
set-executionpolicy remotesigned
Comments
Post a Comment