From ec4408b92f2b4d7ed79327767967080530925b20 Mon Sep 17 00:00:00 2001 From: Artem Sidorkin Date: Tue, 14 Apr 2020 18:12:14 +0300 Subject: [PATCH 1/2] Added sleep before unzipping. --- download-and-build-example.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/download-and-build-example.sh b/download-and-build-example.sh index fb86f43..f8b3ea6 100755 --- a/download-and-build-example.sh +++ b/download-and-build-example.sh @@ -34,6 +34,8 @@ docker ps $EXEC_PREFIX curl --fail -d $GRADLE_TYPE $CURL_ARGS_COMMON +sleep 10 + unzip demo.zip cd demo ./gradlew assemble @@ -44,6 +46,9 @@ rm -rf demo && rm -rf demo.zip #Test maven build $EXEC_PREFIX curl --fail -d $MAVEN_TYPE $CURL_ARGS_COMMON + +sleep 10 + unzip demo.zip cd demo ./mvnw package -DskipTests From 6a096bfc5cca8dde29a182f36f5d7e878dc5602e Mon Sep 17 00:00:00 2001 From: Artem Sidorkin Date: Wed, 15 Apr 2020 12:36:52 +0300 Subject: [PATCH 2/2] Fixed circle.ci build --- download-and-build-example.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/download-and-build-example.sh b/download-and-build-example.sh index e2f7966..c559489 100755 --- a/download-and-build-example.sh +++ b/download-and-build-example.sh @@ -18,7 +18,7 @@ JAVA_VERSION="javaVersion=1.8" DEPS="dependencies=eventuatelocal,eventuatelocaltestsupport,eventuatetrambasicmessaging,eventuatetramdomainevents,eventuatetramcommands,eventuatetramkafka,eventuatetramactivemq,eventuatetramrabbitmqmq,eventuatetramredis,eventuatetramtestingsupport,eventuatetramsagaorchestrator,eventuatetramsagaparticipant,eventuatetramsagatestingsupport" OUTPUT=demo.zip -CURL_ARGS_COMMON="$URL -d $LANG -d $BOOT_VERSION -d $BASE_DIR -d $GROUP_ID -d $ARTIFACT_ID -d $NAME -d $DESCRIPTION -d $PACKAGE -d $PACKAGING -d $JAVA_VERSION -d $DEPS -o $OUTPUT" +CURL_ARGS_COMMON="$URL -d $LANG -d $BOOT_VERSION -d $BASE_DIR -d $GROUP_ID -d $ARTIFACT_ID -d $NAME -d $DESCRIPTION -d $PACKAGE -d $PACKAGING -d $JAVA_VERSION -d $DEPS" # ./stop.sh @@ -33,9 +33,7 @@ docker ps #TEST gradle build echo Executing: $EXEC_PREFIX curl --fail -d $GRADLE_TYPE $CURL_ARGS_COMMON -$EXEC_PREFIX curl --fail -d $GRADLE_TYPE $CURL_ARGS_COMMON - -sleep 10 +$EXEC_PREFIX curl --fail -d $GRADLE_TYPE $CURL_ARGS_COMMON > $OUTPUT unzip demo.zip cd demo @@ -47,9 +45,7 @@ rm -rf demo && rm -rf demo.zip #Test maven build echo Executing: $EXEC_PREFIX curl --fail -d $MAVEN_TYPE $CURL_ARGS_COMMON -$EXEC_PREFIX curl --fail -d $MAVEN_TYPE $CURL_ARGS_COMMON - -sleep 10 +$EXEC_PREFIX curl --fail -d $MAVEN_TYPE $CURL_ARGS_COMMON > $OUTPUT unzip demo.zip cd demo