Open henryborchers opened 2 years ago
Looks like you use a recent JDK version: module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module
. This issue happens with JDK 16 or above:
Currently Jenkinsfile Runner can be built with JDK 1.8 and JDK 11. I plan to add support for Java 17, but right now it is not going to work even if this particular issue is fixed. Anyway the issue needs to be fixed or explicitly documented somehow
That's a shame that I'm unable to get this to work. Without either a docker image or an easy way through homebrew, I'm unable to test out jenkinsfile-runner. It's been my secret weapon for CI pipelines.
@henryborchers the problem indeed needs a fix. Meanwhile you could try out https://github.com/jenkinsci/jenkinsfile-runner/pkgs/container/jenkinsfile-runner . I am restoring Docker packaging at the moment
I'm unable to get the homebrew formula to build from --head. Homebrew fails when I've tried.
Since there are no bottles available for the Jenkinsfile-runner, building the bottle myself from the --head is the only way I can install it. Unfortunately, there is something with the formula that is preventing the build from completing. Poking around with the logs and the formula, my guess is that it the formula doesn't correctly set my toolchain or some binary is not available. However, I'm not a Java developer and it's not a very useful guess. You probably know better what's going wrong.
Reproduction steps
brew install --HEAD jenkinsci/jenkinsfile-runner/jenkinsfile-runner --verbose
Results