Changed circleci setup

This commit is contained in:
Marcin Grzejszczak
2019-12-28 12:13:34 +01:00
parent 2882a84f6e
commit 94415387f6
2 changed files with 2 additions and 3 deletions

View File

@@ -10,7 +10,6 @@ jobs:
branches:
ignore:
- gh-pages # list of branches to ignore
resource_class: large
steps:
- checkout
- restore_cache:
@@ -24,7 +23,7 @@ jobs:
- ~/.m2
- run:
name: "Running build"
command: ./mvnw -s .settings.xml clean org.jacoco:jacoco-maven-plugin:prepare-agent install -U -P sonar -nsu --batch-mode -Dmaven.test.redirectTestOutputToFile=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --fail-at-end
command: ./scripts/runAcceptanceTests.sh
- run:
name: "Aggregate test results"
when: always

View File

@@ -27,7 +27,7 @@ function build() {
echo "Updating parent boot to [${CURRENT_BOOT_VERSION}]"
./mvnw versions:update-parent "-DparentVersion=(,${CURRENT_BOOT_VERSION}]" -DgenerateBackupPoms=false -DallowSnapshots=true
echo "Running the build with cloud version [${CURRENT_CLOUD_VERSION}]"
./mvnw clean install -Dspring-cloud.version="${CURRENT_CLOUD_VERSION}"
./mvnw -s .settings.xml clean org.jacoco:jacoco-maven-plugin:prepare-agent install -Dspring-cloud.version="${CURRENT_CLOUD_VERSION}" -U -P sonar -nsu --batch-mode -Dmaven.test.redirectTestOutputToFile=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --fail-at-end
}
cat <<EOF