|
Project
|
TeamCity
|
|
Priority
|
Normal |
|
Type
|
Feature |
|
State
|
Fixed |
|
Assignee
|
Kirill Maximov |
|
Subsystem
|
Server |
|
Affected versions
|
No Affected versions |
|
Fix versions
|
Faradi 7.0 EAP (20184) |
|
Fixed in build
|
|
|
Fixed in builds
|
no build yet
|
Did the no space error occurred on server or on agent in your case?
We probably need an option with textarea to specify mandatory artifacts. If any of the artifacts is missing, the build should fail with appropriate failure message.
If a wildcard is specified, any file that satisfies the wildcard should satisfy the condition.
Multiple values in the area should be treated as "AND conditions.
Alternative (and more obscure) approach is to introduce some special pattern into the artifacts publishing value to treat some artifacts as mandatory.
Or just have an option "Fail the build if no artifacts are produced".
[21:05:00]: [Publishing artifacts] Paths to publish: [src/eqsval-dist/**/*, teamcity-info.xml]
[21:05:00]: [Publishing artifacts] Publishing artifacts 'src/eqsval-dist/**/*' to root artifacts directory
[21:05:35]: [Publishing artifacts] Failed to publish files: Failed to publish artifacts. Server status: 500 (Internal Server Error)
Failing the build is the right way to go with this issue.
Tested on 4.5.5
[Publishing artifacts] Failed to publish files: Failed to publish artifacts. Server status: 500 (Internal Server Error)
The artifact is 27mb in size and we have unlimited artifact size setting. So it's not the size issue. But anyway, we should have the option to fail the build if artifact publishing fails.
Sorry for some mess up with the related issues, this issue actually got commented on two problems.
Let's make this issue address feature to fail build if it did not produce artifacts for some reason.
And TW-12243 will then handle any explicit errors that occurred during uploading artifacts to the server.
I've voted for this issue thinking it about publishing - I don't want that to count as a vote about not producing artefacts.
This issue was marked as a feature and had a comment on the current issue's sense since November 2008.
Since then it got comments (and may be votes) for both the current sense and TW-12243.
If you are not interested in the current sense and care more about TW-12243, please unvote this one and vote TW-12243.
Sorry for the inconvenience, if any.
I don't know why I got "Server status: 500 (Internal Server Error)" but it had nothing to do with artefact size (or space on server) as that didn't change between earlier or later builds that published successfully.
Could you at least replace the description of TW-12243 with the original text from this one? At least then it would cover the case I have trouble with.
See also the comment.