Getting Logs from child project created in Jenkins Parameterized Build Plugin for Email Ext plugin -


i have created parent child project in jenkins using parameterized build plugin problem faced when attaching logs our team whenever build fail.

the email-ext plugin sending email build log of parent project calling project , not logs of child project.

any highly appreciated.

ok got solution. need discard pramaeterized plugin using build flow plugin [https://wiki.jenkins-ci.org/display/jenkins/build+flow+plugin]

the benefit is giving me log placed in parent job without modification in child project.

the usage follows:

def today = new date() out.println '----------------- build started @ '+ today+ '----------------------------' b=build("<basebuild>",parentworkspace:build.properties["workspace"],param:"value") today=new date() out.println '--------       build log    --------------   ' out.println b.log out.println '----------------- build ended @ '+ today+ '----------------------------' 

this way have full control , when attach log attaching original log in email :)

i hope many.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -