Skip to content

Commit

Permalink
Merge pull request #4 from dartartem/master
Browse files Browse the repository at this point in the history
Fixed circleci build
  • Loading branch information
cer authored Apr 15, 2020
2 parents 6057258 + 6a096bf commit fad8499
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 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,7 +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
$EXEC_PREFIX curl --fail -d $GRADLE_TYPE $CURL_ARGS_COMMON > $OUTPUT

unzip demo.zip
cd demo
Expand All @@ -45,7 +45,8 @@ 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
$EXEC_PREFIX curl --fail -d $MAVEN_TYPE $CURL_ARGS_COMMON > $OUTPUT

unzip demo.zip
cd demo
./mvnw package -DskipTests
Expand Down

0 comments on commit fad8499

Please sign in to comment.