File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 260
260
<systemProperties >
261
261
<property >
262
262
<name >derby.stream.error.file</name >
263
- <value >target /derby.log</value >
263
+ <value >${project.build.directory} /derby.log</value >
264
264
</property >
265
265
</systemProperties >
266
266
</configuration >
Original file line number Diff line number Diff line change 19
19
# Get Project Repo
20
20
mybatis_repo=$( git config --get remote.origin.url 2>&1 )
21
21
echo " Repo detected: ${mybatis_repo} "
22
+
23
+ # Get Commit Message
24
+ commit_message=$( git log --format=%B -n 1)
25
+ echo " Current commit detected: ${commit_message} "
22
26
23
27
# Get the Java version.
24
28
# Java 1.5 will give 15.
@@ -42,11 +46,11 @@ echo "Java detected: ${VER}"
42
46
# 2. Deploy site
43
47
# 3. Use -q option to only display Maven errors and warnings.
44
48
45
- if [ " $mybatis_repo " == " https://github.com/mybatis/mybatis-3.git" ] && [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_BRANCH " == " master" ]; then
49
+ if [ " $mybatis_repo " == " https://github.com/mybatis/mybatis-3.git" ] && [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_BRANCH " == " master" ] && [[ " $commit_message " != * " [maven-release-plugin] " * ]] ; then
46
50
if [ $VER == " 16" ]; then
47
51
mvn clean deploy -q --settings ./travis/settings.xml
48
52
echo -e " Successfully deployed SNAPSHOT artifacts to Sonatype under Travis job ${TRAVIS_JOB_NUMBER} "
49
- elif [ $VER == " 17 " ]; then
53
+ elif [ $VER == " 18 " ]; then
50
54
mvn clean test jacoco:report coveralls:report -q
51
55
echo -e " Successfully ran coveralls under Travis job ${TRAVIS_JOB_NUMBER} "
52
56
# various issues exist currently in building this so comment for now
You can’t perform that action at this time.
0 commit comments