# project.groupId is not set but IS inherited from project.parent.groupId
# else
# exclude project mailing list
# project.groupId is not set but IS inherited from project.parent.groupId
# else
# exclude project mailing list
BUILD_STATUS=$(awk '/\[INFO\] Remote staging finished/{flag=1;next}/Total time:/{flag=0}flag' $CONSOLE_LOG \
| grep '\] BUILD' | awk '{print $3}')
BUILD_STATUS=$(awk '/\[INFO\] Remote staging finished/{flag=1;next}/Total time:/{flag=0}flag' $CONSOLE_LOG \
| grep '\] BUILD' | awk '{print $3}')
# project search pattern should handle both scenarios
# 1. Full format: ODL :: $PROJECT :: $ARTIFACT_ID
# 2. Partial format: Building $ARTIFACT_ID
# project search pattern should handle both scenarios
# 1. Full format: ODL :: $PROJECT :: $ARTIFACT_ID
# 2. Partial format: Building $ARTIFACT_ID