Describe the bug
jitpack.yml used to work, for example echo, jvm version, cd etc.
At some point you changed something and jitpack is now ignored!
To Reproduce
Create a project with jitpack.yml and write a simple command like:
before_install:
That echo is never shown!
Expected behavior
jitpack.yml used to work and is documented here:
https://jitpack.io/docs/BUILDING/#custom-commands
If I write a documented command like echo, it should work.
This breaks builds, since I can't cd, call scripts or even set JDK version.
Additional context
The builds are now broken, due to you no longer respecting jitpack.yml.+
Just came here to report the same issue, my jitpack.yml is ignored. Instead of JDK 14 as configured, JDK 10 (!) is applied. That's not a good choice in any case, as this is long out of maintenance. Thanks for your efforts!
@gunnarmorling , the https://jitpack.io/com/github/gunnarmorling/jmfrx/master-5eef6f76b7-1/build.log (redirected from https://jitpack.io/com/github/gunnarmorling/jmfrx/master-SNAPSHOT/build.log) tells me that it is running with Java 14.
Indeed, this is what the log shows:
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T19:00:29Z)
Maven home: /opt/apache-maven-3.6.1
Java version: 14.0.2, vendor: Oracle Corporation, runtime: /home/jitpack/jdk-14.0.2
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.10.0-28-generic", arch: "amd64", family: "unix"
Hey @jeffque, yes, it's working now, but only after I manually added an install step for OpenJDK 14, see https://github.com/gunnarmorling/jmfrx/blob/master/jitpack.yml. It would fallback to Java 10 when trying this:
jdk:
- openjdk14
(while this works for openjdk11; so I reckon that whatever mechanism provisions the JDK based on this configuration doesn't have support for JDK 14 yet)
Most helpful comment
Hey @jeffque, yes, it's working now, but only after I manually added an install step for OpenJDK 14, see https://github.com/gunnarmorling/jmfrx/blob/master/jitpack.yml. It would fallback to Java 10 when trying this:
(while this works for openjdk11; so I reckon that whatever mechanism provisions the JDK based on this configuration doesn't have support for JDK 14 yet)