This Question is Answered

1 "correct" answer available (4 pts) 1 "helpful" answer available (2 pts)
2 Replies Last post: Jan 31, 2012 8:25 PM by James Coles-Nash  
James Coles-Nash Newbie 2 posts since
Jan 24, 2012
Currently Being Moderated

Jan 24, 2012 9:48 PM

Artifact on Failed build

I have a MSbuild TeamCity project which is failing with a nice long html error message.

 

Is there any way to get my error message into an artifact folder even on a failed build? It seems that the artifacts are not created on failed builds and therefore my tab never has the data it needs.

 

My artifact path is the following, and it does work when the build passes... which is kinda useless.

 

Logs/Install/**/*=>InstallLogs

Michael Kuzmin JetBrains 1,445 posts since
Jul 30, 2005
Currently Being Moderated
Jan 31, 2012 3:26 PM in response to: James Coles-Nash
Re: Artifact on Failed build

Hi James

 

Failded builds also produce artifacts, so all the files should be published.

Please check that the files are actually created on build agent's disk.

What are errors in a build log?

More Like This

  • Retrieving data ...