Skip to main content

[glassfish~svn:62936] removed hard coded hudson url and changed the build target for nightly bu

  • From: trilokagarwal@...
  • To: commits@...
  • Subject: [glassfish~svn:62936] removed hard coded hudson url and changed the build target for nightly bu
  • Date: Tue, 5 Nov 2013 20:03:54 +0000

Project:    glassfish
Repository: svn
Revision:   62936
Author:     trilokagarwal
Date:       2013-11-05 20:03:53 UTC
Link:       

Log Message:
------------
removed hard coded hudson url and changed the build target for nightly build 
to not run findbugs as part of ips profile


Revisions:
----------
62936


Modified Paths:
---------------
trunk/main/hudson/release.sh


Diffs:
------
Index: trunk/main/hudson/release.sh
===================================================================
--- trunk/main/hudson/release.sh        (revision 62935)
+++ trunk/main/hudson/release.sh        (revision 62936)
@@ -72,10 +72,11 @@
     printf "%s\n\n" "Synchronizing to $SYNCHTO"
 elif [ "nightly" == "${1}" ]
 then
-    SVN_REVISION=$(wget -q -O - 
"http://gf-hudson.us.oracle.com/hudson/view/GlassFish/view/Trunk%20Nightly/job/gf-trunk-build-nightly/Nightly/api/xml?xpath=//changeSet/item[1]/revision/text()")
+    
TRIGGER_JOB_URL="http://${HUDSON_MASTER_HOST}/hudson/view/GlassFish/view/Trunk
 Continuous/job/gf-trunk-build-dev"
+    SVN_REVISION=$(wget -q -O - 
"${TRIGGER_JOB_URL}/dev-build/api/xml?xpath=//changeSet/item[1]/revision/text()")
     if [[ ! "${SVN_REVISION}" = *[[:digit:]]* ]]
     then
-       echo "failed to get the svn revision from 
http://gf-hudson/hudson/view/GlassFish/view/Trunk ;
Nightly/job/gf-trunk-build-nightly"
+       echo "failed to get the svn revision from ${TRIGGER_JOB_URL}"
        exit 1
     fi
     printf "%s\n\n" "Synchronizing to ${SVN_REVISION}"
@@ -173,7 +174,7 @@
     MVN_PROFILES="release-phase2,ips,embedded,javaee-api"
 elif [ "nightly" == "${1}" ]
 then
-    BUILD_TARGETS="clean install findbugs:findbugs"
+    BUILD_TARGETS="clean install"
     MVN_PROFILES="ips,javaee-api"
 fi
 
@@ -204,4 +205,4 @@
 # clean and zip the workspace
 printf "\n%s \n\n" "===== ZIP THE WORKSPACE ====="
 svn status main | grep ? | awk '{print $2}' | xargs rm -rf
-zip $WORKSPACE/bundles/workspace.zip -r main
\ No newline at end of file
+zip $WORKSPACE/bundles/workspace.zip -r main





[glassfish~svn:62936] removed hard coded hudson url and changed the build target for nightly bu

trilokagarwal 11/05/2013
 
 
Close
loading
Please Confirm
Close