does Maven Artifact Dependency Trigger set the determined version as parameter?



I wanted to create a trigger to fire when a new artifact is deployed into nexus. Since TeamCity supports "Maven Artifact Dependency Trigger" that looked good.

But I need to pass the version TeamCity determines to the build steps. Does TeamCity set a parameter I could use or does the trigger just start the build and if I wanted to work with the version I would need to query the version again?



1 comment
Comment actions Permalink
Official comment

Hello Werner,

Indeed, the trigger just starts the build and does not pass any information about the artifact that caused the start. You will have to resolve the actual version in a build step.

Also, please describe your usecase here: - it will help us to create proper feature

Please sign in to leave a comment.