Set BRANCH env var so it's available to Gradle Enterprise
This commit is contained in:
		
							parent
							
								
									45d50e279e
								
							
						
					
					
						commit
						141c59e348
					
				| 
						 | 
				
			
			@ -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:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue