Repository: incubator-sentry Updated Branches: refs/heads/precommit-tmp e3d77bb3b -> 492d6103c (forced update)
SENTRY-602: Pre commit build script should update the snapshot dependencies Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/492d6103 Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/492d6103 Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/492d6103 Branch: refs/heads/precommit-tmp Commit: 492d6103c8c8871b8a310b76d6caf8ef46981d85 Parents: bf3eb48 Author: Sravya Tirukkovalur <[email protected]> Authored: Wed Dec 24 14:00:40 2014 -0800 Committer: Sravya Tirukkovalur <[email protected]> Committed: Wed Dec 24 14:25:26 2014 -0800 ---------------------------------------------------------------------- dev-support/test-patch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/492d6103/dev-support/test-patch.py ---------------------------------------------------------------------- diff --git a/dev-support/test-patch.py b/dev-support/test-patch.py index 449fe0e..fb0635e 100644 --- a/dev-support/test-patch.py +++ b/dev-support/test-patch.py @@ -136,7 +136,7 @@ def mvn_clean(result, mvn_repo, output_dir): result.fatal("failed to clean project (exit code %d)" % (rc)) def mvn_install(result, mvn_repo, output_dir): - rc = execute("mvn install -DskipTests -Dmaven.repo.local=%s 1>%s/install.txt 2>&1" % (mvn_repo, output_dir)) + rc = execute("mvn install -U -DskipTests -Dmaven.repo.local=%s 1>%s/install.txt 2>&1" % (mvn_repo, output_dir)) if rc != 0: result.fatal("failed to build with patch (exit code %d)" % (rc)) @@ -146,7 +146,7 @@ def find_all_files(top): yield os.path.join(root, f) def mvn_test(result, mvn_repo, output_dir): - rc = execute("mvn verify -Dmaven.repo.local=%s 1>%s/test.txt 2>&1" % (mvn_repo, output_dir)) + rc = execute("mvn verify -fae -Dmaven.repo.local=%s 1>%s/test.txt 2>&1" % (mvn_repo, output_dir)) if rc == 0: result.success("all tests passed") else:
