#847 - Move 'ci' profile into pipeline.

To let the pipeline inject custom profiles, the 'ci' profile needs to move out of `test.sh` script and instead be injected.
This commit is contained in:
Greg Turnquist
2019-03-03 12:51:41 -06:00
parent 94a66ae4d3
commit f38c2f4e23
2 changed files with 10 additions and 10 deletions

View File

@@ -390,37 +390,37 @@ jobs:
- aggregate:
- task: test (JDK 8)
file: spring-hateoas-github/ci/test.yml
params: { PROFILE: "non-existent" }
params: { PROFILE: "ci" }
- task: test (JDK 8 and Spring 5.1 snapshots)
file: spring-hateoas-github/ci/test.yml
params: { PROFILE: "spring51-next" }
params: { PROFILE: "ci,spring51-next" }
- task: test (JDK 8 and Spring 5.2 snapshots)
file: spring-hateoas-github/ci/test.yml
params: { PROFILE: "spring52-next" }
params: { PROFILE: "ci,spring52-next" }
- task: test (JDK 11)
image: openjdk:11-jdk
file: spring-hateoas-github/ci/test.yml
params: { PROFILE: "non-existent" }
params: { PROFILE: "ci" }
- task: test (JDK 11 and Spring 5.1 snapshots)
image: openjdk:11-jdk
file: spring-hateoas-github/ci/test.yml
params: { PROFILE: "spring51-next" }
params: { PROFILE: "ci,spring51-next" }
- task: test (JDK 11 and Spring 5.2 snapshots)
image: openjdk:11-jdk
file: spring-hateoas-github/ci/test.yml
params: { PROFILE: "spring52-next" }
params: { PROFILE: "ci,spring52-next" }
- task: test (JDK 13)
image: openjdk:13-jdk
file: spring-hateoas-github/ci/test.yml
params: { PROFILE: "non-existent" }
params: { PROFILE: "ci" }
- task: test (JDK 13 and Spring 5.1 snapshots)
image: openjdk:13-jdk
file: spring-hateoas-github/ci/test.yml
params: { PROFILE: "spring51-next" }
params: { PROFILE: "ci,spring51-next" }
- task: test (JDK 13 and Spring 5.2 snapshots)
image: openjdk:13-jdk
file: spring-hateoas-github/ci/test.yml
params: { PROFILE: "spring52-next" }
params: { PROFILE: "ci,spring52-next" }
on_failure:
aggregate:
- put: spring-hateoas-pull-requests

View File

@@ -8,4 +8,4 @@ rm -rf $HOME/.m2/repository/org/springframework/hateoas 2> /dev/null || :
cd spring-hateoas-github
./mvnw clean dependency:list test -Pci -Dsort
./mvnw clean dependency:list test -P${PROFILE} -Dsort