1.0.1 artifacts not working

All of my artifacts which were there before, plus new ones that should be there now, are no longer available from the web interface. I checked the log and was able to see that the war file I have as an artifact was moved to the system directory. And I confirmed via the filesystem that the artifact does indeed exist for the build. I just can't download it.

9 comments
Comment actions Permalink

Barry Kaplan wrote:

All of my artifacts which were there before, plus new ones that should be there now, are no longer available from the web interface. I checked the log and was able to see that the war file I have as an artifact was moved to the system directory. And I confirmed via the filesystem that the artifact does indeed exist for the build. I just can't download it.


Artifacts should be moved to system/[buildId]/ directory.
If there are files in this directory, build with corresponding buildId should have
artifacts (you can find build id in the URL of the page).

If there is no "Artifacts" tab for a build with buildId from URL and there are files
in system/[buildId] directory, this really looks like a bug.

Regards,
KIR


--
Kirill Maximov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

there is an artifacts tab, it just has no artifacts. also the artifact does exist in the system/[buildId]/ directory.

0
Comment actions Permalink

Barry Kaplan wrote:

there is an artifacts tab, it just has no artifacts. also the artifact does exist in the system/[buildId]/ directory.


Sounds strange. What is the name of the file?

--
Kirill Maximov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

I'd like to note that I'm having this exact problem with 1.1 release version (1728).
Coincidentally, my artifact is named ROOT.war as well.

0
Comment actions Permalink

Maarten Hazewinkel wrote:

I'd like to note that I'm having this exact problem with 1.1 release version (1728).
Coincidentally, my artifact is named ROOT.war as well.


Could you please file a bug request with your build configuration files,
logs both from agent and server, and, if possibly, screenshot of your artifacts page.

BTW, are there footer on the page with artifacts?

Regards,
KIR


--
Kirill Maximov
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

I'll file the report in a bit.

The artifacts page simply states "Sorry, no artifacts available for the build."
The footer is intact.

As a possibly related note, I enabled code coverage for the same project and while I can see code coverage result files in the build results directory in the $HOME/.BuildServer/system/[buildnum] directory, no code coverage is shown in the web interface.

One thought that just occurred to me is that my $HOME/.BuildServer directory is a symbolic link to a directory in /data for speed reasons as my home directory is network mounted. Could this affect retrieving the files somehow?

I'm running on Fedora Core 5 linux with Sun JDK 1.5.0_05

Regards,

Maarten

0
Comment actions Permalink

Kirill,

My previous intuition proved correct.
I reconfigured my server to point to the correct data directory using the teamcity.data.path system property instead of making $HOME/.BuildServer a symbolic link. Now my previous builds do show their artifacts and code coverage in the web interface.

So the problem is that having my data directory relocated using a symbolic link on Linux isn't working completely, and I'll log an issue for that.

Regards,

Maarten

0
Comment actions Permalink

Maarten Hazewinkel wrote:

Kirill,

My previous intuition proved correct.
I reconfigured my server to point to the correct data directory using the teamcity.data.path system property instead of making $HOME/.BuildServer a symbolic link. Now my previous builds do show their artifacts and code coverage in the web interface.

So the problem is that having my data directory relocated using a symbolic link on Linux isn't working completely, and I'll log an issue for that.


Thanks Maarten for the investigation. At least we shouldn't bash our heads against the wall
trying to reproduce it :)

Kind regards,
KIR


--
Kirill Maximov
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.