问题描述
我有一个要显示提示的参数.我已经为其设置了默认值,并且效果很好.
但是,不起作用的是,如果我在运行构建时选择输入一个不同的值,那么在下一个构建中,该值会自动成为新的默认值.
I have a parameter for which I'm showing a prompt. I've set a default value for it and that works fine.
What doesn't work, however, is that if I choose to enter a different value when running the build, then on the next build this value automatically becomes the new default value, so to say.
我希望默认值始终是固定的,如果您在字段中输入其他值,则该值将仅用于此版本(下一个版本将回退到此默认值的固定默认值)参数).
I'd like the default value to always be fixed and if you enter a different value in the field, then that value will be used just for this build (and the next build will fallback to the fixed, default value for this parameter).
这有可能吗?
推荐答案
当前不可能.相关请求为 https://youtrack.jetbrains.com/issue/TW-21453 ,请投票.到目前为止,您可以使用重置"链接.
Currently it's not possible. The related request is https://youtrack.jetbrains.com/issue/TW-21453, please vote. As of now you can use "Reset" link.
这篇关于有没有一种方法可以在TeamCity中强制为参数设置默认值,并且在设置了其他值后不丢失该默认值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!