Archiving artifacts incomplete

44 views
Skip to first unread message

Jinny Pan

unread,
Feb 29, 2016, 5:23:05 PM2/29/16
to Jenkins Users

I have a building plan trying to archive several folders of files as artifacts, such as "bin/**/*.*, lib/**/*.*, modules/**/*.*, tools/artifact/**/*.*". But after build finished, I checked the build artifacts in Jenkins, there is no folder "bin". I also checked the build workspace, the bin directory and files were successfully compiled. I also cannot find bin directory in archive folder of build record directory. 

Does anybody have the same issue before? I doubt there is size limitation of artifacts, since my bin directory supposed to have over twenty of big binary executable files. Thanks in advance!

Baptiste Mathus

unread,
Feb 29, 2016, 5:50:10 PM2/29/16
to jenkins...@googlegroups.com
Please provide some context. Jenkins has 1000+ plugins. Are you using a freestyle job?

Did you have a look in the advanced options of the artifact archiving? Namely, the "default excludes"? What are the file extensions in your bin/ folder?

2016-02-29 23:23 GMT+01:00 Jinny Pan <jinnyp...@gmail.com>:

I have a building plan trying to archive several folders of files as artifacts, such as "bin/**/*.*, lib/**/*.*, modules/**/*.*, tools/artifact/**/*.*". But after build finished, I checked the build artifacts in Jenkins, there is no folder "bin". I also checked the build workspace, the bin directory and files were successfully compiled. I also cannot find bin directory in archive folder of build record directory. 

Does anybody have the same issue before? I doubt there is size limitation of artifacts, since my bin directory supposed to have over twenty of big binary executable files. Thanks in advance!

--
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/2892eb24-8ed9-473e-87bd-29dc62c0b296%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jinny Pan

unread,
Feb 29, 2016, 6:27:02 PM2/29/16
to Jenkins Users, m...@batmat.net
It has matrix project configuration. I think archiving artifacts is out-of-box feature in Jenkins, I didn't install any plugin for this part of functionality. I checked "use default excludes". All the files have no extension in bin/ folder. So it excludes all files without extension?

Baptiste Mathus

unread,
Feb 29, 2016, 6:34:03 PM2/29/16
to jenkins...@googlegroups.com
Yes, archiving is quite standard, but there could be some variation or plugin around it and we don't want to lose time on the wrong assumption. 

Anyway, well, I'd guess you actually excluded those file with that pattern: bin/**/*.*

Maybe try simply with bin/** instead?

Jinny Pan

unread,
Mar 1, 2016, 9:49:05 AM3/1/16
to Jenkins Users, m...@batmat.net

I tried use bin/**, also unchecked "use default excludes" in advanced tab, it turns out all files were archived. Thank you so much for your help! 
Reply all
Reply to author
Forward
0 new messages