diff --git a/.travis.yml b/.travis.yml index 2ca593ba7..36bf70e81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ script: - AMW_docker/build.sh before_deploy: - sudo chmod 777 AMW_ear/target/mvn-repo/ch/puzzle/itc/mobiliar/AMW_ear/*/AMW_ear-*.ear -- mv AMW_ear/target/mvn-repo/ch/puzzle/itc/mobiliar/AMW_ear/*/AMW_ear-*.ear AMW_ear-${TRAVIS_BRANCH:1}.ear +- cp AMW_ear/target/mvn-repo/ch/puzzle/itc/mobiliar/AMW_ear/*/AMW_ear-*.ear AMW_ear-${TRAVIS_BRANCH:1}.ear after_success: - "[[ -z $TRAVIS_PULL_REQUEST_BRANCH ]] && export CURRENT_BRANCH=$TRAVIS_BRANCH || export CURRENT_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH"