-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Jenkins service depends on 2 versions of JDK #308053
Comments
The module defines an option that enables you to add additional software to the path with
you could set that option to your desired packages so remove the "additional" jdk. if you dont like it. If its reasonable to set a different jdk than which jenkins is running on is a questionable default tho on my opinion. |
Even with nixpkgs/nixos/modules/services/continuous-integration/jenkins/default.nix Lines 223 to 229 in 58a1abd
|
Describe the bug
jenkins
depends on the defaultjdk
package, but the NixOS module is hard-coded to usejdk17
Steps To Reproduce
Steps to reproduce the behavior:
services.jenkins.enable = true
nix-tree
and searchopenjdk
Expected behavior
Only 1 JDK version should be used. Would be better if it can be configured by user.
Screenshots
Notify maintainers
@coreyoconnor @earldouglas @NeQuissimus
Metadata
"x86_64-linux"
Linux 6.6.28-xanmod1, NixOS, 24.05 (Uakari), 24.05pre-git
yes
yes
nix-env (Nix) 2.18.2
/etc/nix/inputs/nixpkgs
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: