跳到主要内容

Microsoft Azure with YAML

List of YAML parameters and examples for the "Microsoft Azure" action.

YAML parameters for Microsoft Azure

名称类型描述
action
必填
StringThe ID of the action.
type
必填
StringThe type of the action. Should be set to AZURE.
push_url
必填
StringThe URL to the repository.
git_auth_mode
必填
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.
without_forceBooleanDefines whether the --force flag should be used when invoking the git push command or not.

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