nixpkgs/nixos/modules
Bjørn Forsman 27f41d8c0a nixos: add services.jenkins.jobBuilder option
This option allows to define (declarative) Jenkins jobs, using Jenkins
Job Builder (JJB) as backend.

Example:

  services.jenkins = {
    enable = true;
    jobBuilder = {
      enable = true;
      yamlJobs = ''
        - job:
            name: jenkins-job-test
            builders:
              - shell: echo 'Hello world!'
      '';
    };
  };

Jobs can be defined using YAML, JSON and Nix.

Note that it really is declarative configuration; if you remove a
previously defined job, the module will remove the jobdir under
$JENKINS_HOME.

Jobs managed through the Jenkins WebUI (or by other means) are not
touched by this module.

Changes v1 -> v2:
* add nixJobs
* let jsonJobs take a list of strings (allows merge)
* 4 space indent in shell code
2015-11-03 16:32:31 +01:00
..
config Add option environment.enableDebugInfo 2015-10-30 15:21:16 +01:00
hardware Put all firmware in $out/lib/firmware 2015-08-25 00:40:34 +02:00
installer Merge pull request #10586 from dezgeg/pr-arm-tweaks 2015-10-25 04:31:03 +03:00
misc calibre-server service: init 2015-09-27 20:31:17 -07:00
profiles nixos: add xfs support to profiles/minimal 2015-09-18 18:58:18 +00:00
programs Factor out "man" into a separate module and add "man" outputs to system.path 2015-10-30 15:21:12 +01:00
security nixos: fix some types 2015-09-18 18:48:50 +00:00
services nixos: add services.jenkins.jobBuilder option 2015-11-03 16:32:31 +01:00
system nixos/swap: refactor, add randomEncryption option 2015-10-20 15:56:12 +03:00
tasks nixos/swap: refactor, add randomEncryption option 2015-10-20 15:56:12 +03:00
testing test-instrumentation.nix: Prevent calling a pager 2015-01-15 14:39:29 +01:00
virtualisation nova-image: use make-disk-image.nix 2015-10-26 16:16:45 +01:00
module-list.nix nixos: add services.jenkins.jobBuilder option 2015-11-03 16:32:31 +01:00
rename.nix Factor out option renaming 2015-10-14 18:18:47 +02:00