Generate¶
Synopsis¶
build-generator [GLOBAL-OPTIONS] generate [COMMAND-OPTIONS] DISTRIBUTION-NAME*
Description¶
Generate Jenkins jobs for a given distribution.
-
--api-token
=API-TOKEN
¶ Type:
(OR NULL STRING)
Default:false
API token for Jenkins authentication.
-
--password
=PASSWORD
¶ Type:
(OR NULL STRING)
Default:false
Password for Jenkins authentication.
-
--username
=LOGIN
¶ Type:
(OR NULL STRING)
Default:false
Username for Jenkins authentication.
-
--base-uri
=URI
¶ Type:
URI
Default:https://localhost:8080/
Jenkins base
URI
.
-
--delete-other-pattern
=REGEX
¶ Type:
(OR NULL STRING)
Default:false
When deleting previously automatically generated jobs, only consider jobs whose name matches the regular expression
REGEX
.The default value corresponds to the common case of deleting only jobs belonging to previous versions of the distribution(s) being generated, i.e. the regular expression
(DISTRIBUTION-NAME₁|DISTRIBUTION-NAME₂|…)$
.
-
--delete-other
¶
Type:
BOOLEAN
Default:false
Delete previously automatically generated jobs when they are not re-created in this generation run.
-
--set
=VARIABLE-NAME=VALUE
¶ Type:
(LIST VARIABLE-ASSIGNMENT)
Default:false
Overwrite a variable after loading the distribution.
Arguments to this option have to be of the form
VARIABLE-NAME=VALUE
.This option can be supplied multiple times.
-
--mode
=MODE
¶ Type:
STRING
Default:toolkit
The mode according to which jobs should be generated.
Selects the set of templates stored in the templates/MODE directory.
-
DISTRIBUTION-NAME*
¶
Type:
(LIST STRING)
Default:false
Distribution recipes(s) which should be processed.
This option can be supplied multiple times.