Skip to content

Commit

Permalink
Revert "MINOR: Capture build scans on ge.apache.org to benefit from d…
Browse files Browse the repository at this point in the history
…eep build insights (apache#13676)"

This reverts commit 451fff8.
  • Loading branch information
jolshan committed Jul 18, 2023
1 parent d293a57 commit 4fc716a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ plugins {
id "io.swagger.core.v3.swagger-gradle-plugin" version "2.2.8"

id "com.github.spotbugs" version '5.0.13' apply false
id 'org.gradle.test-retry' version '1.5.2' apply false
id 'org.scoverage' version '7.0.1' apply false
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
id 'com.diffplug.spotless' version '6.14.0' apply false // 6.14.1 and newer require Java 11 at compile time, so we can't upgrade until AK 4.0
Expand Down Expand Up @@ -263,6 +264,7 @@ subprojects {
apply plugin: 'java-library'
apply plugin: 'checkstyle'
apply plugin: "com.github.spotbugs"
apply plugin: 'org.gradle.test-retry'

// We use the shadow plugin for the jmh-benchmarks module and the `-all` jar can get pretty large, so
// don't publish it
Expand Down
34 changes: 0 additions & 34 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,40 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

plugins {
id 'com.gradle.enterprise' version '3.13.4'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.11'
}

def isGithubActions = System.getenv('GITHUB_ACTIONS') != null
def isJenkins = System.getenv('JENKINS_URL') != null
def isCI = isGithubActions || isJenkins

gradleEnterprise {
server = "https://ge.apache.org"
buildScan {
capture { taskInputFiles = true }
uploadInBackground = !isCI
publishAlways()
publishIfAuthenticated()
obfuscation {
// This obfuscates the IP addresses of the build machine in the build scan.
// Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues.
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
}
}
}

buildCache {
local {
enabled = !isCI
}

remote(gradleEnterprise.buildCache) {
enabled = false
}
}

include 'clients',
'connect:api',
'connect:basic-auth-extension',
Expand Down

0 comments on commit 4fc716a

Please sign in to comment.