aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2018-03-20 16:54:19 +0100
committerSonarTech <sonartech@sonarsource.com>2018-03-22 12:37:49 +0100
commitf3c3254f264dfe07c3af6d2f1ad66710c62f7b77 (patch)
treefd070659569ca29f1e1d71a2675abb24c6a46bf3 /travis.sh
parent340b26f8db2c75cdf32454b8ef27e6f6bd4bb641 (diff)
downloadsonarqube-f3c3254f264dfe07c3af6d2f1ad66710c62f7b77.tar.gz
sonarqube-f3c3254f264dfe07c3af6d2f1ad66710c62f7b77.zip
Avoid Travis from failing if no logs during build of sonar-server
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/travis.sh b/travis.sh
index 90e25585b6e..6ad35c597d3 100755
--- a/travis.sh
+++ b/travis.sh
@@ -58,6 +58,10 @@ else
export PULL_REQUEST_NUMBER=$TRAVIS_PULL_REQUEST
fi
+# Hack to keep job alive even if no logs during more than 10 minutes.
+# That can occur when uploading sonarqube.zip to Artifactory.
+./travis-clock.sh &
+
case "$TARGET" in
BUILD)
@@ -145,3 +149,6 @@ WEB_TESTS)
;;
esac
+
+#stop the clock
+touch stop