If you're just gonna lookup a string in the logs, BTW, you might find the Text Finder Plugin a wee bit simpler. My 2 cents Le 9 mars 2016 1:49 PM, "Daniel Beck" <m...@beckweb.net> a écrit :
> I solved similar problems in the past by making sure a line in the build > log states e.g. "Nothing downloaded", and then use a plugin like Groovy > Postbuild to look for that line, and if it was encountered, set the build > result to Unstable (assuming that right now, you only have Stable and > Failed builds). > > On 09.03.2016, at 07:31, Matt Childress <child...@uiuc.edu> wrote: > > > We use Jenkins CI along with two Python scripts AutoPkg/Aamporter and > Munki to manage macintoshes (Jenkins controls 5x daily runs of AutoPkg and > Aamporter which check for 3rd party software updates and import them into > the munki software repository) > > > > Most of the time the jobs are successful and nothing happens (no new > software found and downloaded). > > > > Jenkins ROCKS for this, and we can easily disable a job when the > software vendor breaks/changes their distribution method (is there an > option/plug-in for "re-enable in x number of days?)" > > > > BUT a successful job (nothing downloaded) and a successful job (new item > downloaded) both result in a blue ball. This makes it hard to find the > downloads in the console output page. > > > > What I'd like to be able to do is have a job set a custom icon via > script if it's downloaded something (I've already got an email script > taking care of the logic) > > > > Any pointers to how-to (including "you're going about it wrong")? > > > > Many thanks, > > M@ > > > > -- > > 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/fde3e45a-9906-46b7-935f-ec270c494289%40googlegroups.com > . > > For more options, visit https://groups.google.com/d/optout. > > -- > 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/D362BC1B-FC0A-4404-96A6-2F323507F263%40beckweb.net > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CANWgJS78H92yss1FfWU2MM4tiwxpbvLie5NVbDV%3DqT_3mtBkvA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.