Move replication.jar and delete-project.jar to /lib for testing The replication.jar and delete-project.jar contain classes that are used by the multi-site plugin and need in the multi-site setup. Change-Id: I9c631d6f5c881b69e02a1bc7222bc030a506d1d0
diff --git a/setup_local_env/setup.sh b/setup_local_env/setup.sh index 5a954a9..2673d3b 100755 --- a/setup_local_env/setup.sh +++ b/setup_local_env/setup.sh
@@ -578,8 +578,12 @@ echo "Re-deploying configuration files" deploy_config_files $GERRIT_1_HOSTNAME $GERRIT_1_HTTPD_PORT $GERRIT_1_SSHD_PORT $GERRIT_2_HOSTNAME $GERRIT_2_HTTPD_PORT $GERRIT_2_SSHD_PORT +echo "Move replication and delete-project plugins to /lib on gerrit site 1" +mv $LOCATION_TEST_SITE_1/plugins/{replication,delete-project}.jar $LOCATION_TEST_SITE_1/lib/. echo "Starting gerrit site 1" $LOCATION_TEST_SITE_1/bin/gerrit.sh restart +echo "Move replication plugin to /lib on gerrit site 2" +mv $LOCATION_TEST_SITE_2/plugins/{replication,delete-project}.jar $LOCATION_TEST_SITE_2/lib/. echo "Starting gerrit site 2" $LOCATION_TEST_SITE_2/bin/gerrit.sh restart