Disabling archiving artifacts

423 views
Skip to first unread message

John D. Ament

unread,
Oct 13, 2014, 8:50:03 PM10/13/14
to jenkins...@googlegroups.com
Hi,

I have a job, in which I use Artifactory for storing artifacts.  I don't particularly care about archiving artifacts and would prefer to turn it off as it serves no purpose for me.

I tried setting the following configuration when archiving:

Files to archive: (blank)
Excludes: **
(check) Do not fail build if archiving returns nothing
(check) Use default excludes

However this causes this output:

20:44:09 ERROR: No artifacts are configured for archiving.
20:44:09 You probably forgot to set the file pattern, so please go back to the configuration and specify it.
20:44:09 If you really did mean to archive all the files in the workspace, please specify "**"
20:44:09 Build step 'Archive the artifacts' changed build result to FAILURE

I'm on Jenkins 1.579.  I'm not sure why it would be complaining about this, as I'd rather have it off.

John

Matthew...@diamond.ac.uk

unread,
Oct 14, 2014, 4:26:19 AM10/14/14
to jenkins...@googlegroups.com

Can’t you just edit the job configuration and delete the “Archive Artifacts” post-build step?

 

--

Daniel Beck

unread,
Oct 14, 2014, 1:16:09 PM10/14/14
to jenkins...@googlegroups.com
It's probably a Maven job doing its magic.
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.

John D. Ament

unread,
Oct 14, 2014, 1:38:22 PM10/14/14
to jenkins...@googlegroups.com, Matthew...@diamond.ac.uk
That's what I thought at first, but it turns out the step wasn't even configured when it was doing its archiving.  Based on the docs I figured it shouldn't be archiving artifacts.
Reply all
Reply to author
Forward
0 new messages