How to add files as artifacts to a build

19 views
Skip to first unread message

bruno....@liebherr.com

unread,
Feb 11, 2015, 10:42:11 AM2/11/15
to jenkins...@googlegroups.com
Hi everyone,
 
I'm currently using the PRQA plugin (a static code analysis tool), and some features are not available yet. Among other things, only one kind of report is generating. This specific report is placed as an artifact into the job workspace. I know how to generate more reports with a batch. But this batch doesn't belong to the plugin, and these additionnal reports won't be considered as artifacts. I can move them to the workspace of the job, but it doesn't change anything.
 
I would like to add these additionnal files to the related build, I would like them to be considered as artifacts of this build. So that I can find them by clicking on the build they belong to.
 
How to do this, how to link files to a build when these files are not artifacts ?
 
Thanks in advance,
 
Bruno

Eric Pyle

unread,
Feb 11, 2015, 11:11:55 AM2/11/15
to jenkins...@googlegroups.com
Can you run these additional batch jobs as a build step in your Jenkins job? Then you can archive their output in addition to whatever results are produced by the plugin.

Eric
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b88c1cfa-96c3-4c98-aba2-9f80ff37a518%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bruno Martins

unread,
Feb 12, 2015, 3:34:24 AM2/12/15
to jenkins...@googlegroups.com
The thing is this plugin has a post-build action, while running a batch is a build action. It's quite annoying indeed. I managed to gather all useful archives on a downstream project, but it would be much easier to put it all in the upstream one. But maybe I just can't do this.
Reply all
Reply to author
Forward
0 new messages