From a3a1f1b30bed51bae2154a39e6a1018df99cf29c Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 8 Jul 2017 12:15:17 +0200 Subject: [PATCH] [ci] add more logging during build-site.sh execution --- .travis/build-site.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis/build-site.sh b/.travis/build-site.sh index 5b34191d3f..79152e594f 100644 --- a/.travis/build-site.sh +++ b/.travis/build-site.sh @@ -14,11 +14,17 @@ fi ( # Run the build, truncate output due to Travis log limits + + echo -e "\n\nExecuting ./mvnw install...\n\n" travis_wait ./mvnw install -DskipTests=true -B -V | tail -100 + echo -e "Finished executing ./mvnw install\n\n" + + echo -e "\n\nExecuting ./mvnw site site:stage...\n\n" travis_wait ./mvnw site site:stage -Psite -B -V | tail -100 + echo -e "Finished executing ./mvnw site site:stage...\n\n" ) -# create pmd-doc archive +echo -e "\n\nCreating pmd-doc archive...\n\n" ( cd target mv staging pmd-doc-${VERSION} @@ -32,7 +38,7 @@ fi ( if [[ "$VERSION" == *-SNAPSHOT && "$TRAVIS_BRANCH" == "master" ]]; then - # Uploading snapshot site... + echo -e "\n\nUploading snapshot site...\n\n" travis_wait rsync -ah --stats --delete target/pmd-doc-${VERSION}/ ${PMD_SF_USER}@web.sourceforge.net:/home/project-web/pmd/htdocs/snapshot/ | tail -100 fi )