-
Notifications
You must be signed in to change notification settings - Fork 0
Configurable settings
There are various things that you can configure using App Settings, which you can find on the Configure page in the Windows Azure portal.
Note that in addition to using App Settings, you can specify those settings in your .deployment file. This is useful if you want the setting to be part of your repository.
Use this flag to add things to the msbuild command line. e.g. to choose the build configuration, you could have:
SCM_BUILD_ARGS=/p:Configuration=Release
Please see Deploying inplace and without repository for information on using the SCM_REPOSITORY_PATH, SCM_NO_REPOSITORY, PROJECT and SCM_TARGET_PATH flags.
For large repos, you can make Kudu use a shallow clone when it clones your repo from GitHub or Bitbucket, which can save disk space. Shallow clones can be tricky, so make sure you understand what they are before using this. It is off by default. Tu turn it on:
SCM_USE_SHALLOW_CLONE=1
By default, it is set to 1, but you can get more tracing with higher values, up to 4. e.g.
SCM_TRACE_LEVEL=4
By default, when your build process launches some command, it's allowed to run for up to 60 seconds without producing any output. If that is not long enough, you can make it longer, e.g. to make it 10 minutes:
SCM_COMMAND_IDLE_TIMEOUT=600
When using the log streaming feature, by default it times out after 30 minutes of inactivity. To change it to 15 minutes (unit is seconds):
SCM_LOGSTREAM_TIMEOUT=900