• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • Last Change
  • Annotate
  • Revision Log

root/trunk/hudson.sh

Revision 2771, 1.1 kB (checked in by jmoore, 30 hours ago)

More test changes for hudson

Previously, the default ant target "build-default" ran no tests,
because unit tests and integration tests were lumped together.
Moving forward with hudson, we need more intelligent stop/start
logic to run the integration tests, so I've taken the "integration"
target out of the lifecycle.xml dependency graph.

Now, both build-default and, therefore, hudson.sh will run
unit tests, but not integration tests. The "quick" target and/or
setting "test.skip" will still prevent unit tests from running.

  • Property svn:executable set to *
Line 
1#!/bin/bash
2#
3# $Id$
4#
5# Copyright 2008 Glencoe Software, Inc. All rights reserved.
6# Use is subject to license terms supplied in LICENSE.txt
7#
8# Script used by hudson.openmicroscopy.org.uk
9
10set -e
11set -u
12set -x
13
14export JBOSS_HOME=${JBOSS_HOME:-"HOME/root/opt/jboss"}
15export JAVA_OPTS=${JAVA_OPTS:-"-Xmx600M -Djavac.maxmem=600M -Djavadoc.maxmem=600M -XX:MaxPermSize=256m"}
16
17java_omero(){
18    java $JAVA_OPTS -Domero.version=build$BUILD_NUMBER omero "$@"
19}
20
21#
22# Cleaning to prevent strange hudson errors about
23# stale tests and general weirdness.
24#
25java_omero clean
26
27#
28# Run the default build which most notably omits the C++ bindings.
29# This is primarily due to build time of C++, but it also means that
30# all the resulting build artifacts are platform-independent. Another
31# later build can be used to produce platform-specific bits.
32#
33java_omero
34
35#
36# Various builds for usability
37#
38
39#
40# Documentation and build reports
41#
42java_omero javadoc
43java_omero findbugs
44
45#
46# Prepare a distribution
47#
48rm -f OMERO.server-build*.zip
49java_omero zip
50
51# Install into the hudson repository
52java_omero ivy-hudson
Note: See TracBrowser for help on using the browser.

Download in other formats:

  • Plain Text
  • Original Format

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/