We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcb8855 commit 56e4636Copy full SHA for 56e4636
etc/onSuccess.sh
@@ -2,8 +2,11 @@
2
3
echo "after_success script"
4
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;
+if [ "$TRAVIS_BRANCH" == "master" ] || [ "$TRAVIS_BRANCH" == "v2-head" ]; then
+ if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
+ echo "DEPLOY MASTER TRAVIS BUILD"
+ echo "Current directory is $(pwd)"
9
+ mvn clean deploy -DskipTests;
10
+ fi
11
fi
12
+
0 commit comments