From 141c59e348527ca43416cd011ee2ff2094c6b270 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Sat, 25 Jul 2020 10:26:53 +0100 Subject: [PATCH] Set BRANCH env var so it's available to Gradle Enterprise --- ci/pipeline.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index f83240878e9..a5f8ecd392d 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -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: 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: 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: - WIN64 timeout: ((task-timeout)) params: + BRANCH: ((branch)) <<: *gradle-enterprise-task-params on_failure: do: