nixpkgs/nixos/modules
Bjørn Forsman 51e5beca42 jenkins service: remove unneeded (and brittle) part of postStart
The current postStart code holds Jenkins off the "started" state until
Jenkins becomes idle. But it should be enough to wait until Jenkins
start handling HTTP requests to consider it "started".

More reasons why the current approach is bad and we should remove it,
from @coreyoconnor in
https://github.com/NixOS/nixpkgs/issues/14991#issuecomment-216572571:

  1. Repeatedly curling for a specific human-readable string to
  determine "Active" is fragile. For instance, what happens when jenkins
  is localized?

  2. The time jenkins takes to initializes is variable. This (at least
  used to) depend on the number of jobs and any plugin upgrades requested.

  3. Jenkins can be requested to restart from the UI. Which will not
  affect the status of the service. This means that the service being
  "active" does not imply jenkins is initialized. Downstream services
  cannot assume jenkins is initialized if the service is active. Might
  as well accept that and remove the initialized test from service
  startup.

Fixes #14991.
2016-05-03 22:24:13 +02:00
..
config Revert "pulseaudio: select correct outputs" 2016-04-28 17:06:09 +03:00
hardware rtl8723bs-firmware: init, split off from rtl8723bs 2016-04-25 00:41:25 -07:00
i18n/input-method input-method module: fix folder case 2016-04-12 19:50:26 +09:00
installer installer: simple PXE bootable NixOS installer 2016-04-29 10:42:39 +01:00
misc graylog service: Initial graylog service 2016-04-28 23:27:57 +02:00
profiles treewide: Use correct output in ${config.nix.package}/bin 2016-04-25 16:44:37 +02:00
programs Merge pull request #14212 from aneeshusa/add-mosh-service 2016-04-18 14:31:59 -07:00
security grsecurity module: fix grsec-lock unit ordering 2016-05-02 11:28:24 +02:00
services jenkins service: remove unneeded (and brittle) part of postStart 2016-05-03 22:24:13 +02:00
system Update etc example to not use a real config file 2016-04-27 10:27:52 -05:00
tasks networking module: Add some missing literalExample 2016-04-25 18:15:52 +02:00
testing test-instrumentation.nix: Only clear $PAGER in the backdoor shell 2016-02-23 11:56:09 +01:00
virtualisation Update EC2 AMIs to 16.03.659.011ea84 2016-04-29 10:28:35 +02:00
module-list.nix graylog service: Initial graylog service 2016-04-28 23:27:57 +02:00
rename.nix nixos: rename chroot* to sandbox* 2016-04-25 11:04:08 +02:00