Improve autorelease notify 80/53380/16
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 10 Mar 2017 00:00:37 +0000 (10:00 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 27 Mar 2017 05:41:57 +0000 (15:41 +1000)
commit17fd87abbea0378a1f4bb66a6da5c304a2067977
tree03501ae265c402be264544901e4171b455ea1001
parent7743280658fd006a7537e95f21eacc66c3e1a642
Improve autorelease notify

- Search console log for mvn goals to retrive failed ARTIFACT_ID
- Determine project mailing list with xmlstarlet using xpaths
- If ARTIFACT_ID is same across project groups, then determine
  all project groups into a list as follows:
  if project.groupId:
     project.groupId is set and is not inherited
  else if project.parent.groupId:
     project.groupId is not set but IS inherited from
     project.parent.groupId
  else
     exclude project mailing list

Change-Id: Id2b9f1abd08792cc772f2c375c21d0321de419ad
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/autorelease/include-raw-autorelease-notify-build-failure.sh