NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.27k stars 13.52k forks source link

Jenkins package does not help me run jenkins #246780

Open alper opened 1 year ago

alper commented 1 year ago

I'm not sure what the issue is but the jenkins package in Nixpkgs does not provide a command to run the jenkins server.

Not sure what the point of packaging it is if this is not possible.

Compare other Java projects like: apacheKafka_3_4 where it seems to be possible.

alper commented 1 year ago

Homebrew prints a helpful command that can be run:

Or, if you don't want/need a background service you can just run:
  /opt/homebrew/opt/jenkins/bin/jenkins --httpListenAddress=127.0.0.1 --httpPort=8080
khaled commented 1 year ago

FYI, if you're using NixOS, you can use the Jenkins module. This makes it as simple as adding services.jenkins.enable = true; to your config.

If you're not using NixOS, the module still serves as a good reference for how to use the package.

alper commented 1 year ago

I don't use NixOS.

Somebody had pointed me to that but I didn't have the spare hour to see how I could patch that into my flake file.

RaitoBezarius commented 1 year ago

Is there a reason you did not follow the template, and therefore you did not ping any relevant maintainer of the package?

alper commented 1 year ago

Just super overwhelmed with the template and all the complexity.

RaitoBezarius commented 1 year ago

Just super overwhelmed with the template and all the complexity.

Unfortunately, this does not create a useful issue because the maintainer cannot learn of the issue and this relies on random people looking the immense issue list to rescue those stranded ones. Please next time fill the template rigorously, otherwise this will not serve any purpose.