Snapshot Dependency without shared sources

Answered

I have a number of builds that creates a package that is published to a package manager (for example NPM, Nuget and Maven).

I have subsequent builds that trigger on the completion of this build, they get the artifact from this repository. The problem is they show a warning:

I'm considering adding a Snapshot dependency, however, Teamcity's UI describes snapshot dependencies as builds using the same sources:

There is no source dependency between these projects and in fact, they may have completely different VCS roots.

What is the appropriate way to link these projects?

Reading the documentation on Snapshot Dependencies, it sounds like things might not work as expected if I add a dependency without shared sources.

0
1 comment

Hello Dave,

You can use Finish build trigger without snapshot dependency. In this case the following limitations exist, see https://confluence.jetbrains.com/display/TCD10/Configuring%20Finish%20Build%20Trigger. Is this cases critical for you? 

At the moment it's not possible to configure snapshot dependency without source synch. Please vote for the request: https://youtrack.jetbrains.com/issue/TW-35216 and describe your use case in comments.

 

0

Please sign in to leave a comment.