Microsoft Azure with YAML

YAML parameters for Microsoft Azure

NameTypeDescription
action RequiredStringThe ID of the action.
type RequiredStringThe type of the action. Should be set to AZURE.
push_url RequiredStringThe URL to the repository.
git_auth_mode RequiredStringThe 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.
without_forceBooleanDefines whether the --force flag should be used when invoking the git push command or not.

YAML example for Microsoft Azure

yaml
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

Last modified on Sep 23, 2024