Skip to content

Commit 56e4636

Browse files
author
Burak Serdar
committed
Also deploy v2-head artifacts
1 parent bcb8855 commit 56e4636

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

etc/onSuccess.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
echo "after_success script"
44

5-
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
6-
echo "DEPLOY MASTER TRAVIS BUILD"
7-
echo "Current directory is $(pwd)"
8-
mvn clean deploy -DskipTests;
5+
if [ "$TRAVIS_BRANCH" == "master" ] || [ "$TRAVIS_BRANCH" == "v2-head" ]; then
6+
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
7+
echo "DEPLOY MASTER TRAVIS BUILD"
8+
echo "Current directory is $(pwd)"
9+
mvn clean deploy -DskipTests;
10+
fi
911
fi
12+

0 commit comments

Comments
 (0)