Examples
- Automation User
- Bob Swift
Action usage examples
Examples give users ideas on actual usage. We use automation to generate, test, and run these actions, so names and combinations may be odd or repetitive . In many cases, other actions or environmental setup is required for the action to run, so you will need to adjust the action parameters and setup appropriate for your environment.
Command line environments can be different, especially between Windows and non-Windows systems. Our Tips page talks about command line escaping differences and there are differences with respect to environment variable references ($ for non-Windows and %...% for Windows). These differences can impact examples, so recognize and adjust for your platform. In particular, all examples here are run with the standard bash shell on Linux.
addDownload
--action addDownload --repository "bobswift-test/test-repo" --file "/opt/atlassian/pipelines/agent/build/src/itest/bitbucketcloud/resources/test.txt" |
approveCommit
--action approveCommit --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --commit "26db6dedcc64e73ebc24e2365e134d4eab3b54d1" |
--action approveCommit --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --commit "26db6dedcc64e73ebc24e2365e134d4eab3b54d1" --continue |
approvePullRequest
--action approvePullRequest --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --pullRequest "3359" |
--action approvePullRequest --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --pullRequest "3359" --continue |
createBranch
--action createBranch --workspace "@self" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --branch "automation" --type "Feature" --from "master" |
--action createBranch --workspace "@self" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --branch "automation" --type "Feature" --from "master" --continue |
--action createBranch --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --branch "ACLI-2609" --from "master" --continue |
createCommit
--action createCommit --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --branch "ACLI-2609" --name "ACLI-2609: commit README." --path "/README.md" --data "This is README for ACLI-2609 5001" |
--action createCommit --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --branch "ACLI-2609" --name "ACLI-2609: commit java file." --path "/src/java/DummyTestJavaFile.java" --file "/opt/atlassian/pipelines/agent/build/src/itest/bitbucketcloud/resources/DummyTestJavaFile.java" |
createProject
--action createProject --workspace "bobswifttestteam" --project "AUT1" --name "AutomationTestProject1" --description "Automation Test Project 1" |
--action createProject --workspace "bobswifttestteam" --project "AUT2" --name "AutomationTestProject2" |
createPullRequest
--action createPullRequest --workspace "bobswift-test" --repository "test-repo" --pullRequest "ACLI-2609: feature to dev" --description "PR from feature to dev" --from "ACLI-2609-feature" --reviewers "Test Automation (Appfire),Test Developer (Bob Swift Atlassian Apps)" |
--action createPullRequest --workspace "bobswift-test" --repository "test-repo" --pullRequest "ACLI-2609: feature to dev" --description "PR from feature to dev" --from "ACLI-2609-feature" --to "ACLI-2609-dev" --reviewers "Test Automation (Appfire),Test Developer (Bob Swift Atlassian Apps)" |
declinePullRequest
--action declinePullRequest --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --pullRequest "3360" |
--action declinePullRequest --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --pullRequest "3360" --continue |
deleteBranch
--action deleteBranch --workspace "@self" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --branch "Feature/automation" --continue |
--action deleteBranch --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --branch "ACLI-2609" --continue |
deleteProject
--action deleteProject --workspace "bobswifttestteam" --project "AUT1" |
--action deleteProject --workspace "bobswifttestteam" --project "AutomationTestProject2" |
exportData
--action exportData --repository "bobswift-test/repo1" --environment "@all" --options "includeReplace" |
--action exportData --repository "bobswift-test/repo1" --environment "zexport" --options "includeContinue" |
--action exportData --repository "bobswift-test/repo1" --exportType "WORKSPACE,REPOSITORY" |
--action exportData --repository "bobswift-test/testfiles" --environment "@all" |
--action exportData --workspace "@self" |
--action exportData --workspace "@self" --repository "repo1" --options "includeReplace" |
getBranch
--action getBranch --workspace "@self" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --branch "Feature/automation" |
getBranchList
--action getBranchList --repository "@all" --startDate "@all" --outputFormat 1 |
--action getBranchList --repository "bobswift-test/test-repo" --outputType "text" --dateFormat "yyyy_MMM_dd" --options "tableNoWrap" |
--action getBranchList --workspace "@self" --repository "@all" --startDate "@all" --outputType "csv" --outputFormat 1 |
--action getBranchList --workspace "bobswift-test" --repository "test-repo" --outputFormat 1 --outputType "text" --options "tableNoWrap" |
getBuildStatusList
--action getBuildStatusList --repository "bobswift-test/test-repo" --branch "ACLI-2609" --columns "repository,commit,reference,name" --outputType "text" --options "tableNoWrap" |
--action getBuildStatusList --repository "bobswift-test/test-repo" --commit "7411895d796b3941d35c5ee11057323da1bfe132" --dateFormat "yyyy-MM-dd" --options "tableNoWrap" |
--action getBuildStatusList --repository "bobswift-test/test-repo" --commit "@last" --outputFormat 1 --outputType "csv" |
--action getBuildStatusList --repository "bobswift-test/test-repo" --dateFormat "yyyy-MM-dd" --options "tableNoWrap" |
getClientInfo
--action getClientInfo |
--action getClientInfo --outputFormat 2 |
getCommit
--action getCommit --repository "bobswift-test/test-repo" --commit "@default" |
--action getCommit --repository "bobswift-test/test-repo" --commit "@last" |
--action getCommit --repository "bobswift-test/test-repo" --commit "@last" --regex ".*README.*" --startDate "@all" |
--action getCommit --repository "bobswift-test/test-repo" --commit "ACLI-2609" |
--action getCommit --workspace "@self" --repository "{c544c3d5-6941-456e-be8e-0ba8d2b4c491}" --commit "dbd93a47b17145543627edea5c61065d46e29582" |
--action getCommit --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --commit "f571f689166cb1cd177bc115be0c0a5d39757c0c" --dateFormat "yyyy-MM-dd" --outputFormat 999 |
getCommitList
--action getCommitList --repository "bobswift-test/test-repo" --dateFormat "yyyy-MM-dd" --columns "repository,commitmessage,commitDate" --branch "ACLI-2609" --options "tableNoWrap" |
--action getCommitList --repository "bobswift-test/test-repo" --dateFormat "yyyy-MM-dd" --columns "repository,commitmessage,commitDate" --branch "tag1" --options "tableNoWrap" |
--action getCommitList --repository "bobswift-test/test-repo" --limit 10 --dateFormat "yyyy-MM-dd" --outputType "text" --columns "repository,commit,added,removed,changed,commitmessage" --options "tableNoWrap" |
--action getCommitList --repository "bobswift-test/test-repo" --path "README.md" --dateFormat "yyyy-MM-dd" --columns "repository,commit,commitmessage,commitDate,url" --options "tableNoWrap" |
--action getCommitList --workspace "@all" --repository "@all" --dateFormat "yyyy-MM-dd" --outputType "text" --limit 175 --options "tableNoWrap" |
--action getCommitList --workspace "@all" --repository "@all" --dateFormat "yyyy-MM-dd" --outputType "text" --limit 20 --columns "commit,commitmessage,commitdate" --options "tableNoWrap" |
--action getCommitList --workspace "@all" --repository "@all" --dateFormat "yyyy-MM-dd" --outputType "text" --startDate "@all" --limit 175 --columns "commit,commitmessage,commitdate,url" --options "tableNoWrap" |
--action getCommitList --workspace "@self" --repository "@all" --startDate "@all" --outputFormat 1 --dateFormat "yyyy-MM-dd" |
--action getCommitList --workspace "@self" --repository "test-repo" --dateFormat "yyyy-MM-dd" --outputType "text" --columns "commit,commitmessage,commitDate,diff" --startDate "2020-02-05" --endDate "2021-12-31" --select "commit:f571f689166cb1cd177bc115be0c0a5d39757c0c" --options "tableNoWrap" |
--action getCommitList --workspace "@self" --repository "test-repo" --dateFormat "yyyy-MM-dd" --outputType "text" --columns "repository,commit,commitmessage,commitDate,url" --startDate "2020-02-05" --endDate "2021-12-31" --options "tableNoWrap" |
--action getCommitList --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{c544c3d5-6941-456e-be8e-0ba8d2b4c491}" --regex ".*AutomationTestFile1.*" --columns "commit,commitmessage" --startDate "@all" --options "tableNoWrap" |
--action getCommitList --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{c544c3d5-6941-456e-be8e-0ba8d2b4c491}" --regex "dbd93a47b17145543627edea5c61065d46e29582" --startDate "@all" --options "tableNoWrap" |
--action getCommitList --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --dateFormat "yyyy-MM-dd" --columns "Workspace,Repository,Commit,Commit Message" --outputType "csv" |
getDeployment
--action getDeployment --repository "bobswift-test/test-repo" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --name "@last" |
--action getDeployment --repository "bobswift-test/test-repo" --environment "staging" --name "@last" |
getDeploymentList
--action getDeploymentList --repository "bobswift-test/test-repo" --columns "workspace,repository,environment,deployment,name,lastSuccessfulDeployment,lastSuccessfulDeploymentName,lastSuccessfulDeploymentUuid,lastSuccessfulDeploymentUrl" --limit 5 --startDate "@all" --options "tableNoWrap" |
--action getDeploymentList --repository "bobswift-test/test-repo" --columns "workspace,repository,environment,deployment,name,pipeline,pipelineUuid,step,stepUuid,stepUrl" --limit 25 --options "tableNoWrap" |
--action getDeploymentList --repository "bobswift-test/test-repo" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --columns "deployment,name,uuid,commit,state,status,started,completed,url" --outputType "text" --options "tableNoWrap" --startDate "@all" --limit 101 |
--action getDeploymentList --repository "bobswift-test/test-repo" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --options "tableNoWrap" --limit 4 |
--action getDeploymentList --repository "bobswift-test/test-repo" --environment "staging" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --columns "environment,deployment,name,state,status,started" --options "tableNoWrap" --limit 5 |
--action getDeploymentList --repository "bobswift-test/test-repo" --outputFormat 999 --startDate "@all" --limit 1 |
--action getDeploymentList --workspace "bobswift-test" --repository "test-repo" --outputFormat 1 --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --limit 10 |
--action getDeploymentList --workspace "bobswift-test" --repository "testfiles" |
getDownload
--action getDownload --file "build/output/downloads/getDownload.txt" --repository "bobswift-test/test-repo" --name "test.txt" |
getDownloadList
--action getDownloadList --repository "bobswift-test/test-repo" --dateFormat "yyyy-MM-dd HH:mm:ss" --options "tableNoWrap" |
--action getDownloadList --repository "bobswift-test/test-repo" --regex "test.txt" --endDate "-1d" --dateFormat "yyyy-MM-dd HH:mm:ss" |
--action getDownloadList --repository "bobswift-test/test-repo" --regex "test.txt" --endDate "-1h" |
--action getDownloadList --repository "bobswift-test/test-repo" --regex "test.txt" --endDate "-1s" |
getEnvironmentList
--action getEnvironmentList --workspace "bobswift-test" --repository "test-repo" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --columns "environment,name,uuid,type,category" --outputType "text" --options "tableNoWrap" |
--action getEnvironmentList --workspace "bobswift-test" --repository "test-repo" --outputFormat 1 --limit 4 |
--action getEnvironmentList --workspace "bobswift-test" --repository "testfiles" |
getFile
--action getFile --repository "appfire/base-cli" --path "build.gradle" |
--action getFile --repository "appfire/base-cli" --path "build.gradle" --file "@temp" |
--action getFile --repository "appfire/base-cli" --path "build.gradle" --file "build/output/files/xxx.gradle" |
--action getFile --repository "appfire/base-cli" --path "gradle/wrapper/gradle-wrapper.jar" --file "build/output/files/@pathName@.txt" |
getFileList
--action getFileList --repository "appfire/base-cli" --dateFormat "yyyy-MM-dd HH:mm:ss" --descendents --columns "repository,path,directory,mimeType,size,revision" --regex "src/itest.*" --outputFormat 1 |
--action getFileList --repository "appfire/base-cli" --dateFormat "yyyy-MM-dd HH:mm:ss" --descendents --outputFormat 999 --limit 15 |
--action getFileList --repository "appfire/base-cli" --path "" --columns "repository,path,directory,mimeType,size,revision" --outputFormat 1 |
--action getFileList --repository "appfire/base-cli" --path "" --dateFormat "yyyy-MM-dd HH:mm:ss" --descendents --columns "repository,path,directory,mimeType,size,revision" --outputType "csv" |
--action getFileList --repository "appfire/base-cli" --path "license" --dateFormat "yyyy-MM-dd HH:mm:ss" |
--action getFileList --repository "appfire/base-cli" --path "license" --dateFormat "yyyy-MM-dd HH:mm:ss" --outputFormat 1 |
--action getFileList --repository "gint_org/gint" --dateFormat "yyyy-MM-dd HH:mm:ss" --descendents --outputFormat 1 --columns "repository,path,directory,mimeType,size,revision" |
getPermissionList
--action getPermissionList --repository "bobswift-test/test-repo" --dateFormat "yyyy-MM-dd" --inherited --options "tableNoWrap" |
--action getPermissionList --repository "bobswift-test/test-repo" --dateFormat "yyyy-MM-dd" --options "tableNoWrap" |
--action getPermissionList --repository "bobswift-test/test-repo" --dateFormat "yyyy-MM-dd" --outputFormat 1 --options "tableNoWrap" |
--action getPermissionList --workspace "@self" --dateFormat "yyyy-MM-dd" --columns "workspace,Permission,Type,Added,LastAccessed,User,User Key,User UUID,Group,Group Name" --options "tableNoWrap" |
--action getPermissionList --workspace "@self" --dateFormat "yyyy-MM-dd" --options "tableNoWrap" |
--action getPermissionList --workspace "@self" --project "PROJ" --dateFormat "yyyy-MM-dd" --options "tableNoWrap" |
--action getPermissionList --workspace "@self" --project "PROJ" --dateFormat "yyyy-MM-dd" --outputFormat 1 |
getPipeline
--action getPipeline --workspace "gint_org" --repository "gint" --pipeline "199" --outputFormat 999 |
getPipelineCacheList
--action getPipelineCacheList --repository "appfire/acli" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --options "tableNoWrap" |
--action getPipelineCacheList --repository "appfire/acli" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --outputFormat 999 --columns "workspace,repository,path,created,size,url,pipelineUuid,stepUuid" |
getPipelineList
--action getPipelineList --repository "gint_org/gint" --outputFormat 999 --outputType "text" --columns "Pipeline,Status,started,Test Cases,Test Successful,Test Failed,Test Error,Test Skipped" --startDate "2024-04-01" --endDate "2024-06-28" --dateFormat "yyyy-MM-dd" --limit 10 --options "tableNoWrap" |
getProject
--action getProject --workspace "bobswifttestteam" --project "CLI" --dateFormat "yyyy-MM-dd HH:mm:ss" |
--action getProject --workspace "bobswifttestteam" --project "cli" --dateFormat "yyyy-MM-dd HH:mm:ss" |
--action getProject --workspace "bobswifttestteam" --project "{f3a863a4-a073-474c-8452-3d1927343042}" |
getProjectList
--action getProjectList --outputFormat 1 |
--action getProjectList --outputFormat 999 --columns "-2,3" --outputType "text" --options "tableNoWrap" --dateFormat "yyyy-MM-dd HH:mm:ss" |
--action getProjectList --workspace "@all" --regex "Bob.*Project" --outputFormat 1 --dateFormat "yyyy-MM-dd HH:mm:ss" |
--action getProjectList --workspace "@self" --limit 1 --outputFormat 2 |
--action getProjectList --workspace "bobswifttestteam" --regex "AUT.*" |
--action getProjectList --workspace "bobswifttestteam" --regex "AUT.*" --outputFormat 1 --dateFormat "yyyy-MM-dd HH:mm:ss" |
getPullRequest
--action getPullRequest --workspace "@self" --repository "test-repo" --pullRequest "3359" |
--action getPullRequest --workspace "bobswift-test" --repository "test-repo" --pullRequest "3359" |
--action getPullRequest --workspace "bobswift-test" --repository "test-repo" --pullRequest 2712 --dateFormat "yyyy-MM-dd" |
getPullRequestList
--action getPullRequestList --workspace "@self" --repository "@all" --outputFormat 1 --limit 2 |
--action getPullRequestList --workspace "@self" --repository "testfiles" --regex "AutomationTestFile1.*" --columns "pullrequest,name" --startDate "@all" |
--action getPullRequestList --workspace "@self" --repository "{c544c3d5-6941-456e-be8e-0ba8d2b4c491}" --outputType "text" --columns "pullrequest,name,description,created,updated,state,reason,mergeCommit,sourceRepository,sourceRepositoryName,sourceRepositoryUUID,sourceBranch,sourceCommit,destinationRepository,destinationRepositoryName,destinationRepositoryUUID,destinationBranch,destinationCommit,closer,closerKey,closerName,closerUUID,commentCount,url" --options "tableNoWrap" --dateFormat "yyyy-MM-dd" --startDate "@all" |
--action getPullRequestList --workspace "@self" --repository "{c544c3d5-6941-456e-be8e-0ba8d2b4c491}" --state "DECLINED" --columns "pullrequest,state" --startDate "@all" |
getRepository
--action getRepository --repository "Base CLI" |
--action getRepository --repository "abc/def" |
--action getRepository --repository "appfire/base-cli" |
--action getRepository --repository "base-cli" |
--action getRepository --repository "bobswift-test/test-repo" |
--action getRepository --repository "gint" --workspace "gint_org" |
--action getRepository --repository "gint_org/gint" |
--action getRepository --workspace "@all" --repository "abc/def" |
--action getRepository --workspace "@self" --repository "abc/def" |
--action getRepository --workspace "appfire" --repository "base-cli" --dateFormat "yyyy-MM-dd HH:mm:ss" |
getRepositoryList
--action getRepositoryList --outputFormat 999 |
--action getRepositoryList --project "ACLI" --columns "workspace,repository,project,projectname,projectuuid" --outputType "text" |
--action getRepositoryList --role "admin" --columns "workspace,repository,project" --outputType "text" |
--action getRepositoryList --role "contributor" --columns "workspace,repository,project" --outputType "text" |
--action getRepositoryList --workspace "@all" --columns "workspace,repository,project" --outputType "text" |
--action getRepositoryList --workspace "@self" --columns "workspace,repository,fullkey,name,description,uuid,scm,mainbranch,forkpolicy,private,hasissues,haswiki,size,language,created,updated,url" --outputType "text" --options "tableNoWrap" --dateFormat "yyyy-MM-dd HH:mm:ss" |
--action getRepositoryList --workspace "@self" --project "ACLI" --columns "workspace,repository,project,projectname,projectuuid" --outputType "text" |
--action getRepositoryList --workspace "@self" --query "project.key=\"ACLI\"" --columns "workspace,repository,project,projectname,projectuuid" --outputType "text" |
--action getRepositoryList --workspace "@self" --sort "-created_on" --columns "workspace,repository,project,created,updated" --outputType "text" --dateFormat "yyyy-MM-dd" |
--action getRepositoryList --workspace "bobswift-test" --columns "repository,fullkey,name,description,uuid,scm,mainbranch,forkpolicy,private,hasissues,haswiki,size" --outputType "text" --options "tableNoWrap" |
--action getRepositoryList --workspace "bobswift-test" --query "is_private=true" --columns "repository,fullkey,name,description,uuid" --outputType "csv" |
--action getRepositoryList --workspace "gint_org" --columns "repository,fullkey,name,uuid" --options "tableNoWrap" |
--action getRepositoryList --workspace "gint_org" --columns "repository,fullkey,name,uuid,scm,private,website" --outputType "csv" |
getRunnerList
--action getRunnerList --repository "bobswift-test/test-repo" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --outputFormat 1 |
--action getRunnerList --workspace "@self" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --columns "runner,uuid,type,status,active,version,oauthclientid,created,updated,labels" --options "tableNoWrap" |
--action getRunnerList --workspace "@self" --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --columns "runner,uuid,type,status,active,version,oauthclientid,created,updated,labels, pipelinerepository, pipeline, pipelineuuid, step, stepuuid, stepstarted, stepstate, stepelapsedseconds, stepurl" --outputType "text" --options "tableNoWrap" |
--action getRunnerList --workspace "@self" --select "status:ONLINE" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --columns "runner,uuid,type,status,active,version,oauthclientid,created,updated,labels" --options "tableNoWrap" |
--action getRunnerList --workspace "bobswift-test" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --outputFormat 1 |
getTag
--action getTag --repository "bobswift-test/test-repo" --tag "@last" --dateFormat "yyyy-MM-dd" |
--action getTag --repository "bobswift-test/test-repo" --tag "tag1" --dateFormat "yyyy-MM-dd" |
getTagList
--action getTagList --repository "bobswift-test/test-repo" --dateFormat "yyyy-MM-dd" --options "tableNoWrap" |
--action getTagList --repository "bobswift-test/test-repo" --outputFormat 999 |
getTestCaseList
--action getTestCaseList --workspace "@self" --repository "test-repo" --pipeline "31482" --step "build" |
--action getTestCaseList --workspace "gint_org" --repository "gint" --pipeline "199" --step "build, test, and upload jars" --outputFormat 1 |
--action getTestCaseList --workspace "gint_org" --repository "gint" --pipeline "199" --step "build, test, and upload jars" --outputType "text" --columns "Repository,Pipeline,Step,Name,Script,Status,Duration,message,info" --options "tableNoWrap" |
--action getTestCaseList --workspace "gint_org" --repository "gint" --pipeline "199" --step "build, test, and upload jars" --outputType "text" --options "tableNoWrap" |
--action getTestCaseList --workspace "gint_org" --repository "gint" --pipeline "199" --step "build, test, and upload jars" --select "Status:FAILED" --select "Script:GINT" |
--action getTestCaseList --workspace "gint_org" --repository "gint" --pipeline "241" --step "build, test, and upload jars" |
getUser
--action getUser --dateFormat "yyyy-MM-dd" |
--action getUser --userId "557058:1701f082-9690-4a9d-8581-022b7fba2903" |
--action getUser --userId "557058:f19b817f-5224-4462-bd3f-2333ceaccbe2" |
--action getUser --userId "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" |
--action getUser --workspace "@self" --userId "Test Automation {Appfire}" |
--action getUser --workspace "@self" --userId "Test Automation {Appfire}::557058:1701f082-9690-4a9d-8581-022b7fba2903" |
getUserList
--action getUserList --workspace "@self" --options "tableNoWrap" |
--action getUserList --workspace "@self" --outputFormat 999 --options "tableNoWrap" |
getWorkspace
--action getWorkspace --workspace "@self" --dateFormat "yyyy-MM-dd" |
--action getWorkspace --workspace "bobswift-test" --dateFormat "yyyy-MM-dd" |
--action getWorkspace --workspace "bobswiftautomationtest" --dateFormat "yyyy-MM-dd" |
--action getWorkspace --workspace "{67bd5cbe-a9e5-4d46-a890-09f9b4a8aaa2}" --dateFormat "yyyy-MM-dd" |
getWorkspaceList
--action getWorkspaceList --outputType "text" --dateFormat "yyyy-MM-dd" --options "exact,tableNoWrap" --select "name:bobswiftautomationtest" |
--action getWorkspaceList --outputType "text" --dateFormat "yyyy-MM-dd" --options "tableNoWrap" --select "name:bobswiftautomationtest" |
--action getWorkspaceList --outputType "text" --dateFormat "yyyy-MM-dd" --outputFormat 1 --options "tableNoWrap" |
mergePullRequest
--action mergePullRequest --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --pullRequest "3359" |
--action mergePullRequest --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --pullRequest "3359" --continue |
publishSource
--action publishSource --repository "appfire/base-cli" --path "build.gradle" --title "build" --replace --space "experiment" --parent "@home" --targetServer "confluence210" |
--action publishSource --repository "appfire/base-cli" --path "build.gradle" --title "build" --replace --space "experiment" --parent "@home" --targetServer "confluence30" |
--action publishSource --repository "appfire/base-cli" --path "src/main/java/org/swift/common/cli/CliClient.java" --title "Example.java with full path" --options "path,language=java,collapse" --replace --space "experiment" --parent "@home" --targetServer "confluence210" |
--action publishSource --repository "appfire/base-cli" --path "src/main/java/org/swift/common/cli/CliClient.java" --title "Example.java with full path" --options "path,language=java,collapse" --replace --space "experiment" --parent "@home" --targetServer "confluence30" |
--action publishSource --repository "appfire/base-cli" --path "src/main/java/org/swift/common/cli/CliClient.java" --title "Example.java" --options "name,lineNumbers,theme=midnight" --replace --space "experiment" --parent "@home" --targetServer "confluence210" |
--action publishSource --repository "appfire/base-cli" --path "src/main/java/org/swift/common/cli/CliClient.java" --title "Example.java" --options "name,lineNumbers,theme=midnight" --replace --space "experiment" --parent "@home" --targetServer "confluence30" |
--action publishSource --repository "gint_org/gint" --path "build.gradle" --title "build.gradle" --replace --space "experiment" --parent "@home" --targetServer "confluence210" |
--action publishSource --repository "gint_org/gint" --path "build.gradle" --title "build.gradle" --replace --space "experiment" --parent "@home" --targetServer "confluence30" |
--action publishSource --workspace "appfire" --repository "base-cli" --path "license" --title "licenses" --options "name,h1" --replace --space "experiment" --parent "@home" --targetServer "confluence210" |
--action publishSource --workspace "appfire" --repository "base-cli" --path "license" --title "licenses" --options "name,h1" --replace --space "experiment" --parent "@home" --targetServer "confluence30" |
renderRequest
--action renderRequest --url "/2.0/workspaces" --pretty |
--action renderRequest --url "https://api.bitbucket.org/2.0/workspaces" --pretty |
--action renderRequest --url "https://api.bitbucket.org/internal/repositories/{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}/{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}/pipelines-config/runners" --data "{\"name\":\"zrunners733\",\"labels\":[\"self.hosted\", \"linux\"]}" --type "JSON" --requestType "POST" |
run
--action run -i "-a addRunner --repository bobswift-test/test-repo --name zrunners732 --label windows --label custom" -i "-a getReplacementVariableList --outputType text" -i "-a sleep --value 10" -i "-a getRunner --repository @repositoryFullKey@ --name @runnerUuid@" -i "-a removeRunner --repository @repositoryFullKey@ --name \"@runner@\"" |
--action run -i "-a addRunner --workspace bobswift-test --name zrunners73" -i "-a getReplacementVariableList --outputType text" -i "-a sleep --value 10" -i "-a getRunner --workspace bobswift-test --name @runnerUuid@" -i "-a getRunner --workspace bobswift-test --name \"@runner@\"" -i "-a getRunnerList --workspace bobswift-test --outputType text --columns workspace,repository,runner,uuid,type,version,oauthclientid,labels" -i "-a removeRunner --workspace bobswift-test --name @runnerUuid@" |
--action run -i "-a getDeployment --repository bobswift-test/test-repo --environment staging --name @last" -i "-a getDeployment --repository bobswift-test/test-repo --environment staging --name @deployment@" -i "-a getDeployment --repository bobswift-test/test-repo --environment staging --name @deploymentName@" |
--action run -i "-a getRunnerList --workspace bobswift-test --regex host.examplegear.com-1 -f build/output/runners/history.csv --columns 7,10,11,16,17,18,20,23,24 --outputFormat 999 --dateFormat yyyy-MM-dd'T'HH:mm:ss.SSS" -i "-a startPipeline --repository test-repo --branch master --field sleep=5" -i "-a sleep --value 2" -i "-a getReplacementVariableList --outputType text" -i "bitbucketcloud_test -a run -i \"-a getRunnerList --workspace bobswift-test --regex host.examplegear.com-1 --append -f build/output/runners/history.csv --columns 7,10,11,16,17,18,20,23,24 --outputFormat 2 --dateFormat yyyy-MM-dd'T'HH:mm:ss.SSS\"" -i "-a sleep --value 5" -i "bitbucketcloud_test -a run -i \"-a getRunnerList --workspace bobswift-test --regex host.examplegear.com-1 --append -f build/output/runners/history.csv --columns 7,10,11,16,17,18,20,23,24 --outputFormat 2 --dateFormat yyyy-MM-dd'T'HH:mm:ss.SSS\"" -i "-a sleep --value 3" -i "bitbucketcloud_test -a run -i \"-a getRunnerList --workspace bobswift-test --regex host.examplegear.com-1 --append -f build/output/runners/history.csv --columns 7,10,11,16,17,18,20,23,24 --outputFormat 2 --dateFormat yyyy-MM-dd'T'HH:mm:ss.SSS\"" -i "csv -a copyCsv --sourceFile build/output/runners/history.csv" |
--action run -i "-a getSource --workspace appfire --repository base-cli --path src/test/resources/run.txt --file @temp" -i "-a getReplacementVariableList" -i "-a run -f @temp" |
--action run -i "-a run -f @bitbucketcloud_test:2.0/repositories/appfire/base-cli/src/2ae34c6bc25b69d244709911f4616436eb1e5e20/src/test/resources/run.txt" -i "-a run -f @bitbucketcloud_test:https://api.bitbucket.org/2.0/repositories/appfire/base-cli/src/2ae34c6bc25b69d244709911f4616436eb1e5e20/src/test/resources/run.txt" |
--action run -i "-a setSecureProperty --replace --name zexport_password1 --secret secure_value1" -i "-a addVariables -v --replace --secured --repository bobswift-test/repo1 --field zexport_password1=\${zexport_password1}" |
--action run --common "--repository bobswift-test/test-repo --branch branchesdeleteme" -i "-a deleteBranch --continue" -i "-a createBranch --from d03619e" -i "-a getBranch" -i "-a deleteBranch" |
--action run --common "--repository bobswift-test/test-repo --branch no-commits" -i "-a createBranch --from @default --continue" -i "-a getBranch" |
--action run --common "--repository bobswift-test/test-repo" -i "-a addDownload -f /opt/atlassian/pipelines/agent/build/src/itest/bitbucketcloud/resources/test.txt" -i "-a addDownload -f /opt/atlassian/pipelines/agent/build/src/itest/bitbucketcloud/resources/test.txt --name \"test with blank in name.txt\"" -i "-a getReplacementVariableList --outputType text" -i "-a getDownloadList --limit 2 --dateFormat \"yyyy-MM-dd HH:mm:ss\" --options tableNoWrap" -i "-a removeDownload --name \"test_with_blank_in_name.txt\"" -i "-a removeDownload --name \"test_with_blank_in_name.txt\" --continue" |
--action run --common "--repository bobswift-test/test-repo" -i "-a removeEnvironment --environment zdeploymentsxx --continue" -i "-a removeEnvironment --environment zdeployments --continue" -i "-a addEnvironment --environment zdeploymentsXX --type production" -i "-a addEnvironment --environment zdeployments --type Test" -i "-a getReplacementVariableList --outputType text" -i "-a getEnvironment --environment @environmentUuid@" -i "-a addVariables --environment @environment@ --replace --field key1=value1 --field key2=value2" -i "-a getVariableList --environment @environmentUuid@ --outputType text --columns key,value,uuid" -i "-a getVariableList --environment @environmentUuid@ --outputType text --columns key,value,uuid" -i "-a getVariableList --environment @environmentUuid@ --outputType text --columns key,value,uuid" -i "-a updateVariables --environment @environmentName@ --replace --field key1=update1 --field key2=update2" -i "-a getVariableList --environment @environmentUuid@ --outputType text --columns key,value,uuid" -i "-a getVariableList --environment @environmentUuid@ --outputType text --columns key,value,uuid" -i "-a getVariableList --environment @all --outputType text --columns environment,key,value,uuid" -i "-a updateVariables --environment @environmentName@ --field key1" -i "-a removeVariables --environment @environmentUuid@ --field key2" -i "-a removeEnvironment --environment @environmentName@" -i "-a removeEnvironment --environment \"zdeployments with blank\" --continue" -i "-a addEnvironment --environment \"zdeployments with blank\" --type STAGING --options adminOnly" -i "-a getEnvironment --environment @environmentUuid@" -i "-a removeEnvironment --environment @environment@" |
--action run --common "--workspace bobswift-test --repository test-repo" --input "-a deleteBranch --branch \"ACLI-2609-feature\" --continue" --input "-a deleteBranch --branch \"ACLI-2609-dev\" --continue" --input "-a createBranch --branch \"ACLI-2609-feature\" --from master --continue" --input "-a createBranch --branch \"ACLI-2609-dev\" --from \"ACLI-2609-feature\" --continue" --input "-a createCommit -v --name \"ACLI-2609 feature commit: 868\" --branch \"ACLI-2609-feature\" --path \"/src/test.txt\" --data \"this is test\"" --input "-a getCommit --commit @commit@" |
--action run --continue --common "--workspace @self" -i "-a createProject --project ACLI --name \"acli\" --continue" -i "-a deleteRepository --repository \"zrepositories name\" --continue" -i "-a createRepository --repository zrepositories --project ACLI -v --name \"zrepositories name\" --description \"repo description\"" -i "-a getReplacementVariableList --outputType text" -i "-a getRepository --repository @repository@" |
--action run --verbose -i "-a exportData --repository bobswift-test/repo1 -f build/output/export/export.acli --options includeReplace,noSecureProperties" -i "-a removeVariables --continue --repository bobswift-test/target --field zexport_password1 --field zexport_var1 --field zexport_var2" -i "-a copyFiles --sourceFile build/output/export/export.acli" -i "-a run -f build/output/export/export.acli --findReplace bobswift-test/repo1:bobswift-test/target" -i "-a sleep --value 5" -i "-a getVariableList --repository bobswift-test/target --outputType text --columns key,value,scope,secured,system" |
runFromBranchList
--action runFromBranchList --workspace "@self" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --common "-a getReplacementVariableList" |
runFromCommitList
--action runFromCommitList --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --common "-a getReplacementVariableList" |
runFromDeploymentList
--action runFromDeploymentList --workspace "bobswift-test" --repository "test-repo" --limit 2 --input "-a getReplacementVariableList --outputType text" |
runFromDownloadList
--action runFromDownloadList --repository "gint_org/gint" --limit 1 -i "-a getDownload --repository @repositoryFullKey@ --name @downloadName@ -f build/output/repositories" -i "-a getReplacementVariableList --outputType text" |
--action runFromDownloadList --repository "test-repo" --limit 2 --input "-a getDownload --repository @repository@ --name @downloadName@ -f build/output/downloads" --input "-a getReplacementVariableList --outputType text --options tableNoWrap" |
runFromEnvironmentList
--action runFromEnvironmentList --workspace "bobswift-test" --repository "test-repo" --limit 5 --input "-a getReplacementVariableList --outputType text" |
runFromPermissionList
--action runFromPermissionList --workspace "@self" --project "PROJ" -i "-a getReplacementVariableList --outputType text" |
runFromPullRequestList
--action runFromPullRequestList --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --common "-a getReplacementVariableList" --limit 200 |
runFromRepositoryList
--action runFromRepositoryList --workspace "@all" --continue --options "parallel" -i "-a getDeploymentList --workspace @workspace@ --repository @repository@ --limit 100" -i "-a getEnvironmentList --workspace @workspace@ --repository @repository@" -i "-a getBranchList --workspace @workspace@ --repository @repository@ --limit 100" -i "-a getPullRequestList --workspace @workspace@ --repository @repository@ --limit 100" -i "-a getCommitList --workspace @workspace@ --repository @repository@ --limit 100" |
runFromTagList
--action runFromTagList --repository "bobswift-test/test-repo" --common "-a getReplacementVariableList --outputType text" |
runFromWorkspaceList
--action runFromWorkspaceList --input "-a getWorkspace --workspace @workspace@ --dateFormat yyyy-MM-dd --outputFormat 2" --input "-a getReplacementVariableList --outputType text" |
unapproveCommit
--action unapproveCommit --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --commit "26db6dedcc64e73ebc24e2365e134d4eab3b54d1" |
--action unapproveCommit --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --commit "26db6dedcc64e73ebc24e2365e134d4eab3b54d1" --continue |
unapprovePullRequest
--action unapprovePullRequest --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --pullRequest "3359" |
--action unapprovePullRequest --workspace "{ecddc0da-f8fa-43aa-bc5f-72bad652fc56}" --repository "{ec85a580-b4b8-4d87-b355-5e7eabdea3d5}" --pullRequest "3359" --continue |
updateProject
--action updateProject --workspace "bobswifttestteam" --project "AUT1" --description "Automation Test Project 1 updated" |
--action updateProject --workspace "bobswifttestteam" --project "AUT2" --public |
--action updateProject --workspace "bobswifttestteam" --project "AutomationTestProject2" --description "Automation Test Project 2 updated" |
updatePullRequest
--action updatePullRequest --workspace "@self" --repository "test-repo" --pullRequest "3359" --name "ACLI-2609: feature to dev" --description "" --reviewers "" |
Log a request with our support team.
Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.