We have an On-Premise version of TFS 2018. I am interested in utilizing the packages (now Azure Artifacts) feature within TFS. I am wondering where the source code of the packages that are built and deployed gets stored. For example, if I build a version of an NPM package, does that source code live on our on-premise server or somewhere in the cloud?
Asked
Active
Viewed 1,696 times
2 Answers
2
The answer: It depends.
If you publish it to an internal feed, it's stored in your TFS database.
If you publish it to an external feed, it's stored there.

Jim G.
- 15,141
- 22
- 103
- 166

Daniel Mann
- 57,011
- 13
- 100
- 120
-
1This is the right answer. The source code (in your Git or TFVC repository) is also stored in your TFS database. – Alex Mullans Nov 26 '18 at 19:08
-
1Since the question specifically asking about how it works on-premise, doesn't that imply that it isn't hosted externally? Do you know the details about how it is stored in the TFS database? Seems like hosting all build artifacts would greatly increase the on-premise database size? Is there any guidance about managing that for on-premise? – Matt Apr 04 '19 at 22:24
-2
The source code is present under Code.
The artifacts that are generated after building the code is present under Pipelines->Build
Click to the build marked red in above.
The build view will have the Artifact option to access the build artifacts.
You can download the artifacts from above by clicking the three dots.

Salman
- 1,573
- 3
- 13
- 24