mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Merge pull request #226684 from srid/patch-8
nixos/jenkins-job-builder: Fix link to documentation, use mkEnableOption
This commit is contained in:
commit
d8c2229c49
1 changed files with 11 additions and 16 deletions
|
@ -9,25 +9,20 @@ let
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
services.jenkins.jobBuilder = {
|
services.jenkins.jobBuilder = {
|
||||||
enable = mkOption {
|
enable = mkEnableOption (mdDoc ''
|
||||||
type = types.bool;
|
the Jenkins Job Builder (JJB) service. It
|
||||||
default = false;
|
allows defining jobs for Jenkins in a declarative manner.
|
||||||
description = lib.mdDoc ''
|
|
||||||
Whether or not to enable the Jenkins Job Builder (JJB) service. It
|
|
||||||
allows defining jobs for Jenkins in a declarative manner.
|
|
||||||
|
|
||||||
Jobs managed through the Jenkins WebUI (or by other means) are left
|
Jobs managed through the Jenkins WebUI (or by other means) are left
|
||||||
unchanged.
|
unchanged.
|
||||||
|
|
||||||
Note that it really is declarative configuration; if you remove a
|
Note that it really is declarative configuration; if you remove a
|
||||||
previously defined job, the corresponding job directory will be
|
previously defined job, the corresponding job directory will be
|
||||||
deleted.
|
deleted.
|
||||||
|
|
||||||
Please see the Jenkins Job Builder documentation for more info:
|
Please see the Jenkins Job Builder documentation for more info:
|
||||||
[
|
<https://jenkins-job-builder.readthedocs.io/>
|
||||||
http://docs.openstack.org/infra/jenkins-job-builder/](http://docs.openstack.org/infra/jenkins-job-builder/)
|
'');
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
accessUser = mkOption {
|
accessUser = mkOption {
|
||||||
default = "admin";
|
default = "admin";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue