|
|
|
[
Permlink
| « Hide
]
Robin Shen [01/Dec/16 07:55 AM]
The promote condition can serve this purpose.
How would you do this as a condition? Here's an example of how we have it set up:
ConfigOne has a promotion PromoteToTwo that is set to auto promote to ConfigTwo, with a promotion condition of "ConfigOne builds successfully" and "The 'AutoPromote' variable is true." ConfigOne is kicked off manually and AutoPromote is a prompted checkbox variable. The problem is that if the user does not select AutoPromote when kicking off ConfigOne, the promote condition for PromoteToTwo is false so it cannot be promoted, even manually. The only way around this that I have found is to create a copy of the promotion that only checks if the build i successful. Is there a way to create a condition that would work for both cases? If the Auto PRomote checkbox itself had conditions, I could just check for the "AutoPromote" variable there and would only need one promotion. I did not realize you want to make the promotion button visible for manual triggering in the same time. I agree that a auto-promote condition will make sense. Will get it implemented in QB7 to be released in the end of this month.
|