Browse Source

Set BRANCH env var so it's available to Gradle Enterprise

pull/22614/head
Andy Wilkinson 6 years ago
parent
commit
141c59e348
  1. 8
      ci/pipeline.yml

8
ci/pipeline.yml

@ -17,6 +17,7 @@ anchors: @@ -17,6 +17,7 @@ anchors:
timeout: ((task-timeout))
file: git-repo/ci/tasks/build-project.yml
params:
BRANCH: ((branch))
<<: *gradle-enterprise-task-params
github-task-params: &github-task-params
GITHUB_REPO: spring-boot
@ -252,18 +253,21 @@ jobs: @@ -252,18 +253,21 @@ jobs:
file: git-repo/ci/tasks/build-samples.yml
timeout: ((task-timeout))
params:
BRANCH: ((branch))
<<: *gradle-enterprise-task-params
- task: build-integration-tests
image: spring-boot-ci-image
file: git-repo/ci/tasks/build-integration-tests.yml
timeout: ((task-timeout))
params:
BRANCH: ((branch))
<<: *gradle-enterprise-task-params
- task: build-deployment-tests
image: spring-boot-ci-image
file: git-repo/ci/tasks/build-deployment-tests.yml
timeout: ((task-timeout))
params:
BRANCH: ((branch))
<<: *gradle-enterprise-task-params
on_failure:
do:
@ -345,18 +349,21 @@ jobs: @@ -345,18 +349,21 @@ jobs:
file: git-repo/ci/tasks/build-samples.yml
timeout: ((task-timeout))
params:
BRANCH: ((branch))
<<: *gradle-enterprise-task-params
- task: build-integration-tests
image: spring-boot-jdk11-ci-image
file: git-repo/ci/tasks/build-integration-tests.yml
timeout: ((task-timeout))
params:
BRANCH: ((branch))
<<: *gradle-enterprise-task-params
- task: build-deployment-tests
image: spring-boot-jdk11-ci-image
file: git-repo/ci/tasks/build-deployment-tests.yml
timeout: ((task-timeout))
params:
BRANCH: ((branch))
<<: *gradle-enterprise-task-params
on_failure:
do:
@ -385,6 +392,7 @@ jobs: @@ -385,6 +392,7 @@ jobs:
- WIN64
timeout: ((task-timeout))
params:
BRANCH: ((branch))
<<: *gradle-enterprise-task-params
on_failure:
do:

Loading…
Cancel
Save