File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11language : java
22jdk : oraclejdk7
33
4- before_script : " git clone -b travis `git config --get remote.origin.url` target/travis"
5- script : mvn package -DbuildNumber=$TRAVIS_BUILD_NUMBER -DciSystem=travis -Dcommit=$TRAVIS_COMMIT
4+ install : mvn package -DbuildNumber=$TRAVIS_BUILD_NUMBER -DciSystem=travis -Dcommit=${TRAVIS_COMMIT:0:7}
65after_success :
76 - export PROJECT_ARTIFACT_ID="`sed -n 's|.*<artifactId>\(.*\)</artifactId>.*|\1|p' $TRAVIS_BUILD_DIR/pom.xml | awk '{ print $1; exit }'`" && echo Project artifactId is $PROJECT_ARTIFACT_ID
87 - export PROJECT_NAME="`sed -n 's|.*<name>\(.*\)</name>.*|\1|p' $TRAVIS_BUILD_DIR/pom.xml | awk '{ print $1; exit }'`" && echo Project name is $PROJECT_NAME
98 - export PROJECT_VERSION="`sed -n 's|.*<version>\(.*\)</version>.*|\1|p' $TRAVIS_BUILD_DIR/pom.xml | awk '{ print $1; exit }'`" && echo Project version is $PROJECT_VERSION
9+ - " git clone -b travis `git config --get remote.origin.url` target/travis"
1010 - " [[ \" $TRAVIS_BRANCH\" == \" master\" ]] && mvn deploy --settings target/travis/settings.xml"
1111
1212notifications :
Original file line number Diff line number Diff line change 201201 <Specification-Title >${project.name} </Specification-Title >
202202 <Specification-Version >${project.version} +${ciSystem} -b${buildNumber} .git-${commit} </Specification-Version >
203203 <Specification-Vendor >${project.organization.name} </Specification-Vendor >
204- <Sealed >true</Sealed >
205204 </manifestEntries >
206205 <manifestSections >
207206 <manifestSection >
You can’t perform that action at this time.
0 commit comments