Skip to content

Commit 141c59e

Browse files
committed
Set BRANCH env var so it's available to Gradle Enterprise
1 parent 45d50e2 commit 141c59e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ci/pipeline.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ anchors:
1717
timeout: ((task-timeout))
1818
file: git-repo/ci/tasks/build-project.yml
1919
params:
20+
BRANCH: ((branch))
2021
<<: *gradle-enterprise-task-params
2122
github-task-params: &github-task-params
2223
GITHUB_REPO: spring-boot
@@ -252,18 +253,21 @@ jobs:
252253
file: git-repo/ci/tasks/build-samples.yml
253254
timeout: ((task-timeout))
254255
params:
256+
BRANCH: ((branch))
255257
<<: *gradle-enterprise-task-params
256258
- task: build-integration-tests
257259
image: spring-boot-ci-image
258260
file: git-repo/ci/tasks/build-integration-tests.yml
259261
timeout: ((task-timeout))
260262
params:
263+
BRANCH: ((branch))
261264
<<: *gradle-enterprise-task-params
262265
- task: build-deployment-tests
263266
image: spring-boot-ci-image
264267
file: git-repo/ci/tasks/build-deployment-tests.yml
265268
timeout: ((task-timeout))
266269
params:
270+
BRANCH: ((branch))
267271
<<: *gradle-enterprise-task-params
268272
on_failure:
269273
do:
@@ -345,18 +349,21 @@ jobs:
345349
file: git-repo/ci/tasks/build-samples.yml
346350
timeout: ((task-timeout))
347351
params:
352+
BRANCH: ((branch))
348353
<<: *gradle-enterprise-task-params
349354
- task: build-integration-tests
350355
image: spring-boot-jdk11-ci-image
351356
file: git-repo/ci/tasks/build-integration-tests.yml
352357
timeout: ((task-timeout))
353358
params:
359+
BRANCH: ((branch))
354360
<<: *gradle-enterprise-task-params
355361
- task: build-deployment-tests
356362
image: spring-boot-jdk11-ci-image
357363
file: git-repo/ci/tasks/build-deployment-tests.yml
358364
timeout: ((task-timeout))
359365
params:
366+
BRANCH: ((branch))
360367
<<: *gradle-enterprise-task-params
361368
on_failure:
362369
do:
@@ -385,6 +392,7 @@ jobs:
385392
- WIN64
386393
timeout: ((task-timeout))
387394
params:
395+
BRANCH: ((branch))
388396
<<: *gradle-enterprise-task-params
389397
on_failure:
390398
do:

0 commit comments

Comments
 (0)