Copying artifacts
Hi,
I try to copy two artifacts to the artifacts folder but I do not see them appear, although I'm not seeing any error as well.
What am I doing wrong here? This is how I defined the copying:
standalone/target/*.jar
web_gui/target/web_gui-*.war
I would expect to see that jar file and war file popping up in the artifacts section.
Please sign in to leave a comment.
Hello Jeroen,
Please check the lines about artifact copying and the end of the build log (ensure you select All messages tab).
The build log should contain details about artifacts being uploaded.
If unsure, download full build log as zip and attach it here.
Regards,
KIR
[11:08:18]: [Publishing artifacts] Paths to publish: [standalone/target/*.jar, web_gui/target/web_gui-*.war, teamcity-info.xml]
[11:08:18]: [Publishing artifacts] Publishing artifacts 'standalone/target/*.jar' to root artifacts directory
[11:08:18]: [Publishing artifacts] Publishing artifacts 'web_gui/target/web_gui-*.war' to root artifacts directory
[11:08:15]: Build finished
Hi,
Looks like it works. Could you please attach the screenshot of the Artifacts tab for your build?
Regards,
KIR
Attached.
Attachment(s):
Screenshot-FDE2 :: MySQL > #54 (20 Apr 10 11:00) > Artifacts -- TeamCity - Google Chrome.png
Hello,
It looks like these artifacts from another build. In the log, there are no lines about coverage files at all. Really strange.
Could you please attach zipped logs from buildAgent/logs directory?
Thanks,
KIR
It does get mentioned in the log iirc. Attached you'll find the complete build log.
Attachment(s):
FDE2_MySQL_54.log.zip
Hello Jeroen,
Thanks for the build log, but please attach logs from buildAgent/logs directory. They contain more debug information about the build and about publishing process.
Thanks!
KIR
Second try
Attachment(s):
logs.zip
Hello,
From logs, it looks like there are no files which match the mask.
Could you please attach list of files (ls -lR) in the buildAgent target directory (C:\BuildAgent\work\d4a0bc533002f2e\web_gui\)
Thanks,
KIR
They aren't there.
Attachment(s):
Screenshot-1.png
Ah never mind... My fault, I'm running the wrong Maven goal. Sorry for the stupid question, but thanks for your time
Glad the problem is solved