Skip to content

Commit

Permalink
showing output
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 committed Jan 29, 2020
1 parent 80a7312 commit 0bb30c3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ script:
- echo -e "travis_fold:end:Startup_Server3" || true
- travis_wait 50 npm test -- --verbose --colors
- echo -e "travis_fold:start:Deploy" || true
- docker ps -a;
- docker ps -a
- sudo docker cp $CONTAINER_NAME:/home/developer/virgo/serviceability/logs/log.log /etc
- tail /etc/log.log -n 200
- docker stop $(docker ps -a -q)
Expand All @@ -73,15 +73,12 @@ after_success:
cd $TRAVIS_BUILD_DIR;
docker login -u $DOCKER_USER -p $DOCKER_PASS;
docker push $REPO:$TAG;
echo -e "travis_fold:start:WSSbuild" || true;
travis_retry docker build --cache-from metacell/java-virgo-maven:development -t=$REPO:$TAG.wss --build-arg build_type=$BUILD_TYPE --build-arg targetBranch=$TRAVIS_BRANCH --build-arg originBranch=$BRANCH --build-arg defaultBranch=$DEFAULT_BRANCH --build-arg finalBuild=true $DOCKER_FOLDER || travis_terminate 1 ;
echo -e "travis_fold:end:WSSbuild" || true;
docker push $REPO:$TAG.wss;
fi;
docker build --cache-from metacell/java-virgo-maven:development -t=$REPO:$TAG.wss --build-arg build_type=$BUILD_TYPE --build-arg targetBranch=$TRAVIS_BRANCH --build-arg originBranch=$BRANCH --build-arg defaultBranch=$DEFAULT_BRANCH --build-arg finalBuild=true $DOCKER_FOLDER && docker push $REPO:$TAG.wss;
fi;
after_failure:
- if [ "$BUILD_TYPE" == "development" ]; then
cd $TRAVIS_BUILD_DIR;
docker login -u $DOCKER_USER -p $DOCKER_PASS;
docker push $REPO:$TAG;
fi;
fi;

0 comments on commit 0bb30c3

Please sign in to comment.