You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2010/10/25 20:18:25 UTC

svn commit: r1027223 - in /lucene/dev/nightly: hudson-lucene-3.x.sh hudson-lucene-trunk.sh hudson-lusolr-tests-3.x.sh hudson-lusolr-tests-trunk.sh hudson-settings.sh hudson-solr-3.x.sh hudson-solr-trunk.sh

Author: uschindler
Date: Mon Oct 25 18:18:24 2010
New Revision: 1027223

URL: http://svn.apache.org/viewvc?rev=1027223&view=rev
Log:
Add no(n)commit check :-) Mike, I hope thats cool enough. Unfortunately, the build simply exits with failure but the log filter on hudson for emails will not print any messages.
Also contains some cleanups.

Modified:
    lucene/dev/nightly/hudson-lucene-3.x.sh
    lucene/dev/nightly/hudson-lucene-trunk.sh
    lucene/dev/nightly/hudson-lusolr-tests-3.x.sh
    lucene/dev/nightly/hudson-lusolr-tests-trunk.sh
    lucene/dev/nightly/hudson-settings.sh
    lucene/dev/nightly/hudson-solr-3.x.sh
    lucene/dev/nightly/hudson-solr-trunk.sh

Modified: lucene/dev/nightly/hudson-lucene-3.x.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/hudson-lucene-3.x.sh?rev=1027223&r1=1027222&r2=1027223&view=diff
==============================================================================
--- lucene/dev/nightly/hudson-lucene-3.x.sh (original)
+++ lucene/dev/nightly/hudson-lucene-3.x.sh Mon Oct 25 18:18:24 2010
@@ -1,7 +1,4 @@
 #!/bin/sh
-set -e
-set -x
-
 . $WORKSPACE/nightly/hudson-settings.sh
 
 #Update the Version # when doing a release

Modified: lucene/dev/nightly/hudson-lucene-trunk.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/hudson-lucene-trunk.sh?rev=1027223&r1=1027222&r2=1027223&view=diff
==============================================================================
--- lucene/dev/nightly/hudson-lucene-trunk.sh (original)
+++ lucene/dev/nightly/hudson-lucene-trunk.sh Mon Oct 25 18:18:24 2010
@@ -1,7 +1,4 @@
 #!/bin/sh
-set -e
-set -x
-
 . $WORKSPACE/nightly/hudson-settings.sh
 
 #Update the Version # when doing a release

Modified: lucene/dev/nightly/hudson-lusolr-tests-3.x.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/hudson-lusolr-tests-3.x.sh?rev=1027223&r1=1027222&r2=1027223&view=diff
==============================================================================
--- lucene/dev/nightly/hudson-lusolr-tests-3.x.sh (original)
+++ lucene/dev/nightly/hudson-lusolr-tests-3.x.sh Mon Oct 25 18:18:24 2010
@@ -1,7 +1,4 @@
 #!/bin/sh
-set -e
-set -x
-
 . $WORKSPACE/nightly/hudson-settings.sh
 
 cd $WORKSPACE/$ROOT_DIR

Modified: lucene/dev/nightly/hudson-lusolr-tests-trunk.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/hudson-lusolr-tests-trunk.sh?rev=1027223&r1=1027222&r2=1027223&view=diff
==============================================================================
--- lucene/dev/nightly/hudson-lusolr-tests-trunk.sh (original)
+++ lucene/dev/nightly/hudson-lusolr-tests-trunk.sh Mon Oct 25 18:18:24 2010
@@ -1,7 +1,4 @@
 #!/bin/sh
-set -e
-set -x
-
 . $WORKSPACE/nightly/hudson-settings.sh
 
 cd $WORKSPACE/$ROOT_DIR

Modified: lucene/dev/nightly/hudson-settings.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/hudson-settings.sh?rev=1027223&r1=1027222&r2=1027223&view=diff
==============================================================================
--- lucene/dev/nightly/hudson-settings.sh (original)
+++ lucene/dev/nightly/hudson-settings.sh Mon Oct 25 18:18:24 2010
@@ -1,4 +1,6 @@
 #!/bin/sh
+set -e
+set -x
 
 ANT_HOME=/home/hudson/tools/ant/latest1.7
 SVNVERSION_EXE=svnversion
@@ -21,3 +23,13 @@ SOLR_DIR=$ROOT_DIR/solr
 ARTIFACTS=$WORKSPACE/artifacts
 MAVEN_ARTIFACTS=$WORKSPACE/maven_artifacts
 JAVADOCS_ARTIFACTS=$WORKSPACE/javadocs
+
+#do some checks that are common to all build scripts:
+set +x
+
+cd $WORKSPACE/$ROOT_DIR
+echo "Checking for files containing nocommit (exits build with failure if list is non-empty):"
+(! find . -name '*.java' | grep -v '/backwards/' | xargs egrep -li -e '\bno(n|)commit\b')
+cd $WORKSPACE
+
+set -x

Modified: lucene/dev/nightly/hudson-solr-3.x.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/hudson-solr-3.x.sh?rev=1027223&r1=1027222&r2=1027223&view=diff
==============================================================================
--- lucene/dev/nightly/hudson-solr-3.x.sh (original)
+++ lucene/dev/nightly/hudson-solr-3.x.sh Mon Oct 25 18:18:24 2010
@@ -1,7 +1,4 @@
 #!/bin/sh
-set -e
-set -x
-
 . $WORKSPACE/nightly/hudson-settings.sh
 
 VERSION=3.1-$BUILD_ID

Modified: lucene/dev/nightly/hudson-solr-trunk.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/hudson-solr-trunk.sh?rev=1027223&r1=1027222&r2=1027223&view=diff
==============================================================================
--- lucene/dev/nightly/hudson-solr-trunk.sh (original)
+++ lucene/dev/nightly/hudson-solr-trunk.sh Mon Oct 25 18:18:24 2010
@@ -1,7 +1,4 @@
 #!/bin/sh
-set -e
-set -x
-
 . $WORKSPACE/nightly/hudson-settings.sh
 
 VERSION=4.0-$BUILD_ID