From ff47a3a86051c1ce0bef0ff87a3986f63d3c2e10 Mon Sep 17 00:00:00 2001 From: Nikolay Sokolov Date: Sun, 30 Sep 2018 12:02:18 -0700 Subject: [PATCH] [DONOTMERGE] debug failing builds --- .travis.yml | 6 +++++- build.sh | 5 +++++ collectstacks.sh | 10 ++++++++++ pom.xml | 13 +++++++++++++ 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 build.sh create mode 100644 collectstacks.sh diff --git a/.travis.yml b/.travis.yml index 713b27e9a..2ed2ba367 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,4 +24,8 @@ node_js: install: - npm install -g bower -script: travis_wait mvn clean verify -q +script: bash build.sh + +cache: + directories: + - $HOME/.m2 diff --git a/build.sh b/build.sh new file mode 100644 index 000000000..bd229561c --- /dev/null +++ b/build.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +#bash collectstacks.sh & + +mvn clean verify --batch-mode diff --git a/collectstacks.sh b/collectstacks.sh new file mode 100644 index 000000000..958d1e33e --- /dev/null +++ b/collectstacks.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +while sleep 60; do + echo "================================================================================" + for i in `jps | awk '{print $1}'`; do + echo "================================================================================" + echo "Stacks of $i" + jstack $i + done +done diff --git a/pom.xml b/pom.xml index 8640280d7..aa7f145e3 100644 --- a/pom.xml +++ b/pom.xml @@ -78,6 +78,19 @@ under the License. + + + sonatype-apache + http:// + + false + + + false + + + + scm:git:https://git-wip-us.apache.org/repos/asf/incubator-griffin.git scm:git:https://git-wip-us.apache.org/repos/asf/incubator-griffin.git