File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [ " $TRAVIS_REPO_SLUG " == " ocpsoft/rewrite" ] &&
4+ [ " $TRAVIS_BRANCH " == " master" ] &&
5+ [ " $TRAVIS_PULL_REQUEST " == " false" ] &&
6+ [ " $TRAVIS_JDK_VERSION " == " openjdk7" ] &&
7+ [ " $CONTAINER " == " JBOSS_AS_MANAGED_7.X" ]; then
8+
9+ echo " Starting snapshot deployment..."
10+ mvn -s .travis-snapshots-settings.xml -DperformRelease -DskipTests deploy
11+ echo " Snapshots deployed!"
12+
13+ else
14+ echo " Skipping snapshot deployment..."
15+ fi
Original file line number Diff line number Diff line change 1+ <settings xmlns =" http://maven.apache.org/SETTINGS/1.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2+ xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" >
3+
4+ <servers >
5+ <server >
6+ <id >sonatype-nexus-snapshots</id >
7+ <username >${env.SONATYPE_USERNAME}</username >
8+ <password >${env.SONATYPE_PASSWORD}</password >
9+ </server >
10+ </servers >
11+
12+ </settings >
Original file line number Diff line number Diff line change 55 - ' $HOME/.m2/repository'
66script :
77 - mvn -P ${CONTAINER} install
8+ after_success :
9+ - " ./.travis-deploy.sh"
810matrix :
911 include :
1012 - env : CONTAINER=JBOSS_AS_MANAGED_7.X
@@ -22,4 +24,7 @@ notifications:
2224 - " ocpsoft-ci@googlegroups.com"
2325 irc :
2426 - " chat.freenode.net#ocpsoft"
25-
27+ env :
28+ global :
29+ - secure : " h5H7qp6EPObrKGf8nFZiNOLP6ofJtB2W87I3eP5Uj5+ztQwfQTu+tILsU35JteCNLAaB3VNfEMt0q4BI7ShZR9GzwT8eNWHkMsh3bN3QIoFus7hYzDCoBtQEkflyoK6SKI3oWgpBNW3aQuyztbGk8ZAVmMflHLYEaKfJzF9hFkg="
30+ - secure : " tTZ3fE3OHnS14Ko0QcD7MrTbOwo4tNu7OPJGA1kY312NO0WqEJeuib2Re8rBZt4YT3xIXvq1l5phqGcgfqkf/fs+bhjqvxfa+Z3TI0ei5SLdzGmadLIq6nXqk0fz7CpuIhEl/w86RbqiQqbuj79ARy2+dxhx2REG8vfcT1HvTbo="
You can’t perform that action at this time.
0 commit comments