Action Categories
Automations
| getAutomation | Get information for an automations specified by name or directory or both. An automation is a directory containing a 'automation.yaml' description and optional ACLI script files or related resources. | |||
| getAutomationList | Get a list of automations with regex filtering on name. An automation is a directory containing a 'automation.yaml' description and optional ACLI script files or related resources. |
| ||
| runFromAutomationList | Run actions for each automation with regex filtering on name equivalent to getAutomationList. |
Branches
| createBranch | Create repository branch. Use the from parameter to specify the source reference (commit, branch, or tag) that this branch will be created from. Use optional type parameter to specify branch types like Feature, Bugfix, Release etc. The final branch name will be combination of type and branch name with a slash. Use continue parameter to ignore when branch already exists. | |||
| deleteBranch | Delete repository branch. | |||
| getBranch | Get repository branch information. | |||
| getBranchList | Get a list of branches with optional regex filtering on name. Date range filtering on last commit date is available using startDate and endDate parameters. 365 When no start date is specified, the default will be to limit the results to the last 365 days - - the default is equivalent to using '--startDate -365d'. Use '--startDate @all' to avoid the limit. | |||
| runFromBranchList | Run actions for branches for a repository with regex filtering on name. | repository, (input or common or file) |
Commits
| approveCommit | Approve a Commit. | |||
| createCommit | Create a repository commit for a single file add, change, or delete. The path parameter path specifies the path of the repository file to be added, changed, or deleted. Use the data or file parameter to provide new contents of the file otherwise the file will be deleted. Use the name parameter for the commit message. If name is not provided, a system generated name will be used. | |||
| getCommit | Get repository commit information by commit hash. Use @last to get the last (most recent) commit or combine with filtering similar to getCommitList to find the last commit that matches all the filter conditions. | |||
| getCommitList | Get list of commits with optional regex filtering on commit message and commit id. Date range filtering on commit date is available using startDate and endDate parameters. When no start date is specified, the default will be to limit the results to the last 30 days - the default is equivalent to using '--startDate -30d'. Use '--startDate @all' to avoid the limit. This is done to prevent inadvertently large queries. Additional, high performing filtering can be done using the branch and/or the path parameters. There is no default date limit for these filters. Branch can be a branch or tag name. Path can be a file path (not a directory) in the repository which will result in commits that modified that file. | |||
| getTagList | Get a list of tags with optional regex filtering on name. Date range filtering on commit date is available using startDate and endDate parameters. When no start date is specified, the default will be to limit the results to the last 365 days - the default is equivalent to using '--startDate -365d'. Use '--startDate @all' to avoid the limit. | |||
| runFromCommitList | Run actions for commits with optional regex filtering on commit message and commit id. Other filtering is available equivalent to getCommitList. | repository, (input or common or file) | ||
| runFromTagList | Run actions for tags for a repository with filtering similar to getTagList. | repository, (input or common or file) | ||
| unapproveCommit | Unapprove a Commit. |
Content
| getFile | Get source files or binary files from a repository identified by the file path. For binary files, the file parameter is required. | |||
| getFileList | Get file and directory list with regex filtering on path. | workspace, path, revision, descendents, outputFormat, regex, limit, columns, select, options, outputType, file, encoding, append | ||
| getSource | Get source files or binary files from a repository identified by the file path. For binary files, the file parameter is required. | |||
| publishSource | Publish source to Confluence. When the path represents a directory, all files included in the same file list filtering conditions as getFileList will be published to the page. |
Deployments
| getDeployment | Get repository deployment information by name or UUID. Use @last to get the last (most recent) deployment or combine with filtering similar to getDeploymentList to find the last deployment that matches all the filter conditions. | |||
| getEnvironment | Get deployment environment by name or UUID. | |||
| getEnvironmentList | Get a list of repository deployment environments matching the selection criteria and optional regex filtering on name or UUID. |
Export
| exportData | Export data in a ACLI compatible script suitable for use with the run action. Supported export types are WORKSPACE and REPOSITORY. The most important data that is exported are variables and deployment environments. There are 2 ways to export variables. By default they are exported using 'addVariables' actions. If you want to export them into a property file instead, set the propertyFile parameter. Use '--options appendPropertyFile' to append to the property file instead of overwriting it. Secure variable values can be exported to the secure property file associated to the session if a secure property password is provided. In this case, the secure property file can be used to restore the variables faithfully using the 'addVariables' action. Use '--options includeReplace' to have generated actions include the '--replace' parameter where appropriate to force replace of existing variables or deployment environments. Otherwise, use '--options includeContinue' to have generated actions include the '--continue' parameter where appropriate to ignore already exists and similar errors. |
|
