forked from projectkudu/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment Environment
mtian edited this page Jun 19, 2014
·
1 revision
In addition to the environment variables Kudu provide for every command (e.g. in Debug Console and /api/command), Kudu provides several additional environment variables to the deployment script.
-
DEPLOYMENT_SOURCEis the repository directory (e.g.site\repository). -
DEPLOYMENT_TARGETis the runtime location of the website (e.g.site\wwwroot). -
POST_DEPLOYMENT_ACTIONandPOST_DEPLOYMENT_ACTIONS_DIRare the command and directory to run post deployment. -
SCM_COMMIT_IDprovides the deployment ID. In the case of Git deployment it is the commit ID. -
DEPLOYMENT_TEMPis the directory for storing temporary files during deployment. -
KUDU_SELECT_NODE_VERSION_CMDcommand to runselectNodeVersion.js, which handles the deployment time node/npm version, and generatesweb.configandiisnode.ymlif needed. -
WEBJOBS_DEPLOY_CMDis the command to deploy web jobs.