This functionality is already built in: you can flag a build as failed if there are new warnings.
Am 09.05.2014 um 02:01 schrieb C dev <[email protected]>: > Hi, > > Currently we are using warnings plugin to list out all the new warnings and > results. It looks good, > but as the warnings keep increasing we wanted to flag those warnings as > errors so they get immediate attention to be fixed. > > So tried to install the token macro plugin which I thought would list out the > tokens as WARNINGS_RESULT,WARNINGS_NEW,WARNINGS_FIXED etc.. so i wrote a post > script that checks for new warnings and the old count if greater then mark > the build as failure but these token doesnt provide inputs to the script, > also there wasnt any option in the GUI where i can specify some > configuration/checks for the token macro plugin in Jenkins > > How exactly should i use this plugin to match my requirement? > Any guidance is appreciated. > > Thanks, > Cdev > > -- > 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]. > For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP using GPGMail
