You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
David Ebbo edited this page May 16, 2016
·
2 revisions
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_SOURCE is the repository directory (e.g. site\repository).
DEPLOYMENT_TARGET is the runtime location of the website (e.g. site\wwwroot).
POST_DEPLOYMENT_ACTION and POST_DEPLOYMENT_ACTIONS_DIR are the command and directory to run post deployment.
SCM_COMMIT_ID provides the deployment ID. In the case of Git deployment it is the commit ID.
SCM_COMMIT_MESSAGE has the commit message.
DEPLOYMENT_TEMP is the directory for storing temporary files during deployment.
KUDU_SELECT_NODE_VERSION_CMD command to run selectNodeVersion.js, which handles the deployment time node/npm version, and generates web.config and iisnode.yml if needed.
WEBJOBS_DEPLOY_CMD is the command to deploy web jobs.