From d96fe2a71e8b86de65706a5b45e0ba4a71f9811e Mon Sep 17 00:00:00 2001 From: Doug Morato Date: Thu, 20 Aug 2015 20:47:15 -0400 Subject: [PATCH] specify files for S# upload --- .travis.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3e56ae071..0131436da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,10 @@ script: before_deploy: - export WEBGOAT_RELEASE_FILES=$(ls build/webgoat-container/target/webgoat-container-*.*ar) - - echo "Webgoat release files $WEBGOAT_RELEASE_FILES" + - export WEBGOAT_JAR_FILE=$HOME/build/$TRAVIS_REPO_SLUG/webgoat-container/target/webgoat-container*-war-exec.jar + - export WEBGOAT_WAR_FILE=$HOME/build/$TRAVIS_REPO_SLUG/webgoat-container/target/webgoat-container*.war + - echo "Webgoat JAR file $WEBGOAT_JAR_FILE" + - echo "Webgoat WAR file $WEBGOAT_WAR_FILE" deploy: provider: s3 @@ -22,7 +25,9 @@ deploy: skip_cleanup: true acl: public_read file_glob: true - file: "${WEBGOAT_RELEASE_FILES}" + file: + - ${WEBGOAT_JAR_FILE} + - ${WEBGOAT_WAR_FILE} on: repo: dougmorato/WebGoat branch: docs