Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
zvercodebender committed Feb 7, 2020
1 parent b32319f commit 7888039
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
language: java
jdk: openjdk8
before_install:
- openssl aes-256-cbc -K $encrypted_e5bd312d25bf_key -iv $encrypted_e5bd312d25bf_iv
-in deploy_key.enc -out /tmp/deploy_key -d
- eval "$(ssh-agent -s)"
- echo -e "Host $DIST_HOST\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- chmod 600 /tmp/deploy_key
- ssh-add /tmp/deploy_key
deploy:
- provider: releases
api-key:
Expand All @@ -17,6 +10,13 @@ deploy:
on:
tags: true
repo: xebialabs-community/xlr-bitbucket-plugin
before_install:
- openssl aes-256-cbc -K $encrypted_e5bd312d25bf_key -iv $encrypted_e5bd312d25bf_iv
-in deploy_key.enc -out /tmp/deploy_key -d
- eval "$(ssh-agent -s)"
- echo -e "Host $DIST_HOST\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- chmod 600 /tmp/deploy_key
- ssh-add /tmp/deploy_key
- provider: script
skip_cleanup: true
script: rsync --update -raz -i $TRAVIS_BUILD_DIR/build/libs/*.jar $DIST_USER@$DIST_HOST:$DIST_PATH/${TRAVIS_REPO_SLUG#*/}/
Expand Down

0 comments on commit 7888039

Please sign in to comment.