Shorthand for dependent variables in artifact paths
Hi
It would be nice to have a shorthand way to reference dependent variables when defining paths in artifact dependencies.
For example, if the artifact source id is AAA::BBB::CCC::DDD::EEE then to reference one of its variables to define an artifact dependency path we have to use: %dep.AAA_BBB_CCC_DDD_EEE.variablename%
For cases where we do this a lot, e.g. where that part of the pathname is only known when the artifact is built, this becomes a chore, especially since the system knows this id in this context.
Having a suitable shorthand would give the extra benefit that when copying/moving builds containing such dependencies they would continue to work, rather than having to edit each such artifact path for the new location.
Please sign in to leave a comment.
Hi,
It's not directly possible to configure shortcuts for the variables, but what you can do is configure parameters assigned directly to those values, and you could use them as "shortcuts".
Also, build configurations IDs are generated with that format, but can be changed manually. If you move build configurations around but want to keep the references, it might make sense in your situation to configure those external IDs to something that you can work with.