Skip to content

04 Using the command line

Hax1337 edited this page Mar 22, 2023 · 1 revision

The command-line can be used in Azure pipelines, the syntax as follows:

-u, --username Username to use

-p, --password Password to use

-e, --environment Environment without https://www.

-c, --config (Default: ) define what config to use for execution

-s (Default: ) Status for export

-l (Default: ) Log level

--nosolutions (Default: false) Prevents solutions from beeing applied

--runmode Overwrites the runmode in the config file, possible: deployment, deployInitialSync, start, stop, pause, export

--mfasecret (Default: ) Overwrites the mfasecret in the config file, usable in deployment pipelines when the secret is storerd in a key vault

--useadowikiupload (Default: false) Overwrites the UseADOWikiUpload parameter in the config, usable in pipelines

--adotoken (Default: ) Overwrites the AccessToken in the config file for ADO Wiki uploads, usable in deployment pipelines when the secret is stored in a key vault

--help Display this help screen.

--version Display version information.

You can find examples in the folder in multiple .bat files:

SampleBAT

Clone this wiki locally