Improved circle build

This commit is contained in:
Marcin Grzejszczak
2019-08-28 10:13:12 +02:00
parent e54fe375b0
commit 0d0856dd5e
2 changed files with 11 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ jobs:
command: rm -rf ~/.m2/repository/org/springframework/cloud/contract && rm -rf ~/.m2/repository/com/example
- run:
name: "Running build"
command: ./mvnw -s .settings.xml clean install -U -Pdocs,fast,integration -nsu --batch-mode -Dmaven.test.redirectTestOutputToFile=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
command: ./scripts/noIntegration.sh && ./scripts/integrationOnly.sh
- run:
name: "Aggregate test results"
when: always

10
scripts/integrationOnly.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
source common.sh || source scripts/common.sh || echo "No common.sh script found..."
FOLDER=`pwd`
set -e
./mvnw clean install ${@} -Pintegration -pl docker
./mvnw clean install ${@} -Pintegration -rf samples