Browse Source

Upgrade to version 3.3 of gradle enterprise plugin (#56243)

Mark Vieira 5 years ago
parent
commit
b6e3027a60
2 changed files with 4 additions and 1 deletions
  1. 3 0
      gradle/build-scan.gradle
  2. 1 1
      settings.gradle

+ 3 - 0
gradle/build-scan.gradle

@@ -40,6 +40,9 @@ buildScan {
 
   // Jenkins-specific build scan metadata
   if (jenkinsUrl) {
+    // Disable async upload in CI to ensure scan upload completes before CI agent is terminated
+    uploadInBackground = false
+
     // Parse job name in the case of matrix builds
     // Matrix job names come in the form of "base-job-name/matrix_param1=value1,matrix_param2=value2"
     def splitJobName = jobName.split('/')

+ 1 - 1
settings.gradle

@@ -1,5 +1,5 @@
 plugins {
-  id "com.gradle.enterprise" version "3.2"
+  id "com.gradle.enterprise" version "3.3"
 }
 
 String dirName = rootProject.projectDir.name