Team City Errors While Publishing Internal Artifacts "Packaging Ended Prematurely"

Answered
6:53:09]Publishing artifacts (1s)
[16:53:09][Publishing artifacts] Collecting files to publish: [F:\buildAgent04\temp\agentTmp\dotNetCoverageResults\CoverageReport.xml=>.teamcity/.NETCoverage]
[16:53:10][Publishing artifacts] Publishing 1 file using [WebPublisher]: F:/buildAgent04/temp/agentTmp/dotNetCoverageResults/CoverageReport.xml => .teamcity/.NETCoverage
[16:53:10][Publishing artifacts] Publishing 1 file using [ArtifactsCachePublisher]: F:/buildAgent04/temp/agentTmp/dotNetCoverageResults/CoverageReport.xml => .teamcity/.NETCoverage
[16:53:09]Publishing artifacts (1s)
[16:53:09][Publishing artifacts] Collecting files to publish: [F:\buildAgent04\temp\agentTmp\dotNetCoverageResults\coverage.zip=>.teamcity/.NETCoverage]
[16:53:10][Publishing artifacts] Publishing 1 file using [WebPublisher]: F:/buildAgent04/temp/agentTmp/dotNetCoverageResults/coverage.zip => .teamcity/.NETCoverage
[16:53:11][Publishing artifacts] Publishing 1 file using [ArtifactsCachePublisher]: F:/buildAgent04/temp/agentTmp/dotNetCoverageResults/coverage.zip => .teamcity/.NETCoverage
[16:53:09]Publishing internal artifacts (1s)
[16:53:11][Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[16:53:11][Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
[16:53:11]Compilation and /or Packaging script ended prematurely. Look at Build Log output for additional information.
[16:53:11]Build failure condition: Compilation and /or Packaging script ended prematurely. Look at Build Log output for additional information.
 


I set up a new build today, and am seeing this error for the first time. Based on what I can see in the build log it finishes everything and then errors out while trying to publish internal artifacts. 

In which server logs can I find more information about this so I can understand the problem? It only happens with this specific build that I made today, as I have been watching a lot of other builds complete without this problem.

0
2 comments

Hello! 

Basing on the 

[16:53:11]Build failure condition: 

it does appear as a custom build failure condition. Could you please let me know if there are any configured for the affected build in Build Configuration Settings | Failure Conditions? 

If there are none or they appear irrelevant, could you please upload teamcity-agent.log and teamcity-build.log from the agent side covering any of the affected builds to the https://uploads.jetbrains.com

0

You're right. there was something triggering there to catch that specific error. I can turn it off but when I do i don't find the error in the logs. i'll investigate that myself somewherre. Thanks for the help

0

Please sign in to leave a comment.