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:
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
Post a Comment