Merge pull request #226684 from srid/patch-8

nixos/jenkins-job-builder: Fix link to documentation, use mkEnableOption

authored by Emily and committed by GitHub d8c2229c 16d31159

+11 -16
+11 -16
nixos/modules/services/continuous-integration/jenkins/job-builder.nix
··· 9 9 in { 10 10 options = { 11 11 services.jenkins.jobBuilder = { 12 - enable = mkOption { 13 - type = types.bool; 14 - default = false; 15 - description = lib.mdDoc '' 16 - Whether or not to enable the Jenkins Job Builder (JJB) service. It 17 - allows defining jobs for Jenkins in a declarative manner. 12 + enable = mkEnableOption (mdDoc '' 13 + the Jenkins Job Builder (JJB) service. It 14 + allows defining jobs for Jenkins in a declarative manner. 18 15 19 - Jobs managed through the Jenkins WebUI (or by other means) are left 20 - unchanged. 16 + Jobs managed through the Jenkins WebUI (or by other means) are left 17 + unchanged. 21 18 22 - Note that it really is declarative configuration; if you remove a 23 - previously defined job, the corresponding job directory will be 24 - deleted. 19 + Note that it really is declarative configuration; if you remove a 20 + previously defined job, the corresponding job directory will be 21 + deleted. 25 22 26 - Please see the Jenkins Job Builder documentation for more info: 27 - [ 28 - http://docs.openstack.org/infra/jenkins-job-builder/](http://docs.openstack.org/infra/jenkins-job-builder/) 29 - ''; 30 - }; 23 + Please see the Jenkins Job Builder documentation for more info: 24 + <https://jenkins-job-builder.readthedocs.io/> 25 + ''); 31 26 32 27 accessUser = mkOption { 33 28 default = "admin";