문제

for example, I need to pass a configuration paramters whose value is "abc%123", but when I encho the values, it is always "abc123", even I followed http://confluence.jetbrains.com/display/TCD8/Defining+and+Using+Build+Parameters+in+Build+Configuration change the value to "abc%%123", the value echoed is still "abc123". I use the teamcity 8.0.4. Does any body hear know how to solve this issue?

도움이 되었습니까?

해결책

When you enter the parameter value, you must escape the % with %%, i.e. abc%%123 instead of abc%123. Check out Using the percent sign in TeamCity build scripts for more in depth discussion.

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