-
Notifications
You must be signed in to change notification settings - Fork 789
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
Failed to compile java11 source #3742
Comments
I guess below code are cause of the problem. jx/pkg/jx/cmd/step_create_task.go Line 537 in 7736978
|
/area buildpacks |
The quickstart for java-11 fails due to this |
A workaround for this is to define the jenkins-x.yml like this
|
@jstrachan Maybe build pack for java 11 could have container set up to maven-java11 as per jenkins-x-buildpacks/jenkins-x-kubernetes#16? I'm not sure why there was need for consolidation in jenkins-x-buildpacks/jenkins-x-kubernetes@6cd979b. |
The image used was still Java 8, meaning, you couldn't build Java 11 applications with this build pack. As raised via this issue: jenkins-x/jx#3742
The image used was still Java 8, meaning, you couldn't build Java 11 applications with this build pack. As raised via this issue: jenkins-x/jx#3742 Signed-off-by: Joost van der Griendt <[email protected]>
Issues go stale after 90d of inactivity. |
Stale issues rot after 30d of inactivity. |
Rotten issues close after 30d of inactivity. |
@jenkins-x-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. |
Summary
buildPack: maven-java11
is specified injenkins-x.yaml
butgcr.io/jenkinsxio/builder-maven
is used as containers' image.Steps to reproduce the behavior
Expected behavior
builder-maven-java11
is used to build.Actual behavior
Build failed.
I have checked the created task and found that
builder-maven
is used as containers' image.Jx version
The output of
jx version
is:Jenkins type
Kubernetes cluster
EKS
Operating system / Environment
OS X
The text was updated successfully, but these errors were encountered: