This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
homeDir=build/HOME | |
# Initialize empty Gradle User Home with settings to run build, including Develocity access keys | |
echo "Initializing Gradle User Home directory at $homeDir" | |
mkdir -p $homeDir | |
cp ~/.gradle/gradle.properties $homeDir | |
cp -r ~/.gradle/develocity $homeDir | |
cp -r ~/.gradle/enterprise $homeDir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def hasher = services.get(org.gradle.internal.hash.ClassLoaderHierarchyHasher) | |
def classLoaderFactory = services.get(org.gradle.internal.classloader.HashingClassLoaderFactory) | |
project.afterEvaluate { | |
tasks.named('functionalTestMacosLatestGlobalAvailable') { task -> | |
for (int i = 0; i < task.actions.size(); i++) { | |
def action = task.actions[i] | |
def implementation = action.getActionImplementation(hasher) | |
buildScan.value "${task.path}:actions[${i}].class", implementation.typeName | |
buildScan.value "${task.path}:actions[${i}].hash", implementation.classLoaderHash.toString() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id "com.gradle.build-scan" version "3.5" | |
} | |
gradleEnterprise { | |
server = "https://localhost" | |
allowUntrustedServer = true | |
buildScan { | |
publishAlways() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copy the following file to 'gradle/build-scan-user-data.gradle' | |
// https://github.com/gradle/gradle-enterprise-build-config-samples/blob/master/common-custom-user-data-gradle-script/common-custom-user-data.gradle | |
apply from: 'gradle/build-scan-user-data.gradle' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/xenial64" | |
config.vm.network "forwarded_port", guest: 8800, host: 8800 | |
config.vm.network "forwarded_port", guest: 80, host: 80 | |
config.vm.network "forwarded_port", guest: 443, host: 443 | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = "8192" | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.example</groupId> | |
<artifactId>custom-platform</artifactId> | |
<version>1.0</version> | |
<packaging>pom</packaging> | |
<dependencyManagement> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'java' | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
implementation platform("org.springframework.boot:spring-boot-dependencies:2.0.5.RELEASE") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14:22:54.544 [DEBUG] [org.gradle.internal.resource.transport.http.HttpClientHelper] Performing HTTP HEAD: http://www.systap.com/maven/releases/org/neo4j/shell/import-tools/3.0.3/import-tools-3.0.3.pom | |
14:22:54.687 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] CookieSpec selected: default | |
14:22:54.694 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Auth cache not set in the context | |
14:22:54.695 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection request: [route: {}->http://www.systap.com:80][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20] | |
14:22:54.706 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection leased: [id: 0][route: {}->http://www.systap.com:80][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 20] | |
14:22:54.707 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Opening connection {}->http://www.systap.com:80 | |
14:22:54.710 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClien |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## First 4 tests for FLAKY builds on ubuntu22-agent1 (before HOST rebuild) | |
Note that it's the same 4 tests each time (one for each test thread) | |
[17:12:28][:core:integTest] maxParallelForks for ':core:integTest' is 4 | |
[17:12:30][:core:integTest] org.gradle.NativeServicesIntegrationTest (4s) | |
[17:12:30][:core:integTest] org.gradle.groovy.scripts.StatementLabelsIntegrationTest (10s) | |
[17:12:30][:core:integTest] org.gradle.initialization.PropertiesLoaderIntegrationTest (39s) | |
[17:12:31][:core:integTest] org.gradle.testfixtures.ProjectBuilderIntegrationTest (11s) | |
[13:51:26][:core:integTest] maxParallelForks for ':core:integTest' is 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tcagent2@ubuntu29:/home/tcagent2/agent/work/1c72cb73edd79150$ /home/tcagent2/gradle-dev/bin/gradle --info -g /home/tcagent2/gradle-home help | |
Starting Build | |
Evaluating root project 'buildSrc' using build file '/home/tcagent2/agent/work/1c72cb73edd79150/buildSrc/build.gradle'. | |
Cached resource https://repo.gradle.org/gradle/libs/org/ow2/asm/asm-all/5.1/asm-all-5.1.pom is up-to-date (lastModified: Fri May 20 08:40:21 UTC 2016). | |
Looking for artifact in cache: asm-parent.pom (org.ow2.asm:asm-parent:5.1) | |
FOUND!!!!! /home/tcagent2/.gradle/caches/modules-2/files-2.1/gradle.plugin.me.champeau.gradle/jmh-gradle-plugin/0.3.0/33f930601f06ec55cae50f7946fc3499ea23c1b5/jmh-gradle-plugin-0.3.0.jar | |
[Fatal Error] jmh-gradle-plugin-0.3.0.jar:2:1: Content is not allowed in prolog. | |
Cached resource https://repo1.maven.org/maven2/org/ow2/asm/asm-all/5.1/asm-all-5.1.pom is up-to-date (lastModified: Sat Mar 05 13:43:23 UTC 2016). | |
[Fatal Error] jmh-gradle-plugin-0.3.0.jar:2:1: Content is not allowed in prolog. | |
Stopped 0 compiler daemon |
NewerOlder