Try using logfiles/ without the * Randy Jackson Software Build Engineer | Indiana Farm Bureau Insurance 225 S. East Street P O Box 1250 | Indianapolis, IN 46206 Office: (317) 692-8118 | Fax: (317) 692-7212 randy.jack...@infarmbureau.com<mailto:randy.jack...@infarmbureau.com> | www.infarmbureau.com<http://www.infarmbureau.com/>
[http://www.infarmbureau.com/images/signature/signatureLogo.gif] From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Villasmil Sent: Monday, April 25, 2016 8:45 AM To: Jenkins Users Subject: Jenkins can't find existing artifacts Hello Guys, I have a jenkins running a job, after which I want it to "archive artifact", which is basically just get some files. The Job clones a github and when ran, it generates some log files which I need. The patter is: logfiles/* I added a command to list the directory to make sure the files are there, and indeed they are. + ls -la logfiles total 24 drwxr-xr-x 2 root root 4096 Apr 22 23:23 . drwxr-xr-x 8 root root 4096 Apr 22 23:23 .. -rw-r--r-- 1 root root 0 Apr 22 23:23 1461367410777_testuuid_61746144-3A3A-5555-4944-3D5343414C41.log -rw-r--r-- 1 root root 1248 Apr 22 23:23 1461367410777_testuuid_61746144-3A3A-5555-4944-3D5343414C41_shortmsg.csv -rw-r--r-- 1 root root 2521 Apr 22 23:23 1461367410777_testuuid_61746144-3A3A-5555-4944-3D5343414C41_stats.log -rw-r--r-- 1 root root 8035 Apr 22 23:23 1461367410777_testuuid_61746144-3A3A-5555-4944-3D5343414C41_trace_msg.log Archiving artifacts ERROR: No artifacts found that match the file pattern "logfiles/*". Configuration error? ERROR: ‘logfiles/*’ doesn’t match anything, but ‘*’ does. Perhaps that’s what you mean? Build step 'Archive the artifacts' changed build result to FAILURE I don't really understand why they are not found. I have tried many different patterns, like "**/logfiles/*.log", "**/logfiles/*.*", "**/logfiles/*", and even asking specifically for the file like "logfiles/1461367410777_testuuid_61746144-3A3A-5555-4944-3D5343414C41_shortmsg.csv" Always same result. Can any one help? Regards, David -- 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-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1146d4e6-d155-4046-add7-9fd4c1a9a7ac%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/1146d4e6-d155-4046-add7-9fd4c1a9a7ac%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. ________________________________ This email is intended solely for the named addressee(s) and may be confidential or contain privileged information. Review, disclosure, copying, distribution, or use of this email by anyone other than an intended recipient is strictly prohibited. If you received this email in error, please delete it from your system and notify the sender immediately. While precautions have been taken to help ensure no computer viruses are present, there is a risk whenever transmitting emails or downloading attachments. The sender will not be liable for any loss or damage resulting from any malware in this communication or for improper or incomplete transmission of its contents or for any delay in its receipt. -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3994D3AA09885B4CACC3D00FFD60221FCDC7F73B%40MX-EXMB1-PRD.infarmbureau.com. For more options, visit https://groups.google.com/d/optout.