Merge pull request #226684 from srid/patch-8

nixos/jenkins-job-builder: Fix link to documentation, use mkEnableOption
This commit is contained in:
Emily 2023-07-02 19:49:17 +02:00 committed by GitHub
commit d8c2229c49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,25 +9,20 @@ let
in {
options = {
services.jenkins.jobBuilder = {
enable = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc ''
Whether or not to enable the Jenkins Job Builder (JJB) service. It
allows defining jobs for Jenkins in a declarative manner.
enable = mkEnableOption (mdDoc ''
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
unchanged.
Jobs managed through the Jenkins WebUI (or by other means) are left
unchanged.
Note that it really is declarative configuration; if you remove a
previously defined job, the corresponding job directory will be
deleted.
Note that it really is declarative configuration; if you remove a
previously defined job, the corresponding job directory will be
deleted.
Please see the Jenkins Job Builder documentation for more info:
[
http://docs.openstack.org/infra/jenkins-job-builder/](http://docs.openstack.org/infra/jenkins-job-builder/)
'';
};
Please see the Jenkins Job Builder documentation for more info:
<https://jenkins-job-builder.readthedocs.io/>
'');
accessUser = mkOption {
default = "admin";