Repository: atlas Updated Branches: refs/heads/master b6bbe7d8a -> db0f67667
ATLAS-2059: Update test-patch.sh script to include exit code for build in result Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/db0f6766 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/db0f6766 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/db0f6766 Branch: refs/heads/master Commit: db0f67667c61337d1d34c8d613bce09d0fe9d584 Parents: b6bbe7d Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Tue May 1 15:22:39 2018 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Tue May 1 15:22:39 2018 -0700 ---------------------------------------------------------------------- dev-support/test-patch.sh | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/db0f6766/dev-support/test-patch.sh ---------------------------------------------------------------------- diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 00df3ef..fb06268 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -857,6 +857,12 @@ if [[ $APPLY_PATCH_RET != 0 ]] ; then fi buildAndInstall +BUILD_INSTALL_RET=$? +(( RESULT = RESULT + $BUILD_INSTALL_RET )) +if [[ $BUILD_INSTALL_RET != 0 ]] ; then + submitJiraComment 1 + cleanupAndExit 1 +fi JIRA_COMMENT_FOOTER="Test results: $BUILD_URL/testReport/ $JIRA_COMMENT_FOOTER"