Versions Compared
Version | Old Version 167 | New Version 168 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
...
addAccessToken
--action addAccessToken --name "ztokens" --permission "PROJECT_ADMIN, REPO_ADMIN" |
--action addAccessToken --userId "admin" --name "ztokens" --permission "PROJECT_READ, REPO_READ" --user "admin" --password "***" |
addBranch
--action addBranch --project "zcli" --repository "zcli-repo" --branch "add1" --id "c9a8b340592a7efbf5b26432f3b9e2bdc65b0cf8bb589fae07590682ef2831520c068e8afeea5050" --message "addBranch action" |
--action addBranch --project "zcli" --repository "zcli-repo" --branch "forRemove" --id "c9a8b340592a7efbf5b26432f3b9e2bdc65b0cf8bb589fae07590682ef2831520c068e8afeea5050" |
addGroup
--action addBranchRestriction addGroup --project group "zrestrictionstestgroup1" --preserveCase |
-repository "zrestrictions-repo" -action addGroup --branch group "feature1testgroup2" --group "group1"preserveCase |
addSshKey
--action addBranchRestriction addSshKey --project userId "zrestrictionstestuser1" --repository "zrestrictions-repo" --replace --branch "feature1" --group "group1, group2" --userId "user1,user3"file "./src/itest/bitbucket/resources/sshkey.rsa.pub" |
--action addSshKey --userId "testuser2" --file "-" |
addUser
--action addBranchRestriction addUser --project userId "zrestrictionsautomation" --repository "zrestrictions-repo" --restriction "PULL-REQUEST-ONLYuserEmail "testuser@x.com1" |
--action addUser --userId "testuser1" --branch userFullName "master*Test User1" --matchingType userEmail "patterntestuser@x.com1" --group userPassword "group1***" |
--action addBranchRestriction addUser --project userId "zrestrictionstestuser2" --repository "zrestrictions-repouserFullName "Test User2" --userEmail "testuser@x.com2" --restriction "no-deletesuserPassword "***" |
--action addUser --userId "testuser3" --branch userFullName "HOTFIXTest User3" --matchingType userEmail "MODELtestuser@x.com3" --group userPassword "group1***" |
addUserToGroup
--action addBranchRestriction addUserToGroup --project userId "zrestrictionstestuser3" --repository group "testgroup2" zrestrictions -repo" --restriction "no-deletes" --branch "feature1autoGroup |
createProject
--action createProject --project "zcli" --group name "group1zcli name" |
addGroup
--action addGroup --group "testgroup1" --preserveCasedescription "zcli description" |
--action addGroup createProject --group project "testgroup2zcli2" --preserveCasepublic |
createPullRequest
--action addSshKey createPullRequest --userId project "testuser1zcli" --file "./src/itest/bitbucket/resources/sshkey.rsa.pub" |
--action addSshKey --userId "testuser2" --file "-" |
repository "zcli-repo" --name "pr1" --from "zfeature1" --to "master" |
--action addUser createPullRequest --userId project "automationzcli" --userEmail "testuser@x.com1" --action addUser --userId "testuser1repository "zcli-repo" --name "pr2" --userFullName description "Test User1pr2 description" --userEmail "testuser@x.com1from "zfeature2" --to "master" --userPassword "***"reviewers "user1,user2,user3" |
createRepository
--action addUser createRepository --userId project "testuser2zcli" --userFullName "Test User2repository "zcli-repo" --userEmail "testuser@x.com2" --userPassword "***"name "zcli-repo" |
--action addUser createRepository --userId project "testuser3zcli" --userFullName repository "Test User3" --userEmail "testuser@x.com3" --userPassword "***" |
zcli2-repo" --public --forkable |
declinePullRequest
--action addUserToGroup declinePullRequest --userId project "testuser3zcli" --group repository "testgroup2zcli-repo" --autoGroup |
pullRequest "pr1" |
getAccessTokenList
--action createProject getAccessTokenList |
--project "zcli" action getAccessTokenList --name regex "zcli name" --description "zcli description"ztokens" |
--action createProject getAccessTokenList --userId "admin" |
getBranch
--action getBranch --project "zcli2zcli" --public |
repository "zcli-repo" |
getBranchList
--action createPullRequest getBranchList --project "zcli" --repository "zcli-repo" |
getBuildStatusList
--action getBuildStatusList --name id "pr17a1de2bee9cedde1b27997c6acfcd2660e61a452" --from "zfeature1" --to "master"dateFormat "yyyy-MM-dd HH:mm:ss" |
getClientInfo
--action getClientInfo |
getCommitList
--action createPullRequest getCommitList --project "zcli" --repository "zcli-repo" |
getGroupList
--name "pr2" --description "pr2 description" --from "zfeature2" --to "master" --reviewers "user1,user2,user3" |
action getGroupList |
getPermissionList
--action getPermissionList |
--action getPermissionList --regex "testuser1" |
getProject
--action createRepository getProject --project "zcli919" |
--repository "zcli-repo" --name "zcli-repoaction getProject --project "zcli name" |
--action createRepository getProject --project "zcli" |
--action getProject --repository project "zcli2-repo" |
getProjectList
--public --forkable |
action getProjectList |
--action declinePullRequest getProjectList --project permission "zcliPROJECT_ADMIN" |
--repository "zcli-repo" action getProjectList --pullRequest permission "pr1PROJECT_VIEW" |
--action getAccessTokenList --action getAccessTokenList getProjectList --regex "ztokensZCLI" |
--action getAccessTokenList getProjectList --userId token "admin***" |
getProjectPermissionList
--action getApp getProjectPermissionList --app project "@defaultzcli" |
--action getApplicationLinkList |
getBranch
getProjectPermissionList --action getBranch --project "zcli" --repository regex "zcli-repouser1" |
getPullRequest
--action getBranchList getPullRequest --project "zcli" --repository "zcli-repo" |
" --pullRequest "2" |
--action getBranchRestriction getPullRequest --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --id pullRequest "758pr2" |
getBranchRestrictionList
--action getBranchRestrictionList --project "zrestrictions" --repository "zrestrictions-repodateFormat "yyyy-MM-dd HH:mm:ss" |
--action getBranchRestrictionList getPullRequest --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --matchingType "branch"pullRequest "pr2xxx" --dateFormat "yyyy-MM-dd HH:mm:ss" |
getPullRequestList
--action getBranchRestrictionList getPullRequestList --project "zrestrictionszcli" --repository "zrestrictionszcli-repo" --regex dateFormat "(no-deletes)|(read-only)" |
getBuildStatusList
--action getBuildStatusList --id "d5702cb2c0441bca1eb1726970146791a986d525yyyy-MM-dd HH:mm:ss" |
--action getPullRequestList --project "zcli" --repository "zcli-repo" --direction "INCOMING" --dateFormat "yyyy-MM-dd HH:mm:ss" |
getClientInfo
--action getClientInfo |
getCommitList
--action getCommitList getPullRequestList --project "ZCLIzcli" --repository "zcli-repo" --direction "outgoing" --dateFormat "yyyy-MM-dd HH:mm:ss" --verbose |
--action getCommitList getPullRequestList --project "ZCLIzcli" --repository "zcli-repo" --from regex "d5702cb2c0441bca1eb1726970146791a986d525NOT_FOUND" --to dateFormat "c479367715a8650f235df033a16e1f29c779d67b" yyyy-MM-action getCommitList dd HH:mm:ss" |
--action getPullRequestList --project "ZCLIzcli" --repository "zcli-repo" --from regex "masterpr2" --to "masterdateFormat "yyyy-MM-dd HH:mm:ss" |
--action getCommitList getPullRequestList --project "ZCLIzcli" --repository "zcli-repo" --startDate "2021-01-04 17:20:48state "ALL" --dateFormat "yyyy-MM-dd HH:mm:ss" |
--action getCommitList getPullRequestList --project "ZCLIzcli" --repository "zcli-repo" --startDate state "MERGED" 2021 -01-04 17:20:48" --endDate "2021-01-04 17:20:48" --dateFormat "-dateFormat "yyyy-MM-dd HH:mm:ss" |
getRepository
--action getCommitList getRepository --project "ZCLIzcli" --repository "669"zcli-repo" |
--action getRepository --userId project "automationzcli" --dateFormat repository "yyyy-MM-dd HH:mm:sszcli-repo updated" |
--action getCommitList getRepository --project "zcli" --repository "zcli-repo" |
getGroupList
--action getGroupList |
getRepository --project "zcli" --repository "zcli2-repo" |
getRepositoryList
--action getHook getRepositoryList --project "ZCLIzcli" |
--repository action getRepositoryList --project "zcli-repo" --hook "Reject Force Pushregex "NOT_FOUND" |
getRepositoryPermissionList
--action getHookList getRepositoryPermissionList --project "ZCLIzcli" --repository "zcli-repo" |
--action getHookList getRepositoryPermissionList --project "ZCLIzcli" --repository "zcli-repo" --regex "com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook" --outputFormat 2 |
getPermissionList
--action getPermissionList "user1" |
getServerInfo
--action getServerInfo --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mm" |
--action getServerInfo --outputFormat 999 |
--action getPermissionList getServerInfo --regex user "testuser1anonymous" |
getSshKeyList
--action getProject getSshKeyList --project userId "900testuser1" |
--action getProject getSshKeyList --project userId "zcli nametestuser1" --action getProject --project "zcliregex "xxx" |
getUser
--action getProject getUser --project "zcli2" |
getProjectList
--action getProjectList dateFormat "yyyy-MM-dd" |
--action getProjectList getUser --permission userId "PROJECT_ADMINtestuser1" |
--action getProjectList getUser --permission userId "PROJECT_VIEWtestuser3" |
getUserList
--action getProjectList getUserList --regex "ZCLIdateFormat "yyyy-MM-dd" |
--action getProjectList getUserList --token group "***testgroup2" |
--action getProjectPermissionList getUserList --project group "zclitestgroup2" |
--action getProjectPermissionList --project "zcli" --regex "user1" |
--regex "testuser3" |
grantPermissions
--action grantPermissions --permission "ADMIN" --userId "testuser1" |
--action grantPermissions --permission "PROJECT_CREATE" --group "testgroup1" |
grantProjectPermissions
--action getPullRequest grantProjectPermissions --project "zcli" --repository "zcli-repopermission "PROJECT_ADMIN" --pullRequest userId "2user1" |
--action getPullRequest grantProjectPermissions --project "zcli" --repository "zcli-repo" --pullRequest "pr2permission "PROJECT_READ" --dateFormat "yyyy-MM-dd HH:mm:ssuserId "user1,user2,user3" |
--action getPullRequest grantProjectPermissions --project "zcli" --repository "zcli-repopermission "PROJECT_WRITE" --pullRequest "pr2xxx" --dateFormat "yyyy-MM-dd HH:mm:ss" |
getPullRequestList
group "group1" |
--action getPullRequestList grantProjectPermissions --project "zclizcli2" --repository "zcli-repopermission "PROJECT_ADMIN" --dateFormat "yyyy-MM-dd HH:mm:ss"userId "user2" |
grantRepositoryPermissions
--action getPullRequestList grantRepositoryPermissions --project "zcli" --repository "zcli-repo" --direction permission "INCOMINGREPO_ADMIN" --dateFormat "yyyy-MM-dd HH:mm:ssuserId "user1" |
--action getPullRequestList grantRepositoryPermissions --project "zcli" --repository "zcli-repo" --direction permission "outgoingREPO_READ" --dateFormat "yyyy-MM-dd HH:mm:ss" --verbose --action getPullRequestList userId "user1,user2,user3" |
--action grantRepositoryPermissions --project "zcli" --repository "zcli-repo" --regex permission "NOTREPO_FOUNDWRITE" --dateFormat "yyyy-MM-dd HH:mm:ss"group "group1" |
mergePullRequest
--action getPullRequestList mergePullRequest --project "zcli" --repository "zcli-repo" --regex pullRequest "pr2" |
removeAccessToken
--dateFormat "yyyyaction removeAccessToken -MM-dd HH:mm:ss" --action getPullRequestList -userId "admin" --name "596635929545" |
removeBranch
--action removeBranch --project "zcli" --repository "zcli-repo" --state branch "ALLforRemove" |
removeSshKey
--dateFormat "yyyyaction removeSshKey -MM-dd HH:mm:ss"-id "312" |
removeSshKeys
--action getPullRequestList removeSshKeys --project userId "zclitestuser1" |
--repository "zcli-repo" --state "MERGED" --dateFormat "yyyy-MM-dd HH:mm:ss" |
action removeSshKeys --userId "testuser2" |
removeUserFromGroup
--action removeUserFromGroup --userId "testuser3" --group "testgroup2" |
revokePermissions
--action getRepository revokePermissions --project userId "zcli" --repository "660"testuser1" |
revokeProjectPermissions
--action getRepository revokeProjectPermissions --project "zcli" --repository "zcli-repo updated"userId "user1" |
revokeRepositoryPermissions
--action getRepository revokeRepositoryPermissions --project "zcli" --repository "zcli-repo" --userId "user1" |
run
--action getRepository run --project i "zcli" -a getServerInfo -repository "zcli2-repo" |
getRepositoryList
--action getRepositoryList --project "zcli" |
--action getRepositoryList --project "zcli" --regex "NOT_FOUND" |
getRepositoryPermissionList
--action getRepositoryPermissionList --project "zcli" --repository "zcli-repo" -outputFormat 2 --outputType text" -i "-a getReplacementVariableList --outputType text" |
--action getRepositoryPermissionList run --project "zcli" --repository "zcli-repo" --regex "user1" |
getServerInfo
--action getServerInfo --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mm" |
--action getServerInfo --outputFormat 999 |
--action getServerInfo --user "anonymous" |
getSshKeyList
--action getSshKeyList --userId "testuser1" |
--action getSshKeyList --userId "testuser1" --regex "xxx" |
getUser
--action getUser --dateFormat "yyyy-MM-dd" |
--action getUser --userId "testuser1" |
--action getUser --userId "testuser3" |
getUserList
--action getUserList --dateFormat "yyyy-MM-dd" |
--action getUserList --group "testgroup2" |
--action getUserList --group "testgroup2" --regex "testuser3" |
grantPermissions
--action grantPermissions --permission "ADMIN" --userId "testuser1" |
--action grantPermissions --permission "PROJECT_CREATE" --group "testgroup1" |
grantProjectPermissions
--action grantProjectPermissions --project "zcli" --permission "PROJECT_ADMIN" --userId "user1" |
--action grantProjectPermissions --project "zcli" --permission "PROJECT_READ" --userId "user1,user2,user3" |
--action grantProjectPermissions --project "zcli" --permission "PROJECT_WRITE" --group "group1" |
--action grantProjectPermissions --project "zcli2" --permission "PROJECT_ADMIN" --userId "user2" |
grantRepositoryPermissions
--action grantRepositoryPermissions --project "zcli" --repository "zcli-repo" --permission "REPO_ADMIN" --userId "user1" |
--action grantRepositoryPermissions --project "zcli" --repository "zcli-repo" --permission "REPO_READ" --userId "user1,user2,user3" |
--action grantRepositoryPermissions --project "zcli" --repository "zcli-repo" --permission "REPO_WRITE" --group "group1" |
installApp
--action installApp --app "@default" --options "simulate" |
mergePullRequest
--action mergePullRequest --project "zcli" --repository "zcli-repo" --pullRequest "pr2" |
removeAccessToken
--action removeAccessToken --userId "admin" --name "690561410872" |
removeBranch
--action removeBranch --project "zcli" --repository "zcli-repo" --branch "forRemove" |
removeBranchRestriction
--action removeBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --branch "master*" --matchingType "PATTERN" --continue |
--action removeBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --branch "master*" --matchingType "PATTERN" --restriction "@all" --continue |
--action removeBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --id "123456789" --continue |
--action removeBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --id "758" |
--action removeBranchRestriction --project "zrestrictions" --repository "zrestrictions-repo" --restriction "pull-request-only" --branch "master*" --matchingType "PATTERN" |
removeSshKey
--action removeSshKey --id "314" |
removeSshKeys
--action removeSshKeys --userId "testuser1" |
--action removeSshKeys --userId "testuser2" |
removeUserFromGroup
--action removeUserFromGroup --userId "testuser3" --group "testgroup2" |
revokePermissions
--action revokePermissions --userId "testuser1" |
revokeProjectPermissions
--action revokeProjectPermissions --project "zcli" --userId "user1" |
revokeRepositoryPermissions
--action revokeRepositoryPermissions --project "zcli" --repository "zcli-repo" --userId "user1" |
run
--action run -i "-a getApp --app @default" |
--action run -i "-a getServerInfo --outputFormat 2 --outputType text" -i "-a getReplacementVariableList --outputType text" |
--action run --common "--project ZCLI --repository zcli-repo" --input "-a enableHook --hook \"Verify Committer\"" --input "-a getHook --hook \"Verify Committer\"" --input "-a disableHook --hook com.atlassian.bitbucket.server.bitbucket-bundled-hooks:verify-committer-hook" --input "-a getHook --hook \"Verify Committer\"" |
--action run --common "--project zrestrictions --repository zrestrictions-repo --branch feature2" --continue --input "-a addBranchRestriction --restriction fast-forward-only --group group1,group2 --userId user1,user2 --replace" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group group1 --options remove" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group group2 --userId user2 --options remove" --input "-a getBranchRestriction --id @restrictionId@" |
--action run --common "--project zrestrictions --repository zrestrictions-repo --branch feature2" --continue --input "-a addBranchRestriction --restriction no-deletes --group group2 --userId user1,user2 --replace" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group group1 --replace" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group \"\" --userId \"\" --replace" --input "-a getBranchRestriction --id @restrictionId@" |
--action run --common "--project zrestrictions --repository zrestrictions-repo --branch feature2" --continue --input "-a addBranchRestriction --restriction pull-request-only --replace" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --group group1,group2" --input "-a getBranchRestriction --id @restrictionId@" --input "-a updateBranchRestriction --id @restrictionId@ --userId user1,user2" --input "-a getBranchRestriction --id @restrictionId@" |
--action run --file "./src/itest/bitbucket/resources/run.txt" |
--action run --file "./src/itest/bitbucket/resources/runWithFindReplace.txt" --findReplace "##action##:getServerInfo" |
--action run --input "upm -a getAppList --token ODM2MTQ5MjM1MDczOlnia+ZKTTQP3FIQ22d1skBqCSoh" |
--action run --token "***" --input "upm -a getAppList" |
runFromBranchList
--action runFromBranchList --project "zcli" --repository "zcli-repo" --common "-a getBranch --project zcli --repository zcli-repo --branch @branch@" |
--action runFromBranchList --project "zcli" --repository "zcli-repo" --order "Alphabetical" --common "-a getBranch --project zcli --repository zcli-repo --branch @branch@" |
runFromBranchRestrictionList
--action runFromBranchRestrictionList --project "zrestrictions" --repository "zrestrictionsfile "./src/itest/bitbucket/resources/run.txt" |
--action run --file "./src/itest/bitbucket/resources/runWithFindReplace.txt" --findReplace "##action##:getServerInfo" |
--action run --input "upm -a getAppList --token OTUwNzA3NTg2NjkwOgJvDJWt8w/FChSK4aItFeJgfpMe" |
--action run --token "***" --input "upm -a getAppList" |
runFromBranchList
--action runFromBranchList --project "zcli" --repository "zcli-repo" --common "--action getBranchRestriction a getBranch --project zrestrictions zcli --repository zrestrictionszcli-repo --id @restrictionId@branch @branch@" |
--action runFromCommitList runFromBranchList --project "ZCLIzcli" --repository "zcli-repo" --dateFormat "yyyy-MM-dd HH:mm:ssorder "Alphabetical" --common "--action getCommit a getBranch --project @project@ --repository @repository@ --id @commitId@ --dateFormat \"yyyy-MM-dd HH:mm:ss\" zcli --repository zcli-repo --branch @branch@" |
runFromGroupList
--action runFromGroupList --limit 1 --common "-a getUserList --group @group@" --regex "testgroup2" |
runFromList
--action runFromList --list "Client, Server" --common "-a get@entry@Info" --action runFromList --list "org.*,com.*" --regex "@entry@" --common "-a getAppList --regex \"@entry@\"" |
runFromProjectList
--action runFromProjectList --common "-a getProject --project \"@project@\"" --regex "EXPERIMENT" --continue |
--action runFromProjectList --common "-a getProject --project \"@projectId@\"" --continue --regex "EXPERIMENT" |
--action runFromProjectList --permission "PROJECT_ADMIN" --common "--action getProject --project @project@" |
runFromRepositoryList
--action runFromRepositoryList --project "@all" --common "-a getRepository --project @projectId@ --repository @repositoryId@" |
--action runFromRepositoryList --project "@all" --common "-a getRepository --project @projectId@ --repository @repositoryId@" --limit 1 |
--action runFromRepositoryList --project "EXPERIMENT" --common "-a getRepository --project @project@ --repository \"@repository@\"" --continue |
--action runFromRepositoryList --project "EXPERIMENT" --common "-a getRepository --project @projectId@ --repository \"@repositoryId@\"" --continue --regex "ex1" |
runFromUserList
--action runFromUserList --group "testgroup2" --input "-a getUser --userId \"@userId@\"" --input "-a getUser --userId @userKey@" --input "-a getUser --userId \"@userDisplayName@\"" |
--action runFromUserList --input "-a getUser --userId \"@userId@\"" --input "-a getUser --userId @userKey@" --input "-a getUser --userId \"@userDisplayName@\"" |
setBuildStatus
--action setBuildStatus --id "d5702cb2c0441bca1eb1726970146791a986d5257a1de2bee9cedde1b27997c6acfcd2660e61a452" --state "INPROGRESS" --key "myKey" --url "http://xxx" |
--action setBuildStatus --id "d5702cb2c0441bca1eb1726970146791a986d5257a1de2bee9cedde1b27997c6acfcd2660e61a452" --state "successful" --key "myKey" --url "http://xxx" |
updateProject
--action updateProject --project "zcli" --name "zcli name updated" |
--action updateProject --project "zcli2" --private |
updatePullRequest
--action updatePullRequest --project "zcli" --repository "zcli-repo" --pullRequest "pr2" --name "pr2xxx" |
--action updatePullRequest --project "zcli" --repository "zcli-repo" --pullRequest "pr2xxx" --name "pr2" |
updateRepository
--action updateRepository --project "zcli" --repository "zcli-repo updated" --name "zcli-repo" |
--action updateRepository --project "zcli" --repository "zcli-repo" --name "zcli-repo updated" |
--action updateRepository --project "zcli" --repository "zcli2-repo" --private --notForkable |
updateUser
--action updateUser --userId "testuser1" --userEmail "former.employee.testuser@x.com1" |
--action updateUser --userId "testuser1" --userFullName "Test User1" --userEmail "testuser@x.com1" |
validateLicense
--action validateLicense |
Excerpt | ||||||
---|---|---|---|---|---|---|
|