Skip to content

Commit

Permalink
Fixed circle.ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
dartartem committed Apr 15, 2020
1 parent 48e733b commit 6a096bf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions download-and-build-example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6a096bf

Please sign in to comment.