[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    svn commit: r438982 -
From:       psteitz () apache ! org
Date:       2006-08-31 16:49:39
Message-ID: 20060831164939.68B3A1A981A () eris ! apache ! org
[Download RAW message or body]

Author: psteitz
Date: Thu Aug 31 09:49:38 2006
New Revision: 438982

URL: http://svn.apache.org/viewvc?rev=438982&view=rev
Log:
Added log messages on m1, m2 jar deployment
Fixed bad path spec in m2 zip, tar deployment
Fixed bad conditional test for successful m2 build
Added src assembly and jar deploy logs to m2 build log

Modified:
    jakarta/commons/proper/commons-build/trunk/commons_nightly.sh

Modified: jakarta/commons/proper/commons-build/trunk/commons_nightly.sh
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-build/trunk/commons_nightly.sh?rev=438982&r1=438981&r2=438982&view=diff
 ==============================================================================
--- jakarta/commons/proper/commons-build/trunk/commons_nightly.sh (original)
+++ jakarta/commons/proper/commons-build/trunk/commons_nightly.sh Thu Aug 31 09:49:38 \
2006 @@ -92,6 +92,7 @@
     # Deploy dated jar manually to maven 1 snapshot repo
     if [ -e "target/commons-$component-$time_stamp.jar" ] # build succeeded
     then 
+      echo "Deploying commons-$component SNAPSHOT jar to m1 snapshot repo"
       # Create component directory in the repo if it does not exist
       ssh $maven_snapshot_host mkdir -p \
${maven_snapshot_directory}/commons-$component/jars  
@@ -141,7 +142,7 @@
     # Create source and binary distributions
     mvn clean
     mvn assembly:assembly -DdescriptorId=bin > $log_location/$component.log 2>&1 
-    mvn assembly:assembly -DdescriptorId=src 
+    mvn assembly:assembly -DdescriptorId=src >> $log_location/$component.log 2>&1 
     # Rename files
     mv target/commons-$component*bin.tar.gz \
                target/commons-$component-$time_stamp.tar.gz
     mv target/commons-$component*src.tar.gz \
target/commons-$component-$time_stamp-src.tar.gz @@ -150,17 +151,18 @@
 
     # Deploy source and binary distro to commons nightly location
     ssh $deploy_host mkdir -p $deploy_location/commons-$component
-    scp target/distributions/commons-$component*.gz \
+    scp target/commons-$component*.gz \
     $deploy_user@$deploy_host:$deploy_location/commons-$component
-    scp target/distributions/commons-$component*.zip \
+    scp target/commons-$component*.zip \
     $deploy_user@$deploy_host:$deploy_location/commons-$component
-    scp target/distributions/commons-$component*.md5 \
+    scp target/commons-$component*.md5 \
     $deploy_user@$deploy_host:$deploy_location/commons-$component
 
     # Deploy dated jar to maven 2 snapshot repo (configured in apache pom)
-    if [ -e "target/commons-$component*.jar" ] # build succeeded
+    if [ `ls target/commons-$component*.jar` ] # build succeeded
     then 
-       mvn deploy
+       echo "Deploying commons-$component SNAPSHOT jar to m2 snapshot repo"
+       mvn deploy >> $log_location/$component.log 2>&1 
     else # build failed - add to failure list and capture unit test logs
       failed_builds[${#failed_builds[@]}]=$component
       echo "Test Reports" >> $log_location/$component.log



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic