Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't get Artifacts using Build runner type Visual Studio Solution File

I am new to TeamCity. I am using Build step using Visual Studio solution file. I want to configure Artifact path so that I can get the output of my compilation somewhere in Artifact folder. I could't understand from the TeamCity documentation :)

I have following configuration. But not getting any artifact.

Artifact paths:- /MyProject/bin/Release/*.* => PublishDir
Build Runner : Visual Studio(sln)
Build file path: \Successor\Successor.sln
Targets: Rebuild
Configuration: Release
Platform: x86

Whats wrong here?

Thanks

like image 821
Saghar Avatar asked Jan 20 '11 14:01

Saghar


People also ask

What is CI CD artifact?

A release is a collection of artifacts in your DevOps CI/CD processes. An artifact is a deployable component of your application. Azure Pipelines can deploy artifacts that are produced by a wide range of artifact sources, and stored in different types of artifact repositories.

What is artifacts in Visual Studio?

Artifacts are the files you choose to 'keep' after compiling your Visual Studio sln file. For example: This assumes you have a sln that compiles 2 projects, ConsoleApplication and WebApi - this example says keep all the output of ConsoleApplication and all the dll's of WebApi.

What is artifact in deployment?

A deployment artifact is an archive file that contains all the information required to deploy the application to runtime. It is the only artifact that is handed from the design phase to the run time as it contains all the bundles and metadata that is required to deploy and run the application.

What is artifacts DevOps?

A DevOps artifact is a by-product produced during the software development process. It may consist of the project source code, dependencies, binaries or resources, and could be represented in different layout depending on the technology.


1 Answers

Check the TeamCity Build Log. It will tell you, why no artifact could be created. For example:

[Publishing artifacts] Artifacts path /MyProject/bin/Release/*.* not found

Make sure your files are really compiled ro bin\release.

like image 191
Martin Buberl Avatar answered Sep 30 '22 18:09

Martin Buberl