auto deployment of the snapshot

This commit is contained in:
ritchie
2015-07-05 07:37:18 +02:00
parent 5f71655bb6
commit 0dbcfa498f
2 changed files with 26 additions and 2 deletions
+11 -2
View File
@@ -5,7 +5,10 @@ jdk:
install:
- mvn install -DskipTests=true
script: mvn test
script:
- mvn test ; export MAVEN_RESULT=$?
- if [ "$MAVEN_RESULT" -ne 0 ]; then exit 1; fi
- mvn clean deploy --quiet --settings settings.xml ; export MAVEN_RESULT=$?
after_success:
- mvn clean test jacoco:report coveralls:report
@@ -14,4 +17,10 @@ after_success:
notifications:
email:
- richard.vannieuwenhoven@adesso.at
- elonen@iki.fi
- elonen@iki.fi
env:
global:
- secure: "OtD0z3y4/OjSzg8irVD8v/u0TElcw8AiCCXb7a0UQEnTpGxcf5DOdkvHv0hF4xjHKFtlMMHxevW+a4C4NuFR8it8ZJ/i2m24reB28JicDcRQY9nwV/BR/T08CRG9KDz5EuTHgfPJDF0y+5MiVNwJVhHFviBWKuXyIuYouJ5IHgc="
- secure: "tgTVycNLwYDM3U0EVK1TkffylQHfZihvSDC9QoZEo+wz9aBBLoAtUJP7DWltRQFOkfTeGltGHEfGM2/qkIG6Wz+hNFG/fveHqyI01JWXc64d7yBm7agaCP5uTtt2wjaZ7ZK5Mps5QoufblYu+j9gb2v31t9IdsJ9PUs0+wgE/WU="
+15
View File
@@ -0,0 +1,15 @@
<settings>
<proxies>
</proxies>
<servers>
<server>
<id>sonatype-nexus-staging</id>
<username>${env.CI_DEPLOY_USERNAME}</username>
<password>${env.CI_DEPLOY_PASSWORD}</password>
</server>
</servers>
<mirrors>
</mirrors>
<profiles>
</profiles>
</settings>