Improved circle build
This commit is contained in:
@@ -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
10
scripts/integrationOnly.sh
Executable 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
|
||||
Reference in New Issue
Block a user