hudson - Jenkins: Post build actions on conditions -


i want run post build actions in jenkins job on condition if string or regular expression present in console log. plugin available this?

one solution use logparser plugin , create regexp rules parse log.

this plugin can change build status unstable:

enter image description here

next, create downstream job , use parameterized trigger plugin pass build status upstream downstream job.

if status unstable (= logparser find something), execute specific post build actions.

you can use conditional buildstep plugin condition downstream build step according upstream build status.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -