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

Answered

Hallo

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?

 

Thanks!

1 comment
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: https://youtrack.jetbrains.com/issue/TW-6439 - it will help us to create proper feature

Please sign in to leave a comment.