Reputation: 5596
I managed to clone GIT hub repo in Jenkins and now trying to build the fetched maven projects in Jenkins. I have 7 projects fetched from GITHUB and they are dependent on each other, i.e. some of the projects have dependencies defined for other projects in their POM. I have one job defined with root level pom.xml specifying all child projects to be built as multi-module . All goes well and jenkins builds child project and parent project well. However, irrespective of child projects build status i.e. build success OR build failed ..jenkins always send email with "Jenkins build is back to normal" as soon as parent project finishes build and triggers child project's build -which doesn't make sense at all. I have configured child level project i.e. modules for email notification but that gets overridden by my parent project's email settings and always the same email is triggered. Anyone had same problem before?
Upvotes: 2
Views: 2022
Reputation: 2481
Try the email-ext plugin . Though this is not a direct solution to your problem, but this plugin is much better than the default one ; it will also give you diagnostic capabilities when you use Pre-send Script
option here you can set/unset or print a variable to see whether control is reaching the right place.
Upvotes: 3