1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-19 10:32:40 +00:00
nixpkgs/nixos
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
..
doc/manual Merge #15105: nixos manual: rephrase indented strings 2016-05-02 11:58:45 +02:00
lib treewide: Use correct output in ${config.nix.package}/bin 2016-04-25 16:44:37 +02:00
maintainers Update AMI creation script 2016-04-05 11:25:12 +02:00
modules jenkins service: remove unneeded (and brittle) part of postStart 2016-05-03 22:24:13 +02:00
tests nixos/tests/netboot: Fix evaluation error 2016-05-03 22:05:11 +02:00
COPYING
default.nix nix: Add a "dev" output 2016-04-18 21:13:18 +02:00
README
release-combined.nix make all boot tests release critical #14902 2016-04-23 13:12:57 +01:00
release-small.nix containers: test imperative and ipv4 in small-release (#15015) 2016-04-26 22:38:47 +02:00
release.nix netboot: fix eval 2016-05-01 10:00:31 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.