Created
November 24, 2010 09:32
-
-
Save primalmotion/713399 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir -p '/opt/buildmaven/TEMP_DIR' | |
| cd '/opt/buildmaven/TEMP_DIR' | |
| export JAVA_HOME='/opt/java/' | |
| svn checkout --username 'admin' --password '****' --no-auth-cache --non-interactive 'http://subversion.dev.sirhen-dev.in.orion.education.fr/simpel//trunk' | |
| cd './trunk' | |
| /opt/maven/bin/mvn --batch-mode release:prepare -Dusername='admin' -Dpassword=**** -Dtag=1.0.0.1 -DreleaseVersion=1.0.0.1 -DdevelopmentVersion=1.0.0.2-SNAPSHOT -Dmaven.scm.svn.config_directory=/tmp -P \!int,liv | |
| /opt/maven/bin/mvn --batch-mode release:perform -Dusername='admin' -Dpassword=**** -Dtag=1.0.0.1 -DreleaseVersion=1.0.0.1 -DdevelopmentVersion=1.0.0.2-SNAPSHOT -Dgoals=deploy -P \!int,liv | |
| cd .. | |
| rm -rf /opt/buildmaven/TEMP_DIR/* | |
| svn checkout [...] http://subversion.dev.sirhen-dev.in.orion.education.fr/simpel/tags/1.0.0.1 | |
| /opt/maven/bin/mvn clean site-deploy | |
| /opt/maven/bin/mvn clean sonar:sonar | |
| rm -rf '/opt/buildmaven/TEMP_DIR'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment