TeamCity Snapshot Dependency With Params
Hi,
I'm have a slight issue getting my snapshot dependencies to work and was hoping someone could help, here's my setup:
1. Get Package - User is prompted to enter a build number to fetch a package from somewhere else (sub project)
2. Promote to DEV (sub project)
Step a) Provision
This has a snapshot dependency on 1
Artefact dependency on 1
This has a snapshot dependency on 1
Trigger on step a completing
This has a snapshot dependency on 1
Trigger on step b completing
The problem i have is when 2 c deploy kicks off it adds 1. Get package is added to the queue but it fails because it can't pick up the original build number.
Is there anyway I can get around the params and snapshots issue?
Thanks
Dan
Please sign in to leave a comment.
Hi Dan,
You can pass property value down the build chain using reverse.dep.<btID>.<property name>, see how to perform it: https://confluence.jetbrains.com/display/TCD9/Predefined+Build+Parameters#PredefinedBuildParameters-DependenciesProperties.