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:falseAPI token for Jenkins authentication.
-
--password=PASSWORD¶ Type:
(OR NULL STRING)Default:falsePassword for Jenkins authentication.
-
--username=LOGIN¶ Type:
(OR NULL STRING)Default:falseUsername for Jenkins authentication.
-
--base-uri=URI¶ Type:
URIDefault:https://localhost:8080/Jenkins base
URI.
-
--delete-other-pattern=REGEX¶ Type:
(OR NULL STRING)Default:falseWhen 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:
BOOLEANDefault:falseDelete previously automatically generated jobs when they are not re-created in this generation run.
-
--set=VARIABLE-NAME=VALUE¶ Type:
(LIST VARIABLE-ASSIGNMENT)Default:falseOverwrite 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:
STRINGDefault:toolkitThe 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:falseDistribution recipes(s) which should be processed.
This option can be supplied multiple times.