mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/jenkins: remove use of types.string (it's deprecated)
This commit is contained in:
parent
cf7b782ea9
commit
cb614ef4ad
2 changed files with 7 additions and 7 deletions
|
@ -15,7 +15,7 @@ in {
|
||||||
|
|
||||||
user = mkOption {
|
user = mkOption {
|
||||||
default = "jenkins";
|
default = "jenkins";
|
||||||
type = with types; string;
|
type = types.str;
|
||||||
description = ''
|
description = ''
|
||||||
User the jenkins server should execute under.
|
User the jenkins server should execute under.
|
||||||
'';
|
'';
|
||||||
|
@ -23,7 +23,7 @@ in {
|
||||||
|
|
||||||
group = mkOption {
|
group = mkOption {
|
||||||
default = "jenkins";
|
default = "jenkins";
|
||||||
type = with types; string;
|
type = types.str;
|
||||||
description = ''
|
description = ''
|
||||||
If the default user "jenkins" is configured then this is the primary
|
If the default user "jenkins" is configured then this is the primary
|
||||||
group of that user.
|
group of that user.
|
||||||
|
@ -32,7 +32,7 @@ in {
|
||||||
|
|
||||||
home = mkOption {
|
home = mkOption {
|
||||||
default = "/var/lib/jenkins";
|
default = "/var/lib/jenkins";
|
||||||
type = with types; string;
|
type = types.path;
|
||||||
description = ''
|
description = ''
|
||||||
The path to use as JENKINS_HOME. If the default user "jenkins" is configured then
|
The path to use as JENKINS_HOME. If the default user "jenkins" is configured then
|
||||||
this is the home of the "jenkins" user.
|
this is the home of the "jenkins" user.
|
||||||
|
@ -57,7 +57,7 @@ in {
|
||||||
|
|
||||||
environment = mkOption {
|
environment = mkOption {
|
||||||
default = { NIX_REMOTE = "daemon"; };
|
default = { NIX_REMOTE = "daemon"; };
|
||||||
type = with types; attrsOf string;
|
type = with types; attrsOf str;
|
||||||
description = ''
|
description = ''
|
||||||
Additional environment variables to be passed to the jenkins process.
|
Additional environment variables to be passed to the jenkins process.
|
||||||
The environment will always include JENKINS_HOME.
|
The environment will always include JENKINS_HOME.
|
||||||
|
|
|
@ -23,7 +23,7 @@ in {
|
||||||
|
|
||||||
user = mkOption {
|
user = mkOption {
|
||||||
default = "jenkins";
|
default = "jenkins";
|
||||||
type = with types; string;
|
type = types.str;
|
||||||
description = ''
|
description = ''
|
||||||
User the jenkins slave agent should execute under.
|
User the jenkins slave agent should execute under.
|
||||||
'';
|
'';
|
||||||
|
@ -31,7 +31,7 @@ in {
|
||||||
|
|
||||||
group = mkOption {
|
group = mkOption {
|
||||||
default = "jenkins";
|
default = "jenkins";
|
||||||
type = with types; string;
|
type = types.str;
|
||||||
description = ''
|
description = ''
|
||||||
If the default slave agent user "jenkins" is configured then this is
|
If the default slave agent user "jenkins" is configured then this is
|
||||||
the primary group of that user.
|
the primary group of that user.
|
||||||
|
@ -40,7 +40,7 @@ in {
|
||||||
|
|
||||||
home = mkOption {
|
home = mkOption {
|
||||||
default = "/var/lib/jenkins";
|
default = "/var/lib/jenkins";
|
||||||
type = with types; string;
|
type = types.path;
|
||||||
description = ''
|
description = ''
|
||||||
The path to use as JENKINS_HOME. If the default user "jenkins" is configured then
|
The path to use as JENKINS_HOME. If the default user "jenkins" is configured then
|
||||||
this is the home of the "jenkins" user.
|
this is the home of the "jenkins" user.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue