Trying to fix circle
This commit is contained in:
@@ -4,8 +4,8 @@ jobs:
|
||||
docker:
|
||||
- image: cloudpipelines/pipeline-base
|
||||
environment:
|
||||
JAVA_TOOL_OPTIONS: "-Xms128m -Xmx250m"
|
||||
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xms128m -Xmx250m -XX:+HeapDumpOnOutOfMemoryError" -Dorg.gradle.daemon=false'
|
||||
JAVA_TOOL_OPTIONS: "-Xms64m -Xmx250m"
|
||||
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xms64m -Xmx250m -XX:+HeapDumpOnOutOfMemoryError" -Dorg.gradle.daemon=false'
|
||||
TERM: dumb
|
||||
branches:
|
||||
ignore:
|
||||
@@ -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: ./scripts/noIntegration.sh && ./scripts/integrationOnly.sh
|
||||
command: ./scripts/ciBuild.sh
|
||||
- run:
|
||||
name: "Aggregate test results"
|
||||
when: always
|
||||
|
||||
11
scripts/ciBuild.sh
Executable file
11
scripts/ciBuild.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source common.sh || source scripts/common.sh || echo "No common.sh script found..."
|
||||
|
||||
FOLDER=`pwd`
|
||||
|
||||
set -e
|
||||
|
||||
./scripts/noIntegration.sh -Pfast
|
||||
./scripts/gradleOnly.sh
|
||||
./scripts/integrationOnly.sh
|
||||
11
scripts/gradleOnly.sh
Executable file
11
scripts/gradleOnly.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source common.sh || source scripts/common.sh || echo "No common.sh script found..."
|
||||
|
||||
FOLDER=`pwd`
|
||||
|
||||
set -e
|
||||
|
||||
cd "${FOLDER}/spring-cloud-contract-tools/spring-cloud-contract-gradle-plugin"
|
||||
./gradlew clean build install
|
||||
cd "${FOLDER}"
|
||||
Reference in New Issue
Block a user