Hello, Thanks for answering. Funny thing, it didn't generate an error, but still didn't get the files... :(
David On Monday, April 25, 2016 at 8:45:05 AM UTC-4, David Villasmil wrote: > > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/804b9bbe-082c-4aee-8f96-aaed10eb87a2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
