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

Co-Authored-By: emilylange <git@emilylange.de>
This commit is contained in:
Sridhar Ratnakumar
2023-07-02 19:07:44 +02:00
committed by emilylange
co-authored by emilylange
parent 0a4206a51b
commit ac4790a84e
@@ -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";