문제

I am using MSBuild task to install a windows service. Everything works fine but the newly installed service runs under local system account. Is there anyway to tell MSBuild to install the service under the same account as TeamCity (TeamCity is running under a special service account). I am runing the build file using TeamCity. I dont want to explicitly specify the user name and password as it is too risky to store this information in plain text.

Build Param does not allow values to be stored as password

Thank you.

도움이 되었습니까?

해결책

It does not seem possible. However, I'd suggest to use Build Parameters instead, they're designed for it. Read more about it here: http://confluence.jetbrains.com/display/TCD6/Defining+and+Using+Build+Parameters+in+Build+Configuration

You'll be able to specify user/password in TeamCity UI (even on every build, if needed)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top