cloudfoundry / java-buildpack

Cloud Foundry buildpack for running Java applications
Apache License 2.0
435 stars 2.58k forks source link

didn't make buildpack seleting java 17 working #988

Closed chengtangzheng2021 closed 1 year ago

chengtangzheng2021 commented 1 year ago

Then changed to be:

and created gitlab project variable JBP_CONFIG_OPEN_JDK_JRE= {jre: {version: 17.+ } } JBP_CONFIG_OPEN_JDK_JRE= '{jre: {version: 17.+ } }' JBP_CONFIG_OPEN_JDK_JRE= "{jre: {version: 17.+ } }"

All of these not made java 17 get selected.

chengtangzheng2021 commented 1 year ago

and created gitlab project variable JBP_CONFIG_OPEN_JDK_JRE= {jre: {version: 17.0.+ } } JBP_CONFIG_OPEN_JDK_JRE= '{jre: {version: 17.0.+ } }' JBP_CONFIG_OPEN_JDK_JRE= "{jre: {version: 17.0.+ } }"

with this is also not working, the issue is this format of value can not get pass to the variable

chengtangzheng2021 commented 1 year ago

{"jre": {"version": "17.0.+"} } passing this json value to the JBP_CONFIG_OPEN_JDK_JRE in gitlab cicd spript is not working, this is strage