Skip to content
Permalink
Browse files

Fixed upload script

  • Loading branch information...
lefou committed May 7, 2019
1 parent 631a5c4 commit 0e7e5a423b9bf11380cdb547e5691239a44a13ed
Showing with 6 additions and 5 deletions.
  1. +4 −4 .travis.yml
  2. +2 −1 scripts/upload-directory.sh
@@ -141,9 +141,9 @@ jobs:
- echo -e "-Ddocker.host=${DOCKER_HOST}\n-Ddocker.port=${DOCKER_PORT}\n" > .sbtopts
- sbt update blendedItestNode/test
after_failure:
- $TRAVIS_BUILD_DIR/scripts/upload-directory.sh $TRAVIS_BUILD_DIR/container/target/testlog blended.itest.node-test.log || true
- $TRAVIS_BUILD_DIR/scripts/upload-directory.sh $TRAVIS_BUILD_DIR/container/target/testlog blended.itest.node-test.log
after_success:
- $TRAVIS_BUILD_DIR/scripts/upload-directory.sh $TRAVIS_BUILD_DIR/container/target/testlog blended.itest.node-test.log || true
- $TRAVIS_BUILD_DIR/scripts/upload-directory.sh $TRAVIS_BUILD_DIR/container/target/testlog blended.itest.node-test.log

- stage: IntegrationTest
name: blendedItestMgmt
@@ -158,9 +158,9 @@ jobs:
- echo -e "-Ddocker.host=${DOCKER_HOST}\n-Ddocker.port=${DOCKER_PORT}\n" > .sbtopts
- sbt update blendedItestMgmt/test
after_failure:
- $TRAVIS_BUILD_DIR/scripts/upload-directory.sh $TRAVIS_BUILD_DIR/container/target/testlog blended.itest.mgmt-test.log || true
- $TRAVIS_BUILD_DIR/scripts/upload-directory.sh $TRAVIS_BUILD_DIR/container/target/testlog blended.itest.mgmt-test.log
after_success:
- $TRAVIS_BUILD_DIR/scripts/upload-directory.sh $TRAVIS_BUILD_DIR/container/target/testlog blended.itest.mgmt-test.log || true
- $TRAVIS_BUILD_DIR/scripts/upload-directory.sh $TRAVIS_BUILD_DIR/container/target/testlog blended.itest.mgmt-test.log

# ------ Stage Site Deploy
- stage: Site
@@ -5,9 +5,10 @@ set -x
UPLOAD_DIR=$1
UPLOAD_FILE=$2

LAST_DIR=$(pwd)
cd $UPLOAD_DIR
tar -czf ../$UPLOAD_FILE.tgz .

$TRAVIS_BUILD_DIR/scripts/dropbox_uploader.sh upload ../$UPLOAD_FILE.tgz travis/$TRAVIS_BUILD_NUMBER/$UPLOAD_FILE.tgz

$TRAVIS_BUILD_DIR
cd $LAST_DIR

0 comments on commit 0e7e5a4

Please sign in to comment.
You can’t perform that action at this time.