Commits

Jan Lahoda committed 907a35d

Ability to specify extra parameters for the maven part of the build

  • Participants
  • Parent commits 8eea4b6

Comments (0)

Files changed (1)

File remoting/build.sh

 (cd build; zip -r indexing-backend.zip indexing-backend) || exit 1
 (cd build; zip -r indexing-backend-shortened.zip `find indexing-backend -type f | grep -v indexing-backend/indexer/enterprise/ | grep -v indexing-backend/indexer/apisupport/  | grep -v indexing-backend/indexer/cnd/   | grep -v indexing-backend/indexer/dlight/   | grep -v indexing-backend/indexer/harness/   | grep -v indexing-backend/indexer/ide/   | grep -v indexing-backend/indexer/java   | grep -v indexing-backend/indexer/nb/   | grep -v indexing-backend/indexer/platform/   | grep -v indexing-backend/indexer/profiler/   | grep -v indexing-backend/indexer/websvccommon/`) || exit 1
 
-(cd server/hudson; mvn -Dmaven.test.skip=true clean package && cp target/*.hpi ../../build) || exit
+(cd server/hudson; mvn $MAVEN_EXTRA_ARGS -Dmaven.test.skip=true clean package && cp target/*.hpi ../../build) || exit
 
 mkdir -p ide/local/release/index-server
 (cd server/web/web.main; cp -r dist/* ../../../ide/local/release/index-server) || exit 1