dockerfile updated for e2e

This commit is contained in:
Sidharth Bamba
2021-09-27 15:55:30 +05:30
parent 5405af3e6a
commit 50af436eec

View File

@@ -36,11 +36,11 @@ RUN echo ${RELEASE_STORE_FILE} | base64 -d >> app/navi-release-key.jks
RUN bash -c " \
if [ $FLAVOR = E2ETEST ] ; then \
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.CustomerDataCleanup; \
status=$? \
echo \"Failed while cleaning data: $status\" \
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.CustomerDataCleanup; \
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.BrowserStackInit -PtestType=\"e2e\" executeE2ETests; \
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.MockDataCleanup; \
if [ $status -ne 0 ]; then echo \"Failed to start my_first_process: $status\" ; fi ; \
\
elif [ $FLAVOR = DEV ] ; then \
./gradlew clean \