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.
12 comments
Comment actions Permalink

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

0
Comment actions Permalink

[11:08:18]: Publishing artifacts
[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
0
Comment actions Permalink

Hi,

  Looks like it works. Could you please attach the screenshot of the Artifacts tab for your build?

  Regards,
  KIR

0
Comment actions Permalink

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

0
Comment actions Permalink

It does get mentioned in the log iirc. Attached you'll find the complete build log.



Attachment(s):
FDE2_MySQL_54.log.zip
0
Comment actions Permalink

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

0
Comment actions Permalink

Second try



Attachment(s):
logs.zip
0
Comment actions Permalink

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

0
Comment actions Permalink

They aren't there.



Attachment(s):
Screenshot-1.png
0
Comment actions Permalink

Ah never mind... My fault, I'm running the wrong Maven goal. Sorry for the stupid question, but thanks for your time

0
Comment actions Permalink

Glad the problem is solved

0

Please sign in to leave a comment.