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

pull/22614/head
Andy Wilkinson 4 years ago
parent 45d50e279e
commit 141c59e348

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

Loading…
Cancel
Save