mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
Using already exported variables for mongo port and host
This commit is contained in:
1 parent
221db7d129
commit
acfde2f678
1 file changed
-4
@@ -333,10 +333,6 @@ if [[ "$@" == "build" ]] || [[ "$@" == "all" ]]; then
|
||||
# needed to make sure that tests use the right servers
|
||||
APP_PARAMETERS="-Dmongo.host=$MONGODB_HOST -Dmongo.port=$MONGODB_PORT -Dexpedition.udp.port=$EXPEDITION_PORT -Dreplication.exchangeHost=$REPLICATION_HOST -Dreplication.exchangeName=$REPLICATION_CHANNEL"
|
||||
|
||||
# some Maven plugins do not honor argLine parameters so we need to set some here
|
||||
export mongo.host=$MONGODB_HOST
|
||||
export mongo.port=$MONGODB_PORT
|
||||
|
||||
echo "Using following command: mvn $extra -DargLine=\"$APP_PARAMETERS\" -fae -s $MAVEN_SETTINGS $clean install"
|
||||
mvn $extra -DargLine="$APP_PARAMETERS" -fae -s $MAVEN_SETTINGS $clean install 2>&1 | tee $START_DIR/build.log
|
||||
|
||||
|
||||
Reference in new issue
Block a user