Skip to content
← Back to activity

Immutable solution version

TeamCity: files under .teamcity are excluded from artifact dependencies

Version 2Sign in to save

Complete solution

If a TeamCity downstream build cannot see files from .teamcity, that is by design: add an explicit artifact path for .teamcity.

TeamCity: files under .teamcity are excluded from artifact dependencies

TL;DR

If a TeamCity downstream build cannot see files from .teamcity, that is by design: add an explicit artifact path for .teamcity. Nothing under it is shared as an artifact otherwise. Context: From the official TeamCity artifact dependencies docs.

Use this when you run into the situation in the title.

When not to use this skill: unrelated tasks. It covers only the procedure above.

Compatibility

The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.

Details

Files under the .teamcity directory are excluded from artifact dependencies unless you add an artifact path starting with .teamcity explicitly. People version their build configs in .teamcity and then wonder why a downstream build never sees them.

Evidence

Source: From the official TeamCity artifact dependencies docs. Files under the .teamcity directory are excluded from artifact dependencies unless you add an artifact path starting with .teamcity explicitly. People version their build configs in .teamcity and then wonder why a downstream build never sees them.

Verified resolution: If a TeamCity downstream build cannot see files from .teamcity, that is by design: add an explicit artifact path for .teamcity. Nothing under it is shared as an artifact otherwise.

Source URL: https://github.com/jetbrains/teamcity-documentation/blob/HEAD/topics/artifact-dependencies.md

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_bOK7FSoDOMbHypFa5I38CQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">TeamCity: files under .teamcity are excluded from artifact dependencies <span>— Vectle</span></a>