i working on perl script following:
- trigger script in post build action when job fails.
- read log file , try match errors consolidated error/solution file.
- if error matched pattern file, concatenate error message solution @ end of log file.
i facing following challenges:
- all jobs running in slave error log file stored in master. how can run script in post-build action? script path taken slave script located in master. there workaround this?
- the path of error log - /home/jenkins/data/jobs//builds/build_number/log have many jobs have folders created jenkins folder plugins…how set common folder these? /home/jenkins/data/jobs/folderx//builds/build_number/log
other questions -
do think publishing jenkins error log , displaying solution right approach?
there no information on how complex pattern maching is, if simple line based regex match there plugin that, called build failure analyzer.
Comments
Post a Comment