Microsoft Azure with YAML

YAML parameters for Microsoft Azure

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to AZURE.
push_url
Required
StringThe URL to the repository.
git_auth_mode
Required
StringThe authentication mode for Git Push. Should always be set to HTTP .
loginStringThe username required to connect to the server.
passwordStringThe password required to connect to the server.
use_custom_gitignoreBooleanWhen set to false the push will ignore paths listed in .gitignore file.
isolatedBooleanWhen set to true, action will push only repository files (without artifacts).
target_branchStringDefines the remote branch to which the push will be performed. If empty, files will be pushed to the same branch.
deployment_excludesString[]The paths and/or files that will be left out during the push. Only works when use_custom_gitignore is set to true.
deployment_includesString[]The exceptions from the ignore patterns set in deployment_excludes.
without_forceBooleanDefines whether the --force flag should be used when invoking the git push command or not.
trigger_conditionStringDefines when the build action should be run. Can be one of ALWAYS, ON_CHANGE, ON_CHANGE_AT_PATH, VAR_IS, VAR_IS_NOT or VAR_CONTAINS.
trigger_condition_pathsString[]Required when trigger_condition is set to ON_CHANGE_AT_PATH.
trigger_variable_keyStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the name of the desired variable.
trigger_variable_valueStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the value of the desired variable which will be compared with its current value.
disabledBooleanWhen set to true the action is disabled. By default it is set to false.

YAML example for Microsoft Azure

actions:
- action: "Push to Your Repo"
type: "AZURE"
login: "api_tests_user"
password: "api_tests_password"
git_auth_mode: "HTTP"
push_url: "https://buddytestapp.scm.azurewebsites.net:443/BuddyTestApp.git"
target_branch: "stage"
use_custom_gitignore: false
isolated: true