Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally run Gradle build + ITs using different JDK #36238

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

snazy
Copy link
Contributor

@snazy snazy commented Oct 2, 2023

When the environment variable GRADLE_JAVA_HOME is present, it will be used as the JAVA_HOME when building devtools/gradle/ using Gradle via Maven, Gradle devtools integration tests respect the environment variable as well.

When the environment variable `GRADLE_JAVA_HOME` is present, it will be used as the `JAVA_HOME` when building `devtools/gradle/` using Gradle via Maven, Gradle devtools integration tests respect the environment variable as well.
@quarkus-bot quarkus-bot bot added area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/gradle Gradle labels Oct 2, 2023
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 2, 2023

Failing Jobs - Building ad127ed

Status Name Step Failures Logs Raw logs Build scan
Gradle Tests - JDK 11 Build Failures Logs Raw logs
✔️ Gradle Tests - JDK 11 Windows

Full information is available in the Build summary check run.

Failures

⚙️ Gradle Tests - JDK 11 #

- Failing: integration-tests/gradle 

📦 integration-tests/gradle

io.quarkus.gradle.builder.QuarkusModelBuilderTest.shouldLoadMultiModuleTestModel line 66 - More details - Source on GitHub

org.gradle.tooling.BuildException: Could not run build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.3-bin.zip'.
	at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:51)
	at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:29)

io.quarkus.gradle.builder.QuarkusModelBuilderTest.shouldLoadMultiModuleDevModel line 100 - More details - Source on GitHub

org.gradle.tooling.BuildException: Could not run build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.3-bin.zip'.
	at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:51)
	at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:29)

Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will get this in now.
I have a followup PR for trying to consume this in CI (but it will probably require several iterations).

@gsmet gsmet merged commit 3170e5d into quarkusio:main Oct 4, 2023
20 of 21 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.5 - main milestone Oct 4, 2023
@gsmet
Copy link
Member

gsmet commented Oct 4, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/gradle Gradle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants