Configuring and Viewing artifacts of build in TeamCity

We can configure build in TeamCity in such a way that it stores output of the build on the server which we can access later on for troubleshooting purpose.

Below image shows how to instruct build to save certain files as an artifact. All files in directory /target/surefire-reports/** will be stored as an artifacts.

Artifact paths settings in TeamCity

Artifact paths settings in TeamCity

Below image shows how to view artifacts generated by a typical build.

Viewing artifacts in TeamCity

Viewing artifacts in TeamCity

 

You may also like...