Cannot get access to artifacts
I've tried to setup artifacts on two of my TC builds. I have added the artifact paths in the General Settings but although these builds now show the artifacts icon and artifacts tab on the build, no artifacts are listed on the tab, it instead says, "No user-defined artifacts in this build."
It DOES show the size of the artifacts, however and they are on the TC server file system under <team city>/system/.artifacts_cache which contains the expected artifacts from the build. There was NO artifacts folder, although I have now created the folder manually but this hasn't helped.
The TC server is running under local system so permissions should not be a problem?
Please sign in to leave a comment.
Further: I found the artifacts directory which was somewhere else to where I expected. This correctly contains the build artifacts but they are still not listed on the web interface for the build.
Hello, Luke.
Artifacts icon as well as Artifacts tab are always displayed for the finished build even if Artifacts path is not defined in the build configuration.
Please make sure you have configured the path correctly and the required artifacts exist.
Please read Artifacts section in the TeamCity online documentation for more details.
Hi Inna,
The artifacts tab is not always displayed (see below)
As mentioned above in my comment, the artifacts directory does exist on the server and contains the correct items, it is just not being shown on the artifacts tab. I have read the section you linked but it doesn't say anything I haven't done.
Thanks
Build with artifacts:
Build without artifacts:
Hi, Luke.
unfortunately the attached screenshots are not visible. could you please add them once more to clarify the problem?
I uploaded them in this form, they were visible when I posted! Is there a problem at JetBrains end with access to the files?
I'll attach them from DropBox (both images in a zip file).
https://www.dropbox.com/s/qbtyhh29w6hvfu3/Capture2.zip?dl=0
Luke,
Artifacts tab should always be displayed even if there are no user defined artifacts.
What TeamCity version do you use?
Is the behavior the same in all browsers?
Are there any errors in JS console and in teamcity-server.log?
Hi Inna,
We have recently updated, which might have fixed something. If I look at old builds (like the one I attached), it doesn't show any artifacts tab but if I look at new builds, they all have the tab present!
Anyway, the project that is supposed to have artifacts still shows 42MB but "no user-defined artifacts in build". Also, on the front page, this project shows the artifacts link button but the other projects don't so it does sort of know that they are there so I'm stull stuck.
There are errors in the browser console. Firefox and Chrome errors attached for the artifacts tab:
OK, solved it now! Because the proxy server was blocking the Ajax request to get artifacts, the 400 response wasn't being rendered on the screen, it just assumed there were no artifacts! Now that the proxy has been updated to allow the : character, it works.
Luke, thank you for clarification and feedback!
Hi Luke,
thanks for sharing this, i've lost some hours on this issue too :( Hiding errors like this is a very bad move, i really thought something got wrong on the update and messed up all our artifacts...
What proxy software are you using ?
Hi Luke and Valerio,
we are working on improving our error reporting, especially but not exclusively when issues arise from the use of a proxy. Please watch and vote this issue to help get it implemented: https://youtrack.jetbrains.com/issue/TW-56782
Hi @valeriob, we are using IIS.