jobs.<job_id>.services.<service_id>.args is a Preview feature.
|
|
A Preview feature:
Product features and documentation are frequently updated. If you find an issue or have a suggestion, please contact CloudBees Support. |
Use jobs.<job_id>.services.<service_id>.args to set the arguments passed to the ENTRYPOINT of the service container. Follow these args specification guidelines:
-
Enter the
argsparameter as Unicode string. -
Arguments containing spaces must be surrounded by double quotes (
""). -
An escape character
\is supported. Use\for arguments that contain spaces. For example, surround an argument using\"or"\"".
When using CMD in the Dockerfile, use one of the following workflow guidelines:
-
(Recommended) delete any required arguments from
CMD. -
Define appropriate defaults so service runs without specifying arguments.
-
If a
--helpflag, or something similar is available, use that as the default for documentation.