Letting the user choose the build number of artifacts
Hi,
We have a need that when a certain build configuration runs, the user will be able to choose the build from which the artifacts will be fetched.
The reason for that is that sometimes, the latest build is not safe yet to deployed, while the one before was properly tested.
Is there a way to do it in TeamCity? If not, can we suggest it as a feature? I know it's available in some other CI products.
Thanks!
Please sign in to leave a comment.
Hi Ofer,
if users click on the ellipsis right next to the "Run" button, they will be presented with the "run custom build" command. If there is a snapshot dependency to the artifact's build, they can select exactly which build to take the dependency from in the "Dependencies" tab (assuming the artifact dependency is configured to use the one "of the same chain")
Another option to automatize this would be build pinning. If you have the dependency configured to use the artifact from the last pinned build, you could then simply ensure that you pin the builds at the right time and avoid having the users select which specific builds they want to deal with.