Short answer, you need something like splunk or elastic search to parse the logs and check for specific strings.
On Sun, Aug 11, 2019 at 5:55 PM Tony C <[email protected]> wrote: > Hi, > > I've been using Jenkins at work, for just over a year. I"m not the main > architect of our groovy infrastructure. I'm just a user > who has several jobs which run each night. > > Each of those jobs saves a handful of artifacts (log files) from that job. > > I usually go into each job and look at a specific file (common to each > job), for specific text that would indicate the job had a problem. > Since there are so many jobs being run, this takes quite a bit of time. > Every day. > > I would like to be able to search all of the jobs which ran on a certain > date and scan the artifacts for specific text. > I would probably do this outside of Jenkins, by writing a script to scan > the artifact files. > > However, I don't know how to gain access to those jobs programmatically, > let alone scanning the artifacts of each of those jobs. > > I've used the Python-Jenkins library > https://python-jenkins.readthedocs.io/en/latest/ > > but it doesn't have the ability to do what I want- scanning the artifacts > of several builds (or a specific build). > > Thanks > > -- > 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/97a539f0-1e12-4796-9692-23c662cbb340%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/97a539f0-1e12-4796-9692-23c662cbb340%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Sent from mobile device, excuse typos if any. -- 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/CAPzcO4gvr8HLsYMUsZ7yMLi7_r_Kayj%3D8Ssx6ETwKNfbRMnDZg%40mail.gmail.com.
