Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

addAgent

--action addAgent --agent "Z Added 1" --continue
--action addAgent --agent "Z Added 1" --description "Agent added by 12596717018594"
--action addAgent --agent "Z Added 1" --description "Agent added by 7310018"
--action addAgent --agent "Z Added 2"
--action addAgent --agent "Z Added 3"
--action addAgent --agent "Z Added 4" --continue

addAgentAssignment

--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE7018594"
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE7018594-AA"
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE7018594-AA-MYJOB"
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE1259671ZCREATE7310018"
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE1259671ZCREATE7310018-AA"
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE1259671ZCREATE7310018-AA-MYJOB"
--action addAgentAssignment --agent "zdeploy" --assignment "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --type "DEPLOYMENT_PROJECT" --autoAgent
--action addAgentAssignment --agent "zdeploy" --assignment "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE:QA" --type "ENVIRONMENT" --autoAgent

addArtifact

--action addArtifact --plan "ZCREATE1259671ZCREATE7018594-AA" --job "MYJOB" --artifact "jar" --location "target" --copyPattern "**/*.jar" --shared
--action addArtifact --plan "ZCREATE1259671ZCREATE7018594-AA" --job "myjob" --artifact "jar2" --location "target" --copyPattern "**/*.jar" --required
--action addArtifact --plan "ZCREATE1259671ZCREATE7018594-AA" --job "myjob" --artifact "remove me" --location "target" --copyPattern "**/*.jar"

addBranch

--action addBranch addArtifact --plan "ZTEMPLATEZCREATE7310018-CHECKOUT1AA" --branch "2.5.0job "MYJOB" --continueartifact "jar" --action addBranch --plan "ZTEMPLATE-CHECKOUT1location "target" --branch "2.5.0" --description "Branch for tag 2.5.0" --enablecopyPattern "**/*.jar" --shared
--action addBranch addArtifact --plan "ZTEMPLATEZCREATE7310018-CHECKOUT1AA" --branch "2.6.0job "myjob" --name "Release 2.6.0"

addCapability

--action addCapability --type "Dockerartifact "jar2" --location "target" --value copyPattern "**/zdocker"*.jar" --required
--action addCapability addArtifact --type plan "DockerZCREATE7310018-AA" --value job "/zdockermyjob" --agent artifact "zcapabilitiesremove me" --action addCapability --type "Perforcelocation "target" --value copyPattern "**/zperforce*.jar"

addBranch

--action addCapability addBranch --type plan "PerforceZTEMPLATE-CHECKOUT1" --value "/zperforcebranch "2.5.0" --agent "zcapabilities"continue
--action addCapability addBranch --type plan "custom" --value "xxx" --agent "zcapabilitiesZTEMPLATE-CHECKOUT1" --branch "2.5.0" --description "Branch for tag 2.5.0" --enable
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "2.6.0" --name "z custom 1"Release 2.6.0"

addCapability

--action addCapability --type "customDocker" --value "xxx" --name "z custom 1"/zdocker"
--action addCapability --type "executable:AntDocker" --value "/antzdocker" --agent "zcapabilities"
--action addCapability --type "Perforce" --name value "z Ant/zperforce"
--action addCapability --type "executable:AntPerforce" --value "/antzperforce" --name agent "z Antzcapabilities"
--action addCapability --type "executable:Gradle Wrappercustom" --value "/gwxxx" --agent "zcapabilities" --name "z GWcustom 1"
--action addCapability --type "executable:Gradle Wrappercustom" --value "/gwxxx" --name "z GWcustom 1"
--action addCapability --type "gitexecutable:Ant" --value "/zgitsshant" --agent "zcapabilities" --options name "sshz Ant"
--action addCapability --type "gitexecutable:Ant" --value "/zgitsshant" --options name "sshz Ant"
--action addCapability --type "jdkexecutable:Gradle Wrapper" --value "/jdkgw" --agent "zcapabilities" --name "z JDKGW"
--action addCapability --type "jdkexecutable:Gradle Wrapper" --value "/jdkgw" --name "z JDKGW"
addComment
--action addEnvironment --deploymentProject "Deploy ZDEPLOY1387773-BASE" --name "DEV"
--action addComment addCapability --build type "XXX-DEFgit" --comment "This is a comment added by automation"
--action addComment --build "XXX-DEF" --number "728" --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/data.txt" --findReplace "xxx:yyy"

addEnvironment

--action addEnvironment --deploymentProject "Deploy ZDEPLOY1387773value "/zgitssh" --agent "zcapabilities" --options "ssh"
--action addCapability --type "git" --value "/zgitssh" --options "ssh"
--action addCapability --type "jdk" --value "/jdk" --agent "zcapabilities" --name "z JDK"
--action addCapability --type "jdk" --value "/jdk" --name "z JDK"

addEnvironment

--action addEnvironment --deploymentProject "Deploy ZDEPLOY7160034-BASE" --name "DEV"
--action addEnvironment --deploymentProject "Deploy ZDEPLOY7160034-BASE" --name "QA" --description "Environment description"
--action addEnvironment --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1" --name "QA"

addEnvironmentNotification

--action addEnvironmentNotification --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "QA" --event "Deployment finished" --recipientType "CLI" --field "cliAction = -a getClientInfo"
--action addEnvironmentNotification --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "QA" --event "Deployment started and finished" --recipientType "CLI" --field "cliAction = -a getClientInfo"

addEnvironmentRequirement

--action addEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "QA" --requirement "system.builder.ant.Ant"
--action addEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "QA" --requirement "xxx" --type "EQUALS" --value "yyy"

addEnvironmentTask

--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "DEV" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit -99"
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "QA" --taskKey "GROOVY" --fields "label:Groovy,buildJdk:JDK,scriptLocation:INLINE" --field "scriptBody = 0"
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "QA" --taskKey "GROOVY" --fields "label:Groovy,buildJdk:JDK,scriptLocation:INLINE" --field "scriptBody = 1" --final
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "QA" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = sleep 10 && echo xxx > out.txt"
--action addEnvironmentTask --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1" --environment "QA" --taskKey "SCRIPT" --field1 scriptLocation --value1 INLINE --field2 scriptBody --value2 "echo xxx > out.txt"

addEnvironmentTrigger

--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "QA" --stage "FIRST" --type "After successful stage" --description "for branch" --branch "2.5.0" --verbose
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "QA" --type "After successful deployment" --triggeringEnvironment "DEV"
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "QA" --type "After successful stage" --stage "FIRST" --disable
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "QA" --type "AfterSuccessfulPlan"
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "QA" --type "Scheduled" --description "scheduled trigger" --schedule "1 0 0 ? * *"

addEnvironmentVariables

--action addEnvironmentVariables --deploymentProject "Deploy ZDEPLOY1387773ZDEPLOY7160034-BASE" --environment "QA" --fields "Zv.a:value a,Zv.b:value b" --field "Zv.1=value 1 13877737160034" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZPLANpassword=XXX" --replace

addGroup

--action addGroup --group "group1"
--action addGroup --group "group1" --continue

addJob

--action addJob --plan "ZCREATE1259671ZCREATE7018594-AA" --description "My job 1 description" --stage "My stage 1" --job "my job another"
--action addJob --plan "ZCREATE1259671ZCREATE7018594-AA" --job "REMOVE" --stage "My stage 1"
--action addJob --plan "ZCREATE1259671ZCREATE7018594-AA" --name "myjob 1" --stage "My stage 1" --job "myjob"
--action addJob --plan "ZCREATE1259671ZCREATE7018594-BB" --job "JOB" --stage "Stage 1"
--action addJob --plan "ZCREATE1259671ZCREATE7018594-CC" --job "JOBDocker" --stage "Default Stage" --type "Docker" --docker "myDocker"

addLabels

--action addLabels addJob --build plan "XXXZCREATE7310018-DEFAA" --labels "testlabel1, testlabel2"--action addLabels --build "XXX-DEF" --number -1description "My job 1 description" --stage "My stage 1" --job "my job another"
--action addLabels addJob --build plan "XXX-DEF" --number -1 --labels "testlabel1 testlabel2ZCREATE7310018-AA" --job "REMOVE" --stage "My stage 1"
--action addJob --plan "ZCREATE7310018-AA" --name "myjob 1" --stage "My stage 1" --job "myjob"
--action addLabels addJob --plan "ZCREATE7310018-BB" XXX--DEFjob "JOB" --labels stage "testlabel1 testlabel2Stage 1"
addRepository
--action addRepository addJob --name "global (delete me)plan "ZCREATE7310018-CC" --repositoryKey job "GITJOBDocker" --credentials stage "Default Stage" bitbucket -cloud-read-only-type "Docker" --continuedocker "myDocker"

addLabels

--action addRepository addLabels --name "global (delete me)build "XXX-DEF" --repositoryKey labels "GITtestlabel1, testlabel2"
--credentials "bitbucketaction addLabels -cloud-readbuild "XXX-onlyDEF" ---fields "number -1
--action addLabels --plan "XXX-DEF" --labels "testlabel1 testlabel2"

addRepository

--action addRepository --name "global (delete me)" --repositoryKey "GIT" --credentials "bitbucket-cloud-read-only" --continue
--action addRepository --name "global (delete me)" --repositoryKey "GIT" --credentials "bitbucket-cloud-read-only" --fields "repository.git.repositoryUrl:'https://bitbucket.org/bobswift/groovy',repository.git.branch:master,repository.git.commandTimeout:2,selectedWebRepositoryViewer:'bamboo.webrepositoryviewer.provided:noRepositoryViewer'"
--action addRepository --plan "ZBAMBOOCLI1169071ZBAMBOOCLI6938528-checkout1" --repositoryKey "GIT" --name "groovy" --credentials "bitbucket-cloud-read-only" --fields "repository.git.repositoryUrl:'https://bitbucket.org/bobswift/groovy',repository.git.branch:master,repository.git.commandTimeout:2,selectedWebRepositoryViewer:'bamboo.webrepositoryviewer.provided:noRepositoryViewer'"
--action addRepository --plan "ZCREATE1259671ZBAMBOOCLI7287023-AAcheckout1" --name repositoryKey "exampleGIT" --description name "examplegroovy"

addRequirement

--action addRequirement --plan "ZCLI-REQUIREMENTS" --job "JOB1credentials "bitbucket-cloud-read-only" --requirement "Ant"fields "repository.git.repositoryUrl:'https://bitbucket.org/bobswift/groovy',repository.git.branch:master,repository.git.commandTimeout:2,selectedWebRepositoryViewer:'bamboo.webrepositoryviewer.provided:noRepositoryViewer'"
--action addRepository --plan "ZCREATE7018594-AA" --name "example" --description "example"
--action addRepository --plan "ZCREATE7310018-AA" --name "example" --description "example"

addRequirement

--action addRequirement --plan "ZCLI-REQUIREMENTS" --job "JOB1" --requirement "Ant"
--action addRequirement --plan "ZCLI-REQUIREMENTS" --job "JOB1" --requirement "my-custom-requirement" --type "equal" --value "mine"
--action addRequirement --plan "ZCLI-REQUIREMENTS" --job "JOB1" --requirement "system.builder.groovy.Gradle"

addStage

--action addStage --plan "ZCREATE1259671ZCREATE7018594-AA" --name "My stage 2" --description "My stage description"
--action addStage --plan "ZCREATE1259671ZCREATE7018594-AA" --stage "My stage 1" --description "My stage description"
--action addStage --plan "ZCREATE1259671ZCREATE7018594-BB" --stage "Stage 1"
addTask
--action addTask addStage --file "plan "ZCREATE7310018-AA" --name "My stage 2" --description "My stage description"
--action addStage --plan "ZCREATE7310018-AA" --stage "My stage 1" --description "My stage description"
--action addStage --plan "ZCREATE7310018-BB" --stage "Stage 1"

addTask

--action addTask --file "build/output/tasks/script.txt" --plan "ZCLI-TASKS" --job "JOB" --taskKey "SCRIPT" --description "fileReference" --field "scriptLocation=INLINE" --field "scriptBody=@file"
--action addTask --plan "ZBAMBOOCLI1169071ZBAMBOOCLI6938528-checkout1" --job "JOB1" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} "
--action addTask --plan "ZBAMBOOCLI1169071ZBAMBOOCLI6938528-checkout1" --job "JOB1" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "task description" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} "
--action addTask --plan "ZCLIZBAMBOOCLI7287023-TASKScheckout1" --job "JOB2JOB1" --taskKey "ARTIFACT_DOWNLOADcom.atlassian.bamboo.plugins.scripttask:task.builder.script" --field "sourcePlanKey=ZCLI-TASKS"--action addTask --plan "ZCLI-TASKS" --job "JOB2" --taskKey "SSH" --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/sshkey" --field "host=build" --field "username_ssh_key=root" --field "authType=KEY" --field "private_key=@file" --field "command=bash script.sh" --field "sshAuthTypeSource=SSH"description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} "
--action addTask --plan "ZCREATE1259671ZBAMBOOCLI7287023-AAcheckout1" --job "myjobJOB1" --taskKey "SCRIPTcom.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "initial task description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field field1 "scriptLocation=" --value1 "INLINE" --field field2 "scriptBody = " --value2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} "
--action addTask --plan "ZCREATE1259671ZCLI-AATASKS" --job "myjobanotherJOB2" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvvARTIFACT_DOWNLOAD" --field "scriptLocationsourcePlanKey=INLINE" --field "scriptBody = echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} ZCLI-TASKS"
--action addTask --plan "ZCREATE1259671ZCLI-BBTASKS" --job "JOBJOB2" --description taskKey "FailSSH" --taskKey "SCRIPTfile "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/sshkey" --field "scriptLocation host= INLINEbuild" --field "scriptBody = exit 1username_ssh_key=root" --disable--action addTask --plan "ZCREATE1259671-BBfield "authType=KEY" --job "JOB" --description "Long" --taskKey "SCRIPT" field "private_key=@file" --field "scriptLocation = INLINEcommand=bash script.sh" --field "scriptBody = sleep 30s exit 1" --disablesshAuthTypeSource=SSH"
--action addTask --plan "ZCREATE1259671ZCREATE7018594-BBAA" --job "JOBmyjob" --taskKey "SCRIPT" --description "Successinitial description before update" --taskKey "SCRIPTfields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field "scriptLocation=INLINE" --field "scriptBody = exit 0echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} "
--action addTask --plan "ZEXPORT1164800ZCREATE7018594-ExportAA" --job "JOB1myjobanother" --taskKey "ARTIFACT_DOWNLOADcom.atlassian.bamboo.plugins.scripttask:task.builder.script" --field "sourcePlanKey=ZEXPORT1164800-Exportdescription "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field "scriptLocation=INLINE" --field "artifactId_1=out.txt"
addTrigger
scriptBody = echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} "
--action addTrigger addTask --plan "ZCREATE1259671ZCREATE7018594-AABB" --type job "PollingJOB" --action addTrigger --plan "ZCREATE1259671-AAdescription "Fail" --type taskKey "PollingSCRIPT" --description "polling trigger intervalfield "scriptLocation = INLINE" --repository "examplefield "scriptBody = exit 1" --schedule "3600"disable
--action addTrigger addTask --plan "ZCREATE1259671ZCREATE7018594-AABB" --type job "PollingJOB" --description "polling trigger scheduledLong" --repository taskKey "exampleSCRIPT" --schedule "2 0 0 ? * *"--action addTrigger --plan "ZCREATE1259671-AA" --type "Remote" --description "remote trigger restricted" --repository "example" --ipRestriction "172.16.9.25,172.16.9.26"field "scriptLocation = INLINE" --field "scriptBody = sleep 30s exit 1" --disable
--action addTrigger addTask --plan "ZCREATE1259671ZCREATE7018594-AABB" --type job "RemoteJOB" --description "remote triggerSuccess" --repository taskKey "exampleSCRIPT" --action addTrigger --plan "ZCREATE1259671-AAfield "scriptLocation = INLINE" --type "RemoteBitbucketServerfield "scriptBody = exit 0"
--action addTrigger addTask --plan "ZCREATE1259671ZCREATE7310018-AA" --type job "Scheduledmyjob" --description taskKey "scheduled triggerSCRIPT" --schedule "1 0 0 ? * *"
--action addTrigger --plan "ZCREATE1259671-AA" --type "Scheduled" --schedule "9:35" --successfulPlans "XXX-DEF,YYY-DEF"

addUser

--action addUser --userId "user1" --userEmail "automation+user1@appfire.com" --group "bamboo-admin" --continue
--action addUser --userId "user1" --userEmail "automation+user1@appfire.com" --userFullName "User 1" --group "bamboo-admin"

addVariables

--action addVariables --field "Zv.a=value a" --field "Zv.b=value b" --field "Zv.1=value 1 1404082" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZGLOBALpassword=XXX" --replace
--action addVariables --plan "ZCLI-VARIABLES" --field "Zv.a=value a" --field "Zv.b=value b" --field "Zv.1=value 1 1404082" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZPLANpassword=XXX" --replace
--action addVariables --project "ZCLI" --field "Zv.a=value a" --field "Zv.b=value b" --field "Zv.1=value 1 1404082" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZPLANpassword=XXX" --replace

addWebhookTemplate

--action addWebhookTemplate --name "ZZ" --data "{\"xxx\":\"yyy\"}" --replace

cloneEnvironment

--action cloneEnvironment --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA" --name "QACLONE" --description "clone of QA"

clonePlan

--action clonePlan --build "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlancheckout1.txt" --toPlan "ZBAMBOOCLI1169071-checkout1" --name "Clone of checkout1" --description "Created based on ZTEMPLATE-checkout1"
--action clonePlan --build "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlancheckout1Disable.txt" --toPlan "ZBAMBOOCLI1169071-checkout1Disable" --disable
--action clonePlan --build "ZTEMPLATE-notask" --file "build/output/bamboocli/clonePlannotask.txt" --toPlan "ZBAMBOOCLI1169071-notask" --name "Clone of notask" --description "Created based on ZTEMPLATE-notask"
--action clonePlan --build "ZTEMPLATE-notask" --file "build/output/bamboocli/clonePlannotaskDisable.txt" --toPlan "ZBAMBOOCLI1169071-notaskDisable" --disable
--action clonePlan --plan "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlanRemoveTesting.txt" --toPlan "ZBAMBOOCLI1169071-RemoveTesting" --name "Remove testing"

cloneProject

--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI1169071CLONE"
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI1169071CLONEDisable" --disable

createDeploymentProject

--action createDeploymentProject --plan "ZDEPLOY1387773-BASE" --name "Deploy ZDEPLOY1387773-BASE" --description "Description for deploy"
--action createDeploymentProject --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --name "Deploy ZTEMPLATE-CHECKOUT1"

createPlan

--action createPlan --plan "ZCREATE1259671-AA" --projectName "ZCREATE1259671 created project"
--action createPlan --plan "ZCREATE1259671-BB" --name "Simple plan BB" --description "Simple plan BB description"
--action createPlan --plan "ZCREATE1259671-CC" --options "addDefaultJob"

createProject

--action createProject --project "ZCREATE1259671" --name "ZCREATE1259671 created project"
--action createProject --project "ZDEVELOPER1145658SCRIPT" --name "Project created by script 1145658"
--action createProject --project "ZPROJECTS1481355" --name "zprojects1481355" --description "Project description"

deleteDeploymentProject

--action deleteDeploymentProject --deploymentProject "1234567890" --continue

deletePlan

--action deletePlan --plan "XXX-NOTFOUND" --continue

deleteProject

--action deleteProject --project "NOTFOUND" --continue

deployEnvironment

--action deployEnvironment --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA" --version "1.0.0" --replace
--action deployEnvironment --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA" --version "1.0.0" --wait
--action deployEnvironment --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1" --environment "QA" --version "1.0.0"

disableAgent

--action disableAgent --agent "Z Added 2"

disableJob

--action disableJob --plan "ZCREATE1259671-AA" --job "@all" --stage "My stage 1"
--action disableJob --plan "ZCREATE1259671-AA" --job "myjob"

disablePlan

--action disablePlan --build "ZBAMBOOCLI1169071-checkout1"
--action disablePlan --build "ZBAMBOOCLI1169071-notask"

disableProject

--action disableProject --project "ZBAMBOOCLI1169071"

enableAgent

--action enableAgent --agent "Z Added 2"

enableJob

--action enableJob --plan "ZCREATE1259671-AA" --job "MYJOB"
--action enableJob --plan "ZCREATE1259671-AA" --job "myjob"

enablePlan

--action enablePlan --build "ZBAMBOOCLI1169071-checkout1"
--action enablePlan --build "ZBAMBOOCLI1169071-notask"

enableProject

--action enableProject --project "ZBAMBOOCLI1169071"

exportDeploymentProject

--action exportDeploymentProject --file "build/output/deploy/exportDeploymentProject.txt" --deploymentProject "Deploy ZDEPLOY1387773-BASE" --dateFormat "yyyy.MM.dd"
--action exportDeploymentProject --file "build/output/deploy/exportDeploymentProjectJava.txt" --deploymentProject "Deploy ZDEPLOY1387773-BASE" --type "java" --dateFormat "yyyy.MM.dd"

exportEnvironment

--action exportEnvironment --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA" --dateFormat "yyyy-MM-dd"

exportJob

--action exportJob --plan "ZEXPORT1164800-Export" --job "JOB1" --dateFormat "yyyy-MM-dd"

exportPlan

--action exportPlan --file "build/output/export/exportPlanCli.txt" --plan "ZEXPORT1164800-Export" --dateFormat "yyyy-MM-dd"
--action exportPlan --file "build/output/export/exportPlanJava.txt" --plan "ZEXPORT1164800-Export" --type "java" --dateFormat "yyyy-MM-dd"
--action exportPlan --plan "ZBAMBOOCLI1169071-checkout1"
--action exportPlan --plan "ZCLI-REQUIREMENTS" --job "JOB1" --file "build/output/requirements/exportPlan.txt"
--action exportPlan --plan "ZEXPORT1164800-Export" --type "java"

getAgentAssignmentList

--action getAgentAssignmentList --agent "zdeploy" --regex ".*ZDEPLOY1387773.*"

getAgentList

--action getAgentList
--action getAgentList --excludeDisabled --outputFormat 2
--action getAgentList --outputFormat 2
--action getAgentList --outputFormat 999
--action getAgentList --regex "Z Added 3" --columns "id"

getArtifact

--action getArtifact --file "build/output/bamboocli/getArtifact.txt" --build "XXX-DEF" --artifact "license" --job "JOB1"
--action getArtifact --file "build/output/bamboocli/getArtifactJobAll.txt" --build "XXX-DEF" --artifact "license" --job "@ALL"
--action getArtifact --file "build/output/bamboocli/getArtifactWithPath.txt" --build "XXX-DEF" --artifact "src/test/gradle/cli.gradle" --replace
--action getArtifact --file "build/output/bamboocli/src" --build "XXX-DEF" --artifact "src" --replace --options "mkdir"
--action getArtifact --job "JOB1" --file "build/output/bamboocli/getArtifactWithResultName.txt" --build "XXX-DEF-728" --artifact "license"

getArtifactDefinitionList

--action getArtifactDefinitionList --plan "ZCREATE1259671-AA"

getArtifactDependencyList

--action getArtifactDependencyList --plan "ZCREATE1259671SCRIPT-PLAN"
--action getArtifactDependencyList --plan "ZCREATE1259671SCRIPT-PLAN" --job "TEST1"

getArtifactList

--action getArtifactList --build "XXX-DEF"
--action getArtifactList --build "XXX-DEF" --job "@all" --regex "lic.*"
--action getArtifactList --build "XXX-DEF" --job "JOB1"

getBranch

--action getBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0"
--action getBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "Release 2.6.0"

getBranchList

--action getBranchList --plan "ZTEMPLATE-CHECKOUT1"
--action getBranchList --plan "ZTEMPLATE-CHECKOUT1" --regex ".*2.5.0"

getBranchingOptions

--action getBranchingOptions --plan "ZCLI-BRANCHING"
--action getBranchingOptions --plan "ZCLI-BRANCHING" --verbose

getBuild

--action getBuild --build "XXX-DEF" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getBuild --build "XXX-DEF-728"
--action getBuild --build "ZCREATE1259671-BB-3" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS"

getBuildList

--action getBuildList --plan "ZCLI-BUILDLIST" --limit 1 --outputFormat 999 --issues "NOTFOUND-123"
--action getBuildList --plan "ZCLI-BUILDLIST" --limit 1 --outputFormat 999 --labels "not_found"
--action getBuildList --plan "ZCLI-BUILDLIST" --limit 1 --outputFormat 999 --labels "not_found,testlabel1"
--action getBuildList --plan "ZCLI-BUILDLIST" --outputFormat 999 --columns "plan,duration description,labels,issues"
--action getBuildList --plan "ZCREATE1259671-BB"
--action getBuildList --plan "ZCREATE1259671-BB" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --outputFormat 999 --columns "build,number,state,started,completed"
--action getBuildList --plan "ZCREATE1259671-BB" --field1 "STARTED" --value1 "2023-01-18T19:49:09.685+0000" --outputFormat 2 --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
--action getBuildList --plan "ZCREATE1259671-BB" --field1 "notState" --value1 "UNKNOWN"
--action getBuildList --plan "ZCREATE1259671-BB" --field1 "sTaTe" --value1 "successful"
--action getBuildList --plan "ZCREATE1259671-BB" --field1 "started" --value1 "-24h" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose
--action getBuildList --plan "ZCREATE1259671-BB" --field1 "started" --value1 "2023-01-18T19:47:39.677+0000" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
--action getBuildList --plan "ZCREATE1259671-BB" --field1 "started" --value1 "today" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose
--action getBuildList --plan "ZCREATE1259671-BB" --outputFormat 999
--action getBuildList --plan "ZCREATE1259671-BB" --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getBuildList --plan "ZCREATE1259671-EMPTY"
--action getBuildList --plan "ZLONGRUNNING-AA"

getBuildLog

--action getBuildLog --build "ZCREATE1259671-BB-JOB"
--action getBuildLog --build "ZCREATE1259671-BB-JOB" --findReplaceRegex ".*?\\t.*?\\t(.*):\$1"
--action getBuildLog --build "ZCREATE1259671-BB-JOB" --regex "command.*"
--action getBuildLog --plan "ZCREATE1259671-BB" --job "JOB" --limit 10

getBuildQueueList

--action getBuildQueueList
--action getBuildQueueList --plan "ZBUILDQUEUE-QUEUED"
--action getBuildQueueList --plan "ZBUILDQUEUE-QUEUED-JOB"
--action getBuildQueueList --project "ZBUILDQUEUE"
--action getBuildQueueList --regex "ZBUILDQUEUE.*"

getBuildReportList

--action getBuildReportList --list "ZCLI-BUILDLIST,XXX-DEF" --outputType "text" --columns "-1,2,3" --field "notState=UNKNOWN"
--action getBuildReportList --project "ZCLI"
--action getBuildReportList --project "ZCLI" --list "BUILDLIST" --outputType "text"

getCapabilityList

--action getCapabilityList
--action getCapabilityList --agent "@all"
--action getCapabilityList --agent "zcapabilities"
--action getCapabilityList --options "includeUnreferenced" --regex ".*Maven.*"

getClientInfo

--action getClientInfo

getCommentList

--action getCommentList --build "XXX-DEF" --number "728" --dateFormat "yyyy-MM-dd HH:mm:ss"

getDeploymentProject

--action getDeploymentProject --deploymentProject "Deploy ZDEPLOY1387773-BASE"

getDeploymentProjectList

--action getDeploymentProjectList

getEnvironment

--action getEnvironment --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA"

getEnvironmentList

--action getEnvironmentList --deploymentProject "Deploy ZDEPLOY1387773-BASE"

getEnvironmentNotificationList

--action getEnvironmentNotificationList --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA"

getEnvironmentRequirementList

--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA"
--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA" --id "171212917"

getEnvironmentTaskList

--action getEnvironmentTaskList --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA"

getEnvironmentTrigger

--action getEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA" --name "After successful deployment"
--action getEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA" --name "Scheduled"

getEnvironmentTriggerList

--action getEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA"

getEnvironmentVariableList

--action getEnvironmentVariableList --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA"

getJob

--action getJob --plan "ZCREATE1259671-CC" --job "JOB1"
--action getJob --plan "ZCREATE1259671-CC" --job "JOBDocker"

getJobList

--action getJobList --plan "ZCREATE1259671-AA" --job "@all" --stage "My stage 1" --columns "enabled,type"
--action getJobList --plan "ZCREATE1259671-CC"
--action getJobList --plan "ZCREATE1259671SCRIPT-PLAN"
--action getJobList --plan "ZCREATE1259671SCRIPT-PLAN" --regex "TEST2.*"
--action getJobList --plan "ZCREATE1259671SCRIPT-PLAN" --regex "TEST2.*" --columns "stage,job" --outputType "table"

getLabelList

--action getLabelList --build "XXX-DEF" --number -1
--action getLabelList --plan "XXX-DEF"

getLatestBuildNumber

--action getLatestBuildNumber --build "XXX-DEF"
--action getLatestBuildNumber --plan "ZLONGRUNNING-AA"

getNotificationList

--action getNotificationList --plan "ZCREATE1259671-NOTIFICATIONS"

getPlan

--action getPlan --plan "ZBAMBOOCLI1169071-checkout1" --verbose
--action getPlan --plan "ZBAMBOOCLI1169071-checkout1Disable"
--action getPlan --plan "ZBAMBOOCLI1169071CLONE-checkout1"
--action getPlan --project "ZBAMBOOCLI1169071CLONE" --plan "ZBAMBOOCLI1169071CLONE-CHECKOUT1"

getPlanList

--action getPlanList --project "@all" --excludeDisabled --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getPlanList --project "@all" --favorite
--action getPlanList --project "@all" --file "build/output/create/getPlanList.txt"
--action getPlanList --project "XXX" --excludeDisabled
--action getPlanList --project "XXX" --excludeEnabled
--action getPlanList --project "ZCREATE1259671SCRIPT"
--action getPlanList --project "ZCREATE1259671SCRIPT" --field1 "notstate" --value1 "successful"
--action getPlanList --project "ZCREATE1259671SCRIPT" --field1 "state" --value1 "failed"
--action getPlanList --project "ZMOVE1145482"
--action getPlanList --project "ZMOVE1145482XX"
--action getPlanList --project "ZTEMPLATE" --regex "ZTEMPLATE-CHECKOUT1.*" --options "includeBranchPlans"

getProject

--action getProject --project "ZPROJECTS1481355"

getProjectList

--action getProjectList
--action getProjectList --project "ZPROJECTS1481355"

getRepository

--action getRepository --plan "ZCREATE1259671-AA" --name "example"
--action getRepository --plan "ZTEMPLATE-checkout1" --repository "cli" --outputFormat 999

getRepositoryList

--action getRepositoryList
--action getRepositoryList --plan "ZBAMBOOCLI1169071-checkout1"
--action getRepositoryList --plan "ZCREATE1259671-RepositoryOrdering"

getRequirementList

--action getRequirementList --plan "ZCLI-REQUIREMENTS" --job "JOB1"

getServerInfo

--action getServerInfo
--action getServerInfo --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mm"
--action getServerInfo --outputFormat 999
--action getServerInfo --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getServerInfo --user "anonymous"

getStage

--action getStage --plan "ZCREATE1259671SCRIPT-PLAN" --stage "B updated"
--action getStage --plan "ZCREATE1259671SCRIPT-PLAN" --stage "B"

getStageList

--action getStageList --plan "ZCREATE1259671SCRIPT-PLAN"
--action getStageList --plan "ZCREATE1259671SCRIPT-PLAN" --regex "A.*"
--action getStageList --project "ZCREATE1259671SCRIPT" --plan "ZCREATE1259671SCRIPT-PLAN"

getTask

--action getTask --plan "ZCLI-TASKS" --job "JOB" --task "@all"
--action getTask --plan "ZCLI-TASKS" --job "JOB" --task "fileReference"
--action getTask --plan "ZCLI-TASKS" --job "JOB" --task 1

getTaskList

--action getTaskList --plan "ZCLI-TASKS" --job "JOB"
--action getTaskList --plan "ZCREATE1259671-BB" --job "JOB"

getTaskTypeList

--action getTaskTypeList

getTrigger

--action getTrigger --plan "ZCREATE1259671-AA" --name "Scheduled"

getTriggerList

--action getTriggerList --plan "ZCREATE1259671-AA"
--action getTriggerList --plan "ZCREATE1259671-AA" --regex ".*scheduled.*"

getUserList

--action getUserList
--action getUserList --group "bamboo-admin"
--action getUserList --regex "a.*" --limit 1

getVariableList

--action getVariableList
--action getVariableList --plan "ZCLI-VARIABLES"
--action getVariableList --project "ZCLI"

moveEnvironment

--action moveEnvironment --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "DEV" --after "QA"
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QACLONE"
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QACLONE" --after "@last"
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QACLONE" --after "DEV"
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QACLONE" --before "DEV"

moveJob

--action moveJob --plan "ZCREATE1259671SCRIPT-PLAN" --job "TEST2" --stage "B updated"
--action moveJob --plan "ZCREATE1259671SCRIPT-PLAN" --job "TEST2" --stage "C" --autoStage

movePlans

--action movePlans --plan "ZMOVE1145482-Base1" --toProject "ZMOVE1145482XX"
--action movePlans --project "ZMOVE1145482" --regex ".*[23]" --toProject "ZMOVE1145482XX"

moveStage

--action moveStage --plan "ZCREATE1259671SCRIPT-PLAN" --stage "A" --after "B updated"
--action moveStage --plan "ZCREATE1259671SCRIPT-PLAN" --stage "FIRST"

moveTask

--action moveTask --plan "ZCLI-TASKS" --job "JOB" --task "1" --final
--action moveTask --plan "ZCLI-TASKS" --job "JOB" --task "Script"
--action moveTask --plan "ZCLI-TASKS" --job "JOB" --task 3 --final --after 5

orderRepository

--action orderRepository --plan "ZCREATE1259671-RepositoryOrdering" --repository "example2"
--action orderRepository --plan "ZCREATE1259671-RepositoryOrdering" --repository "example2" --after "cli"

queueBuild

--action queueBuild --build "XXX-DEF" --wait
--action queueBuild --build "XXX-FAIL" --wait --continue
--action queueBuild --build "ZBAMBOOCLI1169071-checkout1" --wait --continue
--action queueBuild --build "ZBAMBOOCLI1169071-checkout1" --wait --timeout 90 --field "exitCode=0" --verbose
--action queueBuild --build "ZBAMBOOCLI1169071-checkout1" --wait --timeout 90 --fields "exitCode: 0" --verbose
--action queueBuild --build "ZBAMBOOCLI1169071-notask" --wait --continue
--action queueBuild --plan "ZCREATE1259671-BB" --continue
--action queueBuild --plan "ZCREATE1259671-BB" --field1 "started" --value1 "2023-01-18T19:47:39.677+0000" --field2 "state" --value2 "SUCCESSFUL"
--action queueBuild --plan "ZCREATE1259671-BB" --field1 "started" --value1 "XXX-DEF"
--action queueBuild --plan "ZCREATE1259671-BB" --field1 "started" --value1 "ZCREATE1259671-BB-1"
--action queueBuild --plan "ZCREATE1259671-BB" --wait --continue
--action queueBuild --plan "ZCREATE1259671-EMPTY" --wait --continue
--action queueBuild --plan "ZDEPLOY1387773-BASE" --wait
--action queueBuild --plan "ZLONGRUNNING-AA"
--action queueBuild --plan "ZLONGRUNNING-AA" --wait --stage "@all"
--action queueBuild --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --wait

queueBuildFromList

--action queueBuildFromList --list "ZCREATE1259671-BB" --field1 "started" --value1 "2023-01-18T19:47:39.677+0000"
--action queueBuildFromList --project "@all" --labels "NOT_FOUND" --simulate
--action queueBuildFromList --project "@all" --labels "testlabel1" --simulate

removeAgent

--action removeAgent --agent "Z Added 2"
--action removeAgent --agent "Z Added 2" --continue
--action removeAgent --id "171606031"
--action removeAgent --id "171606031" --continue

removeAgentAssignment

--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE1259671"
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE1259671-AA"
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE1259671-AA" --continue
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE1259671-AA-myJob"
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE1259671-AA-myJob" --continue

removeArtifact

--action removeArtifact --plan "ZCREATE1259671-AA" --job "MYJOB" --artifact "remove me"

removeBuildHistory

--action removeBuildHistory --build "ZCREATE1259671-BB" --number 1

removeEnvironmentNotification

--action removeEnvironmentNotification --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA" --event "Deployment started and finished" --recipientType "CLI"

removeEnvironmentRequirement

--action removeEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA" --id "171212917"

removeEnvironmentTask

--action removeEnvironmentTask --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA" --task "Artifact download"

removeEnvironmentVariables

--action removeEnvironmentVariables --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA" --field1 "@all"

removeJob

--action removeJob --plan "ZCREATE1259671-AA" --job "REMOVE"

removeLabels

--action removeLabels --build "XXX-DEF" --labels "test.*"
--action removeLabels --build "XXX-DEF" --number -1 --labels ".*"
--action removeLabels --build "XXX-DEF" --number -1 --labels "testlabel1, testlabel2, notfound" --continue
--action removeLabels --plan "XXX-DEF" --labels ".*"

removeRepository

--action removeRepository --id "170950742"
--action removeRepository --plan "ZBAMBOOCLI1169071-checkout1" --id "170950741"
--action removeRepository --plan "ZCREATE1259671SCRIPT-PLAN" --name "NOT_FOUND" --continue

removeTask

--action removeTask --plan "ZBAMBOOCLI1169071-RemoveTesting" --job "JOB1" --task "@all"
--action removeTask --plan "ZBAMBOOCLI1169071-checkout1" --job "JOB1" --id "2"

removeTrigger

--action removeTrigger --plan "ZCREATE1259671-AA" --id "-1"
--action removeTrigger --plan "ZCREATE1259671-AA" --id "2"
--action removeTrigger --plan "ZCREATE1259671-AA" --id "2" --continue
--action removeTrigger --plan "ZCREATE1259671-AA" --name "@all"
--action removeTrigger --plan "ZCREATE1259671-AA" --name "Repository polling"

removeUser

--action removeUser --userId "NOT_FOUND"

removeVariables

--action removeVariables --plan "ZCLI-VARIABLES" --field "@all"
--action removeVariables --project "ZCLI" --field "@all"

renderRequest

--action renderRequest --build "XXX-DEF" --file "build/output/render/renderRequestBuildNumber.txt" --number "726"
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "build/output/render/renderRequestConfig.txt" --url "/config"
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "build/output/render/renderRequestJob.txt"
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "build/output/render/renderRequestJobBuildNumber.txt" --number "726"
--action renderRequest --build "XXX-DEF-latest" --file "build/output/render/renderRequestBuild.txt"
--action renderRequest --build "XXX-DEF-latest" --file "build/output/render/renderRequestBuildLatest.txt"
--action renderRequest --deploymentProject "Deploy ZDEPLOY1387773-BASE" --url "rest/api/latest/permissions/deployment/@deploymentProjectId@/groups/developers" --requestType "PUT" --type "JSON" --data "[\"READ\", \"VIEWCONFIGURATION\", \"WRITE\"]"
--action renderRequest --file "build/output/create/verifyTriggers.txt" --url "chain/admin/config/editChainTriggers.action" --requestParameters "buildKey=ZCREATE1259671-AA"
--action renderRequest --file "build/output/render/renderRequestConfig2.txt" --url "/browse/XXX-DEF-JOB1/config"
--action renderRequest --plan "XXX-DEF" --file "build/output/render/renderRequestPlan.txt"
--action renderRequest --plan "XXX-DEF" --job "JOB1" --file "build/output/render/renderRequestPlanJob.txt"
--action renderRequest --plan "XXX-DEF" --job "JOB1" --file "build/output/render/renderRequestPlanJobNumber.txt" --number "726"
--action renderRequest --plan "ZBAMBOOCLI1169071-checkout1" --job "JOB1" --file "build/output/bamboocli/renderRequestBuildResultcheckout1.txt" --url "-2/log"
--action renderRequest --project "ZCREATE1259671" --url "rest/api/latest/permissions/projectplan/@project@/groups/developers" --requestType "PUT" --type "JSON" --data "[\"READ\", \"WRITE\", \"VIEWCONFIGURATION\", \"WRITE\", \"BUILD\", \"CLONE\", \"ADMINISTRATION\"]"
--action renderRequest --project "ZDEVELOPER1145658SCRIPT" --url "rest/api/latest/permissions/project/@project@/groups/developers" --requestType "PUT" --type "JSON" --data "[\"READ\", \"CREATE\"]"
--action renderRequest --url "rest/api/latest/admin/groups/developers/add-users" --requestType "POST" --type "JSON" --data "[\"developer\"]"
--action renderRequest --url "rest/api/latest/permissions/environment/171442199/groups/developers" --requestType "PUT" --type "JSON" --data "[\"READ\", \"WRITE\", \"BUILD\"]"
--action renderRequest --verbose --quiet --url "/chain/admin/config/editChainRepository.action?buildKey=XXX-DEF" --findReplaceRegex ".*(repositoryId=\\d+).*:\$1"

restartBuild

--action restartBuild --plan "ZLONGRUNNING-AA" --stage "@ALL" --wait
--action restartBuild --plan "ZLONGRUNNING-AA" --stage "THIRD" --wait
--action restartBuild --plan "ZLONGRUNNING-AA" --wait

run

--action run
--action run -i "-a getServerInfo --outputFormat 2 --outputType text" -i "-a getReplacementVariableList --outputType text"
--action run < /opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/run.txt
--action run --common "--deploymentProject \"Deploy ZDEPLOY1387773-BASE\" --environment QA" -i "-a addEnvironmentTask --taskKey SCRIPT --final --field scriptLocation=INLINE --field \"scriptBody=exit 0\"" -i "-a setReplacementVariables --field markId=@taskId@" -i "-a getEnvironmentTaskList --outputType text --columns id,name,taskkey,final,position " -i "-a addEnvironmentTask --taskKey SCRIPT --final --field scriptLocation=INLINE --field \"scriptBody=exit 0\"" -i "-a getEnvironmentTaskList --outputType text --columns id,name,taskkey,final,position" -i "-a moveEnvironmentTask --task @taskId@ --before @markId@ --final " -i "-a getEnvironmentTaskList --outputType text --columns id,name,taskkey,final,position"
--action run --common "--plan ZCLI-TASKSduplicate" --input "-a deletePlan --continue" --input "-a createPlan --repository example --options addDefaultJob" --input "-a addTask --job @job@ --taskKey CHECKOUT --field selectedRepository_0=defaultRepository" --input "-a exportJob --job @job@" --input "-a deletePlan --continue"
--action run --common "--plan ZCLI-TASKSnocheckout" --input "-a deletePlan --continue" --input "-a createPlan --repository example" --input "-a addStage --stage FIRST" --input "-a addJob --stage @stage@ --job AAA --options noCheckoutTask" --input "-a exportPlan" --input "-a deletePlan --continue"
--action run --common "--plan ZCLI-VARIABLES" --input "-a addVariables --field c1=aa1 --field c2=aa2 --replace" --input "-a copyVariables --toPlan ZCLI2-VARIABLES --replace" --input "-a getVariableList"
--action run --common "--project ZCLI" --input "-a addVariables --field c1=aa1 --field c2=aa2 --replace" --input "-a copyVariables --toProject ZCLI2 --replace" --input "-a getVariableList"
--action run --continue
--action run --continue --input "-a createPlan --plan ZCLI-EXAMPLES --repository example --replace --options addDefaultJob --options clear" --input "-a addVariables --plan @plan@ --field exitCode=0 --replace" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field \"scriptBody=exit 0\"" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field \"scriptBody=exit 1\" --field conditionalTask=true --field selectedCondition=com.atlassian.bamboo.plugins.bamboo-conditional-tasks:variableCondition --field task.condition.variable.name=exitCode --field task.condition.variable.operation=not_equals --field task.condition.variable.value.not_equals=0" --input "-a getReplacementVariableList --outputType text" --input "-a queueBuild --plan @plan@ --wait" --input "-a exportPlan --plan @plan@"
--action run --continue --input "-a deletePlan --plan ZCLI-EXAMPLES" --input "-a createPlan --plan ZCLI-EXAMPLES --repository example --replace --options addDefaultJob --options clear" --input "-a addVariables --plan @plan@ --field exitCode=0 --replace" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field \"scriptBody=exit 0\"" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field \"scriptBody=exit 1\" --field conditionalTask=true --field selectedCondition=com.atlassian.bamboo.plugins.bamboo-conditional-tasks:variableCondition --field task.condition.variable.name=exitCode --field task.condition.variable.operation=not_equals --field task.condition.variable.value.not_equals=0" --input "-a getReplacementVariableList --outputType text" --input "-a queueBuild --plan @plan@ --wait" --input "-a exportPlan --plan @plan@"
--action run --continue --input "-a queueBuild --wait --plan XXX-DEF" --input "-a runIf --regex FAILED --value @buildState@ --input \"-a queueBuild --wait --plan @build@\""
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/create-plan.txt" --findReplace "%PLAN%:ZCREATE1259671SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 1259671" --findReplace "%STAGE_DESCRIPTION%:First stage"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/developer.txt" --findReplace "%PLAN%:ZDEVELOPER1145658SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script by developer" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 1145658" --findReplace "%STAGE_DESCRIPTION%:First stage" --findReplace "%AGENT%:Z Added 1"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/exportPlanCli.txt" --type "cli" --findReplace "999999:11648000099" --dateFormat "yyyy-MM-dd"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/exportPlanNotifications.txt" --findReplace "%plan%:XXX-Notifications"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/renderRequest.txt" --findReplace "@build@:XXX-DEF"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/run.txt"
--action run --file "build/output/deploy/exportDeploymentProject.txt" --findReplace "--name \"Deploy ZDEPLOY1387773-BASE\":--name \"Import Deploy ZDEPLOY1387773-BASE\""
--action run --file "build/output/export/exportPlanCli.txt" --type "cli" --findReplace "1164800:116480000" --dateFormat "yyyy-MM-dd"
--action run --file "build/output/requirements/exportPlan.txt"
--action run --input "-a addVariables --field \"aaa=AAA\" --replace" --input "-a getVariableList --reference bamboo. -f \"\"" --input "-a getClientInfo --comment @bamboo.aaa@"
--action run --input "-a createPlan --plan ZBUILDARTIFACTS-AA --replace --options addDefaultJob" --input "-a addArtifact --plan @plan@ --job @job@ --artifact s1 --copyPattern s1.txt --shared --required" --input "-a addArtifact --plan @plan@ --job @job@ --artifact s2 --copyPattern s2.txt --shared --required" --input "-a addArtifact --plan @plan@ --job @job@ --artifact j1 --copyPattern j1.txt" --input "-a addArtifact --plan @plan@ --job @job@ --artifact j2 --copyPattern j2.txt" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=echo 'x' > s1.txt echo 'x' > s2.txt echo 'x' > j1.txt echo 'x' > j2.txt\" " --input "-a queueBuild --plan @plan@ --wait --reference firstBuild" --input "-a queueBuild --plan @plan@ --wait" --input "-a getArtifactList --build @build@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @plan@-JOB1 --columns producer,name,shared --outputType text" --input "-a removeBuildArtifacts --build @build@ --job JOB1" --input "-a getArtifactList --build @build@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @plan@-JOB1 --columns producer,name,shared --outputType text" --input "-a removeBuildArtifacts --build @build@" --input "-a getArtifactList --build @build@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @plan@-JOB1 --columns producer,name,shared --outputType text" --input "-a removeBuildHistory --build @build@" --input "-a removeBuildHistory --build @build@ --continue" --input "-a removeBuildArtifacts --build @firstBuild@" --input "-a getArtifactList --build @firstBuild@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @firstBuild@ --job JOB1 --columns producer,name,shared --outputType text"
--action run --input "-a createPlan --plan ZCLI-TASKS --replace" --input "-a addVariables --plan @plan@ --field exitCode --value 0" --input "-a addStage --plan @plan@ --stage FIRST" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB" --input " -a runFromList --list ,BBB,CCC,DDD,EEE --list2 ,--disable --common \"-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --description \"@entry@\" @entry2@ --field scriptLocation=INLINE --field scriptBody=xxx\" " --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --description FFF --field scriptLocation=INLINE --field scriptBody=xxx --final -v" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB2"
--action run --input "-a createPlan --plan ZCREATE1259671-RepositoryOrdering --repository example --options addDefaultJob,removeTrigger" --input "-a addRepository --plan @plan@ --name example2" --input "-a addRepository --plan @plan@ --name cli"
--action run --input "-a createPlan --plan ZEXPORT1164800-Export --description \"Export plan\" --replace --options addDefaultJob" --input "-a addRepository --plan @plan@ --repository cli" --input "-a addBranch --plan @plan@ --branch 2.5.0" --input "-a addVariables --plan @plan@ --field v1=xxx" --input "-a addTrigger --plan @plan@ --type scheduled --schedule 9:35" --input "-a addTrigger --plan @plan@ --type polling" --input "-a addTrigger --plan @plan@ --type remote" --input "-a addNotification --plan @plan@ --event \"All Builds Completed\" --recipientType user --field notificationUserString=automation" --input "-a addNotification --plan @plan@ --event \"All Builds Completed\" --recipientType webhook --recipient \"build webhook\" --url https://example.gear.com" --input "-a addArtifact --plan @plan@ --job @job@ --artifact out.txt --copyPattern out.txt --shared" --input "-a addArtifact --plan @plan@ --job @job@ --artifact out2.txt --copyPattern out2.txt --required" --input "-a addTask --plan @plan@ --job @job@ --taskKey CHECKOUT" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field \"scriptLocation = INLINE\" --field \"scriptBody = echo xxx > out.txt \\n echo yyy > out2.txt\"" --input "-a addTask --plan @plan@ --job @job@ --taskKey ARTIFACT_DOWNLOAD --field sourcePlanKey=@plan@ --field artifactId_1=out.txtdescription "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field "scriptLocation=INLINE" --field "scriptBody = echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} "
--action addTask --plan "ZCREATE7310018-AA" --job "myjobanother" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field "scriptLocation=INLINE" --field "scriptBody = echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} "
--action addTask --plan "ZCREATE7310018-BB" --job "JOB" --description "Fail" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 1" --disable
--action addTask --plan "ZCREATE7310018-BB" --job "JOB" --description "Long" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = sleep 30s exit 1" --disable
--action addTask --plan "ZCREATE7310018-BB" --job "JOB" --description "Success" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 0"
--action addTask --plan "ZEXPORT6934386-Export" --job "JOB1" --taskKey "ARTIFACT_DOWNLOAD" --field "sourcePlanKey=ZEXPORT6934386-Export" --field "artifactId_1=out.txt"

addTrigger

--action addTrigger --plan "ZCREATE7018594-AA" --type "Polling"
--action addTrigger --plan "ZCREATE7018594-AA" --type "Polling" --description "polling trigger interval" --repository "example" --schedule "3600"
--action addTrigger --plan "ZCREATE7018594-AA" --type "Polling" --description "polling trigger scheduled" --repository "example" --schedule "2 0 0 ? * *"
--action addTrigger --plan "ZCREATE7018594-AA" --type "Remote" --description "remote trigger restricted" --repository "example" --ipRestriction "172.16.9.25,172.16.9.26"
--action addTrigger --plan "ZCREATE7018594-AA" --type "Remote" --description "remote trigger" --repository "example"
--action addTrigger --plan "ZCREATE7018594-AA" --type "RemoteBitbucketServer"
--action addTrigger --plan "ZCREATE7018594-AA" --type "Scheduled" --description "scheduled trigger" --schedule "1 0 0 ? * *"
--action addTrigger --plan "ZCREATE7018594-AA" --type "Scheduled" --schedule "9:35" --successfulPlans "XXX-DEF,YYY-DEF"
--action addTrigger --plan "ZCREATE7310018-AA" --type "Polling"
--action addTrigger --plan "ZCREATE7310018-AA" --type "Polling" --description "polling trigger interval" --repository "example" --schedule "3600"
--action addTrigger --plan "ZCREATE7310018-AA" --type "Polling" --description "polling trigger scheduled" --repository "example" --schedule "2 0 0 ? * *"
--action addTrigger --plan "ZCREATE7310018-AA" --type "Remote" --description "remote trigger restricted" --repository "example" --ipRestriction "172.16.9.25,172.16.9.26"
--action addTrigger --plan "ZCREATE7310018-AA" --type "Remote" --description "remote trigger" --repository "example"
--action addTrigger --plan "ZCREATE7310018-AA" --type "RemoteBitbucketServer"
--action addTrigger --plan "ZCREATE7310018-AA" --type "Scheduled" --description "scheduled trigger" --schedule "1 0 0 ? * *"
--action addTrigger --plan "ZCREATE7310018-AA" --type "Scheduled" --schedule "9:35" --successfulPlans "XXX-DEF,YYY-DEF"

addUser

--action addUser --userId "user1" --userEmail "automation+user1@appfire.com" --group "bamboo-admin" --continue
--action addUser --userId "user1" --userEmail "automation+user1@appfire.com" --userFullName "User 1" --group "bamboo-admin"

addVariables

--action addVariables --field "Zv.a=value a" --field "Zv.b=value b" --field "Zv.1=value 1 7191329" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZGLOBALpassword=XXX" --replace
--action addVariables --plan "ZCLI-VARIABLES" --field "Zv.a=value a" --field "Zv.b=value b" --field "Zv.1=value 1 7191329" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZPLANpassword=XXX" --replace
--action addVariables --project "ZCLI" --field "Zv.a=value a" --field "Zv.b=value b" --field "Zv.1=value 1 7191329" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZPLANpassword=XXX" --replace

addWebhookTemplate

--action addWebhookTemplate --name "ZZ" --data "{\"xxx\":\"yyy\"}" --replace

cloneEnvironment

--action cloneEnvironment --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --name "QACLONE" --description "clone of QA"

clonePlan

--action clonePlan --build "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlancheckout1.txt" --toPlan "ZBAMBOOCLI6938528-checkout1" --name "Clone of checkout1" --description "Created based on ZTEMPLATE-checkout1"
--action clonePlan --build "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlancheckout1.txt" --toPlan "ZBAMBOOCLI7287023-checkout1" --name "Clone of checkout1" --description "Created based on ZTEMPLATE-checkout1"
--action clonePlan --build "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlancheckout1Disable.txt" --toPlan "ZBAMBOOCLI6938528-checkout1Disable" --disable
--action clonePlan --build "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlancheckout1Disable.txt" --toPlan "ZBAMBOOCLI7287023-checkout1Disable" --disable
--action clonePlan --build "ZTEMPLATE-notask" --file "build/output/bamboocli/clonePlannotask.txt" --toPlan "ZBAMBOOCLI6938528-notask" --name "Clone of notask" --description "Created based on ZTEMPLATE-notask"
--action clonePlan --build "ZTEMPLATE-notask" --file "build/output/bamboocli/clonePlannotask.txt" --toPlan "ZBAMBOOCLI7287023-notask" --name "Clone of notask" --description "Created based on ZTEMPLATE-notask"
--action clonePlan --build "ZTEMPLATE-notask" --file "build/output/bamboocli/clonePlannotaskDisable.txt" --toPlan "ZBAMBOOCLI6938528-notaskDisable" --disable
--action clonePlan --build "ZTEMPLATE-notask" --file "build/output/bamboocli/clonePlannotaskDisable.txt" --toPlan "ZBAMBOOCLI7287023-notaskDisable" --disable
--action clonePlan --plan "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlanRemoveTesting.txt" --toPlan "ZBAMBOOCLI6938528-RemoveTesting" --name "Remove testing"
--action clonePlan --plan "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlanRemoveTesting.txt" --toPlan "ZBAMBOOCLI7287023-RemoveTesting" --name "Remove testing"

cloneProject

--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI6938528CLONE"
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI6938528CLONEDisable" --disable
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI7287023CLONE"
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI7287023CLONEDisable" --disable

createDeploymentProject

--action createDeploymentProject --plan "ZDEPLOY7160034-BASE" --name "Deploy ZDEPLOY7160034-BASE" --description "Description for deploy"
--action createDeploymentProject --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --name "Deploy ZTEMPLATE-CHECKOUT1"

createPlan

--action createPlan --plan "ZCREATE7018594-AA" --projectName "ZCREATE7018594 created project"
--action createPlan --plan "ZCREATE7018594-BB" --name "Simple plan BB" --description "Simple plan BB description"
--action createPlan --plan "ZCREATE7018594-CC" --options "addDefaultJob"
--action createPlan --plan "ZCREATE7310018-AA" --projectName "ZCREATE7310018 created project"
--action createPlan --plan "ZCREATE7310018-BB" --name "Simple plan BB" --description "Simple plan BB description"
--action createPlan --plan "ZCREATE7310018-CC" --options "addDefaultJob"

createProject

--action createProject --project "ZCREATE7018594" --name "ZCREATE7018594 created project"
--action createProject --project "ZCREATE7310018" --name "ZCREATE7310018 created project"
--action createProject --project "ZDEVELOPER6916554SCRIPT" --name "Project created by script 6916554"
--action createProject --project "ZPROJECTS7255185" --name "zprojects7255185" --description "Project description"

deleteDeploymentProject

--action deleteDeploymentProject --deploymentProject "1234567890" --continue

deletePlan

--action deletePlan --plan "XXX-NOTFOUND" --continue

deleteProject

--action deleteProject --project "NOTFOUND" --continue

deployEnvironment

--action deployEnvironment --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --version "1.0.0" --replace
--action deployEnvironment --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --version "1.0.0" --wait
--action deployEnvironment --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1" --environment "QA" --version "1.0.0"

disableAgent

--action disableAgent --agent "Z Added 2"

disableJob

--action disableJob --plan "ZCREATE7018594-AA" --job "@all" --stage "My stage 1"
--action disableJob --plan "ZCREATE7018594-AA" --job "myjob"
--action disableJob --plan "ZCREATE7310018-AA" --job "@all" --stage "My stage 1"
--action disableJob --plan "ZCREATE7310018-AA" --job "myjob"

disablePlan

--action disablePlan --build "ZBAMBOOCLI6938528-checkout1"
--action disablePlan --build "ZBAMBOOCLI6938528-notask"
--action disablePlan --build "ZBAMBOOCLI7287023-checkout1"
--action disablePlan --build "ZBAMBOOCLI7287023-notask"

disableProject

--action disableProject --project "ZBAMBOOCLI6938528"
--action disableProject --project "ZBAMBOOCLI7287023"

enableAgent

--action enableAgent --agent "Z Added 2"

enableJob

--action enableJob --plan "ZCREATE7018594-AA" --job "MYJOB"
--action enableJob --plan "ZCREATE7018594-AA" --job "myjob"
--action enableJob --plan "ZCREATE7310018-AA" --job "MYJOB"
--action enableJob --plan "ZCREATE7310018-AA" --job "myjob"

enablePlan

--action enablePlan --build "ZBAMBOOCLI6938528-checkout1"
--action enablePlan --build "ZBAMBOOCLI6938528-notask"
--action enablePlan --build "ZBAMBOOCLI7287023-checkout1"
--action enablePlan --build "ZBAMBOOCLI7287023-notask"

enableProject

--action enableProject --project "ZBAMBOOCLI6938528"
--action enableProject --project "ZBAMBOOCLI7287023"

exportDeploymentProject

--action exportDeploymentProject --file "build/output/deploy/exportDeploymentProject.txt" --deploymentProject "Deploy ZDEPLOY7160034-BASE" --dateFormat "yyyy.MM.dd"
--action exportDeploymentProject --file "build/output/deploy/exportDeploymentProjectJava.txt" --deploymentProject "Deploy ZDEPLOY7160034-BASE" --type "java" --dateFormat "yyyy.MM.dd"

exportEnvironment

--action exportEnvironment --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --dateFormat "yyyy-MM-dd"

exportJob

--action exportJob --plan "ZEXPORT6934386-Export" --job "JOB1" --dateFormat "yyyy-MM-dd"

exportPlan

--action exportPlan --file "build/output/export/exportPlanCli.txt" --plan "ZEXPORT6934386-Export" --dateFormat "yyyy-MM-dd"
--action exportPlan --file "build/output/export/exportPlanJava.txt" --plan "ZEXPORT6934386-Export" --type "java" --dateFormat "yyyy-MM-dd"
--action exportPlan --plan "ZBAMBOOCLI6938528-checkout1"
--action exportPlan --plan "ZBAMBOOCLI7287023-checkout1"
--action exportPlan --plan "ZCLI-REQUIREMENTS" --job "JOB1" --file "build/output/requirements/exportPlan.txt"
--action exportPlan --plan "ZEXPORT6934386-Export" --type "java"

getAgentAssignmentList

--action getAgentAssignmentList --agent "zdeploy" --regex ".*ZDEPLOY7160034.*"

getAgentList

--action getAgentList
--action getAgentList --excludeDisabled --outputFormat 2
--action getAgentList --outputFormat 2
--action getAgentList --outputFormat 999
--action getAgentList --regex "Z Added 3" --columns "id"

getArtifactDefinitionList

--action getArtifactDefinitionList --plan "ZCREATE7018594-AA"
--action getArtifactDefinitionList --plan "ZCREATE7310018-AA"

getArtifactDependencyList

--action getArtifactDependencyList --plan "ZCREATE7018594SCRIPT-PLAN"
--action getArtifactDependencyList --plan "ZCREATE7018594SCRIPT-PLAN" --job "TEST1"
--action getArtifactDependencyList --plan "ZCREATE7310018SCRIPT-PLAN"
--action getArtifactDependencyList --plan "ZCREATE7310018SCRIPT-PLAN" --job "TEST1"

getBranch

--action getBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0"
--action getBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "Release 2.6.0"

getBranchList

--action getBranchList --plan "ZTEMPLATE-CHECKOUT1"
--action getBranchList --plan "ZTEMPLATE-CHECKOUT1" --regex ".*2.5.0"

getBranchingOptions

--action getBranchingOptions --plan "ZCLI-BRANCHING"
--action getBranchingOptions --plan "ZCLI-BRANCHING" --verbose

getBuild

--action getBuild --build "XXX-DEF" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getBuild --build "ZCREATE7018594-BB-3" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS"
--action getBuild --build "ZCREATE7310018-BB-3" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS"

getBuildList

--action getBuildList --plan "ZCLI-BUILDLIST" --limit 1 --outputFormat 999 --issues "NOTFOUND-123"
--action getBuildList --plan "ZCLI-BUILDLIST" --limit 1 --outputFormat 999 --labels "not_found"
--action getBuildList --plan "ZCLI-BUILDLIST" --limit 1 --outputFormat 999 --labels "not_found,testlabel1"
--action getBuildList --plan "ZCLI-BUILDLIST" --outputFormat 999 --columns "plan,duration description,labels,issues"
--action getBuildList --plan "ZCREATE7018594-BB"
--action getBuildList --plan "ZCREATE7018594-BB" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --outputFormat 999 --columns "build,number,state,started,completed"
--action getBuildList --plan "ZCREATE7018594-BB" --field1 "STARTED" --value1 "2023-04-11T18:18:34.356+0000" --outputFormat 2 --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
--action getBuildList --plan "ZCREATE7018594-BB" --field1 "notState" --value1 "UNKNOWN"
--action getBuildList --plan "ZCREATE7018594-BB" --field1 "sTaTe" --value1 "successful"
--action getBuildList --plan "ZCREATE7018594-BB" --field1 "started" --value1 "-24h" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose
--action getBuildList --plan "ZCREATE7018594-BB" --field1 "started" --value1 "2023-04-11T18:16:58.599+0000" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
--action getBuildList --plan "ZCREATE7018594-BB" --field1 "started" --value1 "today" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose
--action getBuildList --plan "ZCREATE7018594-BB" --outputFormat 999
--action getBuildList --plan "ZCREATE7018594-BB" --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getBuildList --plan "ZCREATE7018594-EMPTY"
--action getBuildList --plan "ZCREATE7310018-BB"
--action getBuildList --plan "ZCREATE7310018-BB" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --outputFormat 999 --columns "build,number,state,started,completed"
--action getBuildList --plan "ZCREATE7310018-BB" --field1 "STARTED" --value1 "2023-04-11T18:23:44.001+0000" --outputFormat 2 --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
--action getBuildList --plan "ZCREATE7310018-BB" --field1 "notState" --value1 "UNKNOWN"
--action getBuildList --plan "ZCREATE7310018-BB" --field1 "sTaTe" --value1 "successful"
--action getBuildList --plan "ZCREATE7310018-BB" --field1 "started" --value1 "-24h" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose
--action getBuildList --plan "ZCREATE7310018-BB" --field1 "started" --value1 "2023-04-11T18:21:50.019+0000" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
--action getBuildList --plan "ZCREATE7310018-BB" --field1 "started" --value1 "today" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose
--action getBuildList --plan "ZCREATE7310018-BB" --outputFormat 999
--action getBuildList --plan "ZCREATE7310018-BB" --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getBuildList --plan "ZCREATE7310018-EMPTY"
--action getBuildList --plan "ZLONGRUNNING-AA"

getBuildLog

--action getBuildLog --build "ZCREATE7018594-BB-JOB"
--action getBuildLog --build "ZCREATE7018594-BB-JOB" --findReplaceRegex ".*?\\t.*?\\t(.*):\$1"
--action getBuildLog --build "ZCREATE7018594-BB-JOB" --regex "command.*"
--action getBuildLog --build "ZCREATE7310018-BB-JOB"
--action getBuildLog --build "ZCREATE7310018-BB-JOB" --findReplaceRegex ".*?\\t.*?\\t(.*):\$1"
--action getBuildLog --build "ZCREATE7310018-BB-JOB" --regex "command.*"
--action getBuildLog --plan "ZCREATE7018594-BB" --job "JOB" --limit 10
--action getBuildLog --plan "ZCREATE7310018-BB" --job "JOB" --limit 10

getBuildQueueList

--action getBuildQueueList
--action getBuildQueueList --plan "ZBUILDQUEUE-QUEUED"
--action getBuildQueueList --plan "ZBUILDQUEUE-QUEUED-JOB"
--action getBuildQueueList --project "ZBUILDQUEUE"
--action getBuildQueueList --regex "ZBUILDQUEUE.*"

getBuildReportList

--action getBuildReportList --list "ZCLI-BUILDLIST,XXX-DEF" --outputType "text" --columns "-1,2,3" --field "notState=UNKNOWN"
--action getBuildReportList --project "ZCLI"
--action getBuildReportList --project "ZCLI" --list "BUILDLIST" --outputType "text"

getCapabilityList

--action getCapabilityList
--action getCapabilityList --agent "@all"
--action getCapabilityList --agent "zcapabilities"
--action getCapabilityList --options "includeUnreferenced" --regex ".*Maven.*"

getClientInfo

--action getClientInfo

getDeploymentProject

--action getDeploymentProject --deploymentProject "Deploy ZDEPLOY7160034-BASE"

getDeploymentProjectList

--action getDeploymentProjectList

getEnvironment

--action getEnvironment --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA"

getEnvironmentList

--action getEnvironmentList --deploymentProject "Deploy ZDEPLOY7160034-BASE"

getEnvironmentNotificationList

--action getEnvironmentNotificationList --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA"

getEnvironmentRequirementList

--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA"
--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --id "176226941"

getEnvironmentTaskList

--action getEnvironmentTaskList --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA"

getEnvironmentTrigger

--action getEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --name "After successful deployment"
--action getEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --name "Scheduled"

getEnvironmentTriggerList

--action getEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA"

getEnvironmentVariableList

--action getEnvironmentVariableList --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA"

getJob

--action getJob --plan "ZCREATE7018594-CC" --job "JOB1"
--action getJob --plan "ZCREATE7018594-CC" --job "JOBDocker"
--action getJob --plan "ZCREATE7310018-CC" --job "JOB1"
--action getJob --plan "ZCREATE7310018-CC" --job "JOBDocker"

getJobList

--action getJobList --plan "ZCREATE7018594-AA" --job "@all" --stage "My stage 1" --columns "enabled,type"
--action getJobList --plan "ZCREATE7018594-CC"
--action getJobList --plan "ZCREATE7018594SCRIPT-PLAN"
--action getJobList --plan "ZCREATE7018594SCRIPT-PLAN" --regex "TEST2.*"
--action getJobList --plan "ZCREATE7018594SCRIPT-PLAN" --regex "TEST2.*" --columns "stage,job" --outputType "table"
--action getJobList --plan "ZCREATE7310018-AA" --job "@all" --stage "My stage 1" --columns "enabled,type"
--action getJobList --plan "ZCREATE7310018-CC"
--action getJobList --plan "ZCREATE7310018SCRIPT-PLAN"
--action getJobList --plan "ZCREATE7310018SCRIPT-PLAN" --regex "TEST2.*"
--action getJobList --plan "ZCREATE7310018SCRIPT-PLAN" --regex "TEST2.*" --columns "stage,job" --outputType "table"

getLabelList

--action getLabelList --plan "XXX-DEF"

getLatestBuildNumber

--action getLatestBuildNumber --plan "ZLONGRUNNING-AA"

getNotificationList

--action getNotificationList --plan "ZCREATE7018594-NOTIFICATIONS"
--action getNotificationList --plan "ZCREATE7310018-NOTIFICATIONS"

getPlan

--action getPlan --plan "ZBAMBOOCLI6938528-checkout1" --verbose
--action getPlan --plan "ZBAMBOOCLI6938528-checkout1Disable"
--action getPlan --plan "ZBAMBOOCLI6938528CLONE-checkout1"
--action getPlan --plan "ZBAMBOOCLI7287023-checkout1" --verbose
--action getPlan --plan "ZBAMBOOCLI7287023-checkout1Disable"
--action getPlan --plan "ZBAMBOOCLI7287023CLONE-checkout1"
--action getPlan --project "ZBAMBOOCLI6938528CLONE" --plan "ZBAMBOOCLI6938528CLONE-CHECKOUT1"
--action getPlan --project "ZBAMBOOCLI7287023CLONE" --plan "ZBAMBOOCLI7287023CLONE-CHECKOUT1"

getPlanList

--action getPlanList --project "@all" --favorite
--action getPlanList --project "@all" --file "build/output/create/getPlanList.txt"
--action getPlanList --project "XXX" --excludeDisabled
--action getPlanList --project "XXX" --excludeEnabled
--action getPlanList --project "ZCREATE7018594SCRIPT"
--action getPlanList --project "ZCREATE7018594SCRIPT" --field1 "notstate" --value1 "successful"
--action getPlanList --project "ZCREATE7018594SCRIPT" --field1 "state" --value1 "failed"
--action getPlanList --project "ZCREATE7310018SCRIPT"
--action getPlanList --project "ZCREATE7310018SCRIPT" --field1 "notstate" --value1 "successful"
--action getPlanList --project "ZCREATE7310018SCRIPT" --field1 "state" --value1 "failed"
--action getPlanList --project "ZMOVE6916845"
--action getPlanList --project "ZMOVE6916845XX"
--action getPlanList --project "ZTEMPLATE" --regex "ZTEMPLATE-CHECKOUT1.*" --options "includeBranchPlans"

getProject

--action getProject --project "ZPROJECTS7255185"

getProjectList

--action getProjectList
--action getProjectList --project "ZPROJECTS7255185"

getRepository

--action getRepository --plan "ZCREATE7018594-AA" --name "example"
--action getRepository --plan "ZCREATE7310018-AA" --name "example"
--action getRepository --plan "ZTEMPLATE-checkout1" --repository "cli" --outputFormat 999

getRepositoryList

--action getRepositoryList
--action getRepositoryList --plan "ZBAMBOOCLI6938528-checkout1"
--action getRepositoryList --plan "ZBAMBOOCLI7287023-checkout1"
--action getRepositoryList --plan "ZCREATE7018594-RepositoryOrdering"
--action getRepositoryList --plan "ZCREATE7310018-RepositoryOrdering"

getRequirementList

--action getRequirementList --plan "ZCLI-REQUIREMENTS" --job "JOB1"

getServerInfo

--action getServerInfo
--action getServerInfo --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mm"
--action getServerInfo --outputFormat 999
--action getServerInfo --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getServerInfo --user "anonymous"

getStage

--action getStage --plan "ZCREATE7018594SCRIPT-PLAN" --stage "B updated"
--action getStage --plan "ZCREATE7018594SCRIPT-PLAN" --stage "B"
--action getStage --plan "ZCREATE7310018SCRIPT-PLAN" --stage "B updated"
--action getStage --plan "ZCREATE7310018SCRIPT-PLAN" --stage "B"

getStageList

--action getStageList --plan "ZCREATE7018594SCRIPT-PLAN"
--action getStageList --plan "ZCREATE7018594SCRIPT-PLAN" --regex "A.*"
--action getStageList --plan "ZCREATE7310018SCRIPT-PLAN"
--action getStageList --plan "ZCREATE7310018SCRIPT-PLAN" --regex "A.*"
--action getStageList --project "ZCREATE7018594SCRIPT" --plan "ZCREATE7018594SCRIPT-PLAN"
--action getStageList --project "ZCREATE7310018SCRIPT" --plan "ZCREATE7310018SCRIPT-PLAN"

getTask

--action getTask --plan "ZCLI-TASKS" --job "JOB" --task "@all"
--action getTask --plan "ZCLI-TASKS" --job "JOB" --task "fileReference"
--action getTask --plan "ZCLI-TASKS" --job "JOB" --task 1

getTaskList

--action getTaskList --plan "ZCLI-TASKS" --job "JOB"
--action getTaskList --plan "ZCREATE7018594-BB" --job "JOB"
--action getTaskList --plan "ZCREATE7310018-BB" --job "JOB"

getTaskTypeList

--action getTaskTypeList
--action getTaskTypeList --regex "((.*Checkout)|(com.atlassian.bamboo.plugins.scripttask:task.builder.script))" --columns "name,key"

getTrigger

--action getTrigger --plan "ZCREATE7018594-AA" --name "Scheduled"
--action getTrigger --plan "ZCREATE7310018-AA" --name "Scheduled"

getTriggerList

--action getTriggerList --plan "ZCREATE7018594-AA"
--action getTriggerList --plan "ZCREATE7018594-AA" --regex ".*scheduled.*"
--action getTriggerList --plan "ZCREATE7310018-AA"
--action getTriggerList --plan "ZCREATE7310018-AA" --regex ".*scheduled.*"

getUserList

--action getUserList
--action getUserList --group "bamboo-admin"
--action getUserList --regex "a.*" --limit 1

getVariableList

--action getVariableList
--action getVariableList --plan "ZCLI-VARIABLES"
--action getVariableList --project "ZCLI"

moveEnvironment

--action moveEnvironment --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "DEV" --after "QA"
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QACLONE"
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QACLONE" --after "@last"
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QACLONE" --after "DEV"
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QACLONE" --before "DEV"

moveJob

--action moveJob --plan "ZCREATE7018594SCRIPT-PLAN" --job "TEST2" --stage "B updated"
--action moveJob --plan "ZCREATE7018594SCRIPT-PLAN" --job "TEST2" --stage "C" --autoStage
--action moveJob --plan "ZCREATE7310018SCRIPT-PLAN" --job "TEST2" --stage "B updated"
--action moveJob --plan "ZCREATE7310018SCRIPT-PLAN" --job "TEST2" --stage "C" --autoStage

movePlans

--action movePlans --plan "ZMOVE6916845-Base1" --toProject "ZMOVE6916845XX"
--action movePlans --project "ZMOVE6916845" --regex ".*[23]" --toProject "ZMOVE6916845XX"

moveStage

--action moveStage --plan "ZCREATE7018594SCRIPT-PLAN" --stage "A" --after "B updated"
--action moveStage --plan "ZCREATE7018594SCRIPT-PLAN" --stage "FIRST"
--action moveStage --plan "ZCREATE7310018SCRIPT-PLAN" --stage "A" --after "B updated"
--action moveStage --plan "ZCREATE7310018SCRIPT-PLAN" --stage "FIRST"

moveTask

--action moveTask --plan "ZCLI-TASKS" --job "JOB" --task "1" --final
--action moveTask --plan "ZCLI-TASKS" --job "JOB" --task "Script"
--action moveTask --plan "ZCLI-TASKS" --job "JOB" --task 3 --final --after 5

orderRepository

--action orderRepository --plan "ZCREATE7018594-RepositoryOrdering" --repository "example2"
--action orderRepository --plan "ZCREATE7018594-RepositoryOrdering" --repository "example2" --after "cli"
--action orderRepository --plan "ZCREATE7310018-RepositoryOrdering" --repository "example2"
--action orderRepository --plan "ZCREATE7310018-RepositoryOrdering" --repository "example2" --after "cli"

queueBuild

--action queueBuild --build "XXX-FAIL" --wait --continue
--action queueBuild --build "ZBAMBOOCLI6938528-checkout1" --wait --continue
--action queueBuild --build "ZBAMBOOCLI6938528-checkout1" --wait --timeout 90 --field "exitCode=0" --verbose
--action queueBuild --build "ZBAMBOOCLI6938528-checkout1" --wait --timeout 90 --fields "exitCode: 0" --verbose
--action queueBuild --build "ZBAMBOOCLI6938528-notask" --wait --continue
--action queueBuild --build "ZBAMBOOCLI7287023-checkout1" --wait --continue
--action queueBuild --build "ZBAMBOOCLI7287023-checkout1" --wait --timeout 90 --field "exitCode=0" --verbose
--action queueBuild --build "ZBAMBOOCLI7287023-checkout1" --wait --timeout 90 --fields "exitCode: 0" --verbose
--action queueBuild --build "ZBAMBOOCLI7287023-notask" --wait --continue
--action queueBuild --plan "ZCREATE7018594-BB" --continue
--action queueBuild --plan "ZCREATE7018594-BB" --field1 "started" --value1 "2023-04-11T18:16:58.599+0000" --field2 "state" --value2 "SUCCESSFUL"
--action queueBuild --plan "ZCREATE7018594-BB" --field1 "started" --value1 "ZCREATE7018594-BB-1"
--action queueBuild --plan "ZCREATE7018594-BB" --wait --continue
--action queueBuild --plan "ZCREATE7018594-EMPTY" --wait --continue
--action queueBuild --plan "ZCREATE7310018-BB" --continue
--action queueBuild --plan "ZCREATE7310018-BB" --field1 "started" --value1 "2023-04-11T18:21:50.019+0000" --field2 "state" --value2 "SUCCESSFUL"
--action queueBuild --plan "ZCREATE7310018-BB" --field1 "started" --value1 "ZCREATE7310018-BB-1"
--action queueBuild --plan "ZCREATE7310018-BB" --wait --continue
--action queueBuild --plan "ZCREATE7310018-EMPTY" --wait --continue
--action queueBuild --plan "ZDEPLOY7160034-BASE" --wait
--action queueBuild --plan "ZLONGRUNNING-AA"
--action queueBuild --plan "ZLONGRUNNING-AA" --wait --stage "@all"
--action queueBuild --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --wait

queueBuildFromList

--action queueBuildFromList --list "ZCREATE7018594-BB" --field1 "started" --value1 "2023-04-11T18:16:58.599+0000"
--action queueBuildFromList --list "ZCREATE7310018-BB" --field1 "started" --value1 "2023-04-11T18:21:50.019+0000"
--action queueBuildFromList --project "@all" --labels "NOT_FOUND" --simulate

removeAgent

--action removeAgent --agent "Z Added 2"
--action removeAgent --agent "Z Added 2" --continue
--action removeAgent --id "176750700"
--action removeAgent --id "176750700" --continue
--action removeAgent --id "176750704"
--action removeAgent --id "176750704" --continue

removeAgentAssignment

--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE7018594"
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE7018594-AA"
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE7018594-AA" --continue
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE7018594-AA-myJob"
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE7018594-AA-myJob" --continue
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE7310018"
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE7310018-AA"
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE7310018-AA" --continue
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE7310018-AA-myJob"
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE7310018-AA-myJob" --continue

removeArtifact

--action removeArtifact --plan "ZCREATE7018594-AA" --job "MYJOB" --artifact "remove me"
--action removeArtifact --plan "ZCREATE7310018-AA" --job "MYJOB" --artifact "remove me"

removeBuildHistory

--action removeBuildHistory --build "ZCREATE7018594-BB" --number 1
--action removeBuildHistory --build "ZCREATE7310018-BB" --number 1

removeEnvironmentNotification

--action removeEnvironmentNotification --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --event "Deployment started and finished" --recipientType "CLI"

removeEnvironmentRequirement

--action removeEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --id "176226941"

removeEnvironmentTask

--action removeEnvironmentTask --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --task "Artifact download"

removeEnvironmentVariables

--action removeEnvironmentVariables --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --field1 "@all"

removeJob

--action removeJob --plan "ZCREATE7018594-AA" --job "REMOVE"
--action removeJob --plan "ZCREATE7310018-AA" --job "REMOVE"

removeLabels

--action removeLabels --build "XXX-DEF" --labels "test.*"
--action removeLabels --plan "XXX-DEF" --labels ".*"

removeRepository

--action removeRepository --id "175637127"
--action removeRepository --id "175637153"
--action removeRepository --plan "ZBAMBOOCLI6938528-checkout1" --id "175637126"
--action removeRepository --plan "ZBAMBOOCLI7287023-checkout1" --id "175637151"
--action removeRepository --plan "ZCREATE7018594SCRIPT-PLAN" --repository "NOT_FOUND" --continue
--action removeRepository --plan "ZCREATE7310018SCRIPT-PLAN" --repository "NOT_FOUND" --continue

removeTask

--action removeTask --plan "ZBAMBOOCLI6938528-RemoveTesting" --job "JOB1" --task "@all"
--action removeTask --plan "ZBAMBOOCLI6938528-checkout1" --job "JOB1" --id "2"
--action removeTask --plan "ZBAMBOOCLI7287023-RemoveTesting" --job "JOB1" --task "@all"
--action removeTask --plan "ZBAMBOOCLI7287023-checkout1" --job "JOB1" --id "2"

removeTrigger

--action removeTrigger --plan "ZCREATE7018594-AA" --id "-1"
--action removeTrigger --plan "ZCREATE7018594-AA" --id "2"
--action removeTrigger --plan "ZCREATE7018594-AA" --id "2" --continue
--action removeTrigger --plan "ZCREATE7018594-AA" --name "@all"
--action removeTrigger --plan "ZCREATE7018594-AA" --name "Repository polling"
--action removeTrigger --plan "ZCREATE7310018-AA" --id "-1"
--action removeTrigger --plan "ZCREATE7310018-AA" --id "2"
--action removeTrigger --plan "ZCREATE7310018-AA" --id "2" --continue
--action removeTrigger --plan "ZCREATE7310018-AA" --name "@all"
--action removeTrigger --plan "ZCREATE7310018-AA" --name "Repository polling"

removeUser

--action removeUser --userId "NOT_FOUND"

removeVariables

--action removeVariables --plan "ZCLI-VARIABLES" --field "@all"
--action removeVariables --project "ZCLI" --field "@all"

renderRequest

--action renderRequest --build "XXX-DEF" --file "build/output/render/renderRequestBuildNumber.txt" --number "1000"
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "build/output/render/renderRequestConfig.txt" --url "/config"
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "build/output/render/renderRequestJob.txt"
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "build/output/render/renderRequestJobBuildNumber.txt" --number "1000"
--action renderRequest --build "XXX-DEF-latest" --file "build/output/render/renderRequestBuild.txt"
--action renderRequest --build "XXX-DEF-latest" --file "build/output/render/renderRequestBuildLatest.txt"
--action renderRequest --deploymentProject "Deploy ZDEPLOY7160034-BASE" --url "rest/api/latest/permissions/deployment/@deploymentProjectId@/groups/developers" --requestType "PUT" --type "JSON" --data "[\"READ\", \"VIEWCONFIGURATION\", \"WRITE\"]"
--action renderRequest --file "build/output/create/verifyTriggers.txt" --url "chain/admin/config/editChainTriggers.action" --requestParameters "buildKey=ZCREATE7018594-AA"
--action renderRequest --file "build/output/create/verifyTriggers.txt" --url "chain/admin/config/editChainTriggers.action" --requestParameters "buildKey=ZCREATE7310018-AA"
--action renderRequest --file "build/output/render/renderRequestConfig2.txt" --url "/browse/XXX-DEF-JOB1/config"
--action renderRequest --plan "XXX-DEF" --file "build/output/render/renderRequestPlan.txt"
--action renderRequest --plan "XXX-DEF" --job "JOB1" --file "build/output/render/renderRequestPlanJob.txt"
--action renderRequest --plan "XXX-DEF" --job "JOB1" --file "build/output/render/renderRequestPlanJobNumber.txt" --number "1000"
--action renderRequest --plan "ZBAMBOOCLI6938528-checkout1" --job "JOB1" --file "build/output/bamboocli/renderRequestBuildResultcheckout1.txt" --url "-2/log"
--action renderRequest --plan "ZBAMBOOCLI7287023-checkout1" --job "JOB1" --file "build/output/bamboocli/renderRequestBuildResultcheckout1.txt" --url "-2/log"
--action renderRequest --project "ZCREATE7018594" --url "rest/api/latest/permissions/projectplan/@project@/groups/developers" --requestType "PUT" --type "JSON" --data "[\"READ\", \"WRITE\", \"VIEWCONFIGURATION\", \"WRITE\", \"BUILD\", \"CLONE\", \"ADMINISTRATION\"]"
--action renderRequest --project "ZCREATE7310018" --url "rest/api/latest/permissions/projectplan/@project@/groups/developers" --requestType "PUT" --type "JSON" --data "[\"READ\", \"WRITE\", \"VIEWCONFIGURATION\", \"WRITE\", \"BUILD\", \"CLONE\", \"ADMINISTRATION\"]"
--action renderRequest --project "ZDEVELOPER6916554SCRIPT" --url "rest/api/latest/permissions/project/@project@/groups/developers" --requestType "PUT" --type "JSON" --data "[\"READ\", \"CREATE\"]"
--action renderRequest --url "rest/api/latest/admin/groups/developers/add-users" --requestType "POST" --type "JSON" --data "[\"developer\"]"
--action renderRequest --url "rest/api/latest/permissions/environment/176455787/groups/developers" --requestType "PUT" --type "JSON" --data "[\"READ\", \"WRITE\", \"BUILD\"]"
--action renderRequest --verbose --quiet --url "/chain/admin/config/editChainRepository.action?buildKey=XXX-DEF" --findReplaceRegex ".*(repositoryId=\\d+).*:\$1"

restartBuild

--action restartBuild --plan "ZLONGRUNNING-AA" --stage "@ALL" --wait
--action restartBuild --plan "ZLONGRUNNING-AA" --stage "THIRD" --wait
--action restartBuild --plan "ZLONGRUNNING-AA" --wait

run

--action run
--action run -i "-a getServerInfo --outputFormat 2 --outputType text" -i "-a getReplacementVariableList --outputType text"
--action run < /opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/run.txt
--action run --common "--deploymentProject \"Deploy ZDEPLOY7160034-BASE\" --environment QA" -i "-a addEnvironmentTask --taskKey SCRIPT --final --field scriptLocation=INLINE --field \"scriptBody=exit 0\"" -i "-a setReplacementVariables --field markId=@taskId@" -i "-a getEnvironmentTaskList --outputType text --columns id,name,taskkey,final,position " -i "-a addEnvironmentTask --taskKey SCRIPT --final --field scriptLocation=INLINE --field \"scriptBody=exit 0\"" -i "-a getEnvironmentTaskList --outputType text --columns id,name,taskkey,final,position" -i "-a moveEnvironmentTask --task @taskId@ --before @markId@ --final " -i "-a getEnvironmentTaskList --outputType text --columns id,name,taskkey,final,position"
--action run --common "--plan ZCLI-TASKSduplicate" --input "-a deletePlan --continue" --input "-a createPlan --repository example --options addDefaultJob" --input "-a addTask --job @job@ --taskKey CHECKOUT --field selectedRepository_0=defaultRepository" --input "-a exportJob --job @job@" --input "-a deletePlan --continue"
--action run --common "--plan ZCLI-TASKSnocheckout" --input "-a deletePlan --continue" --input "-a createPlan --repository example" --input "-a addStage --stage FIRST" --input "-a addJob --stage @stage@ --job AAA --options noCheckoutTask" --input "-a exportPlan" --input "-a deletePlan --continue"
--action run --common "--plan ZCLI-VARIABLES" --input "-a addVariables --field c1=aa1 --field c2=aa2 --replace" --input "-a copyVariables --toPlan ZCLI2-VARIABLES --replace" --input "-a getVariableList"
--action run --common "--project ZCLI" --input "-a addVariables --field c1=aa1 --field c2=aa2 --replace" --input "-a copyVariables --toProject ZCLI2 --replace" --input "-a getVariableList"
--action run --continue
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/create-plan.txt" --findReplace "%PLAN%:ZCREATE7018594SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 7018594" --findReplace "%STAGE_DESCRIPTION%:First stage"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/create-plan.txt" --findReplace "%PLAN%:ZCREATE7310018SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 7310018" --findReplace "%STAGE_DESCRIPTION%:First stage"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/developer.txt" --findReplace "%PLAN%:ZDEVELOPER6916554SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script by developer" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 6916554" --findReplace "%STAGE_DESCRIPTION%:First stage" --findReplace "%AGENT%:Z Added 1"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/exportPlanCli.txt" --type "cli" --findReplace "999999:69343860099" --dateFormat "yyyy-MM-dd"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/exportPlanNotifications.txt" --findReplace "%plan%:XXX-Notifications"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/renderRequest.txt" --findReplace "@build@:XXX-DEF"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/run.txt"
--action run --file "build/output/deploy/exportDeploymentProject.txt" --findReplace "--name \"Deploy ZDEPLOY7160034-BASE\":--name \"Import Deploy ZDEPLOY7160034-BASE\""
--action run --file "build/output/export/exportPlanCli.txt" --type "cli" --findReplace "6934386:693438600" --dateFormat "yyyy-MM-dd"
--action run --file "build/output/requirements/exportPlan.txt"
--action run --input "-a addVariables --field \"aaa=AAA\" --replace" --input "-a getVariableList --reference bamboo. -f \"\"" --input "-a getClientInfo --comment @bamboo.aaa@"
--action run --input "-a createPlan --plan ZBUILDARTIFACTS-AA --replace --options addDefaultJob" --input "-a addArtifact --plan @plan@ --job @job@ --artifact s1 --copyPattern s1.txt --shared --required" --input "-a addArtifact --plan @plan@ --job @job@ --artifact s2 --copyPattern s2.txt --shared --required" --input "-a addArtifact --plan @plan@ --job @job@ --artifact j1 --copyPattern j1.txt" --input "-a addArtifact --plan @plan@ --job @job@ --artifact j2 --copyPattern j2.txt" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=echo 'x' > s1.txt echo 'x' > s2.txt echo 'x' > j1.txt echo 'x' > j2.txt\" " --input "-a queueBuild --plan @plan@ --wait --reference firstBuild" --input "-a queueBuild --plan @plan@ --wait" --input "-a getArtifactList --build @build@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @plan@-JOB1 --columns producer,name,shared --outputType text" --input "-a removeBuildArtifacts --build @build@ --job JOB1" --input "-a getArtifactList --build @build@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @plan@-JOB1 --columns producer,name,shared --outputType text" --input "-a removeBuildArtifacts --build @build@" --input "-a getArtifactList --build @build@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @plan@-JOB1 --columns producer,name,shared --outputType text" --input "-a removeBuildHistory --build @build@" --input "-a removeBuildHistory --build @build@ --continue" --input "-a removeBuildArtifacts --build @firstBuild@" --input "-a getArtifactList --build @firstBuild@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @firstBuild@ --job JOB1 --columns producer,name,shared --outputType text"
--action run --input "-a createPlan --plan ZCLI-TASKS --replace" --input "-a addVariables --plan @plan@ --field exitCode --value 0" --input "-a addStage --plan @plan@ --stage FIRST" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB" --input " -a runFromList --list ,BBB,CCC,DDD,EEE --list2 ,--disable --common \"-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --description \"@entry@\" @entry2@ --field scriptLocation=INLINE --field scriptBody=xxx\" " --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --description FFF --field scriptLocation=INLINE --field scriptBody=xxx --final -v" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB2"
--action run --input "-a createPlan --plan ZCREATE7018594-RepositoryOrdering --repository example --options addDefaultJob,removeTrigger" --input "-a addRepository --plan @plan@ --name example2" --input "-a addRepository --plan @plan@ --name cli"
--action run --input "-a createPlan --plan ZCREATE7310018-RepositoryOrdering --repository example --options addDefaultJob,removeTrigger" --input "-a addRepository --plan @plan@ --name example2" --input "-a addRepository --plan @plan@ --name cli"
--action run --input "-a createPlan --plan ZEXPORT6934386-Export --description \"Export plan\" --replace --options addDefaultJob" --input "-a addRepository --plan @plan@ --repository cli" --input "-a addBranch --plan @plan@ --branch 2.5.0" --input "-a addVariables --plan @plan@ --field v1=xxx" --input "-a addTrigger --plan @plan@ --type scheduled --schedule 9:35" --input "-a addTrigger --plan @plan@ --type polling" --input "-a addTrigger --plan @plan@ --type remote" --input "-a addNotification --plan @plan@ --event \"All Builds Completed\" --recipientType user --field notificationUserString=automation" --input "-a addNotification --plan @plan@ --event \"All Builds Completed\" --recipientType webhook --recipient \"build webhook\" --url https://example.gear.com" --input "-a addArtifact --plan @plan@ --job @job@ --artifact out.txt --copyPattern out.txt --shared" --input "-a addArtifact --plan @plan@ --job @job@ --artifact out2.txt --copyPattern out2.txt --required" --input "-a addTask --plan @plan@ --job @job@ --taskKey com.atlassian.bamboo.plugins.vcs:task.vcs.checkout" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field \"scriptLocation = INLINE\" --field \"scriptBody = echo xxx > out.txt \\n echo yyy > out2.txt\"" --input "-a addTask --plan @plan@ --job @job@ --taskKey ARTIFACT_DOWNLOAD --field sourcePlanKey=@plan@ --field artifactId_1=out.txt" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --final --field scriptLocation=INLINE --field scriptBody=0" --input "-a addJob --plan @plan@ --stage \"@stage@\" --job SCRIPT --options noCheckoutTask" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody = \\n #!/bin/bash \\n echo this is a test \\n echo \"\"another test\"\" \\n echo 'yet another test' \\n \"" --input "-a addStage --plan @plan@ --stage LAST" --input "-a addJob --plan @plan@ --stage \"@stage@\" --job JOB2" --input "-a addArtifact --plan @plan@ --job @job@ --artifact out3.txt --copyPattern out3.txt" --input "-a addArtifactDependency --plan @plan@ --job @job@ --artifact out.txt --location ." --input "-a addStage --plan @plan@ --stage FINAL --final"
--action run --input "-a createPlan --plan ZJOBS-AA --replace --options addDefaultJob" --input "-a addJob --plan @plan@ --stage \"@stage@\" --job JOB2 --disable --type DOCKER --docker xxx" --input "-a addJob --plan @plan@ --stage \"@stage@\" --job JOB3 --disable" --input "-a setJobIsolationOptions --plan @plan@ --job JOB3 --type DOCKER --docker yyy --field hostDirectory_1=\${bamboo.working.directory} --field containerDirectory_1=\${bamboo.working.directory}" --input "-a getPlan --plan @plan@" --input "-a getStage --plan @plan@ --stage \"@stage@\"" --input "-a getJob --plan @plan@ --job JOB2" --input "-a getJob --plan @plan@ --job JOB3" --input "-a getJobList --plan @plan@ --columns \"stage,job,job name,full key,type,docker\" --outputFormat 999 --outputType text"
--action run --input "-a createPlan --plan ZCREATE7018594-EMPTY --repository example --replace --options clear\"" --input "-a setReplacementVariables --field repository= --field repositoryId=" --input "-a getReplacementVariableList" --input "-a createPlan --plan ZCREATE7018594-EMPTY --repository example --replace --options clear" --input "-a getReplacementVariableList" --input "-a exportPlan --plan ZCREATE7018594-EMPTY"
--action run --input "-a createPlan --plan ZCREATE7310018-EMPTY --repository example --replace --options clear\"" --input "-a setReplacementVariables --field repository= --field repositoryId=" --input "-a getReplacementVariableList" --input "-a createPlan --plan ZCREATE7310018-EMPTY --repository example --replace --options clear" --input "-a getReplacementVariableList" --input "-a exportPlan --plan ZCREATE7310018-EMPTY"
--action run --input "-a createPlan --plan ZLONGRUNNING-AA --replace --options addDefaultJob" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --final --field scriptLocation=INLINE --field \"scriptBody=0sleep 20s\" " --input "-a addJob addStage --plan @plan@ --stage \"@stage@\" --job SCRIPT --options noCheckoutTaskSECOND --manual" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB2" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody= \\n #!/bin/bash \\n echo this is a test \\n echo \"\"another test\"\" \\n echo 'yet another test' \\n \exit 0\" " --input "-a addStage --plan @plan@ --stage LASTTHIRD --manual" --input "-a addJob --plan @plan@ --stage \" @stage@ \" --job JOB2JOB3" --input "-a addArtifact addTask --plan @plan@ --job @job@ --artifact out3.txt --copyPattern out3.txttaskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=exit 0\" " --input "-a addArtifactDependency addStage --plan @plan@ --job @job@ stage FOURTH --artifact out.txt --location .manual" --input "-a addStage addJob --plan @plan@ --stage FINAL @stage@ --final"--action run job JOB4" --input "-a createPlan addTask --plan ZJOBS@plan@ -AA -job @job@ -replace -taskKey SCRIPT -options addDefaultJob" --input "-a addJob --plan @plan@ --stage \"@stage@\" --job JOB2 --disable --type DOCKER --docker xxx" -field scriptLocation=INLINE --field \"scriptBody=exit 0\" "
--action run --input "-a addJob createPlan --plan @plan@ --stage \"@stage@\" --job JOB3 --disableZCREATE7018594-add default job\" --options addDefaultJob" --input "-a setJobIsolationOptions addTask --plan @plan@ --job JOB3 @job@ --taskKey CLEAN" -type DOCKER -input "-docker yyy --field hostDirectory_1=\${bamboo.working.directory} --field containerDirectory_1=\${bamboo.working.directory}a updatePlan --plan @plan@ --description \"Update with a description\"" --input "-a getPlan --plan @plan@"
--action run --input "-a getStage createPlan --plan @plan@ --stage \"@stage@ZCREATE7310018-add default job\" --options addDefaultJob" --input "-a getJob addTask --plan @plan@ --job JOB2@job@ --taskKey CLEAN" --input "-a getJob updatePlan --plan @plan@ --job JOB3description \"Update with a description\"" --input "-a getJobList getPlan --plan @plan@ --columns \"stage,job,job name,full key,type,docker\" --outputFormat 999 --outputType text"--action run "
--action run --input "-a deletePlan --plan ZJOBS-CLONE --continue" --input "-a createPlan --plan ZCREATE1259671ZJOBS-EMPTY CLONE --repository example --replace --options clear\"addDefaultJob" --input "-a setReplacementVariables addTask --plan @plan@ --field repository= job @job@ --field repositoryId=taskKey CLEAN" --input "-a getReplacementVariableListgetJob --plan @plan@ --job @job@" --input "-a createPlan cloneJob --plan ZCREATE1259671@plan@ -EMPTY --repository example --replace --options clear" --input "-a getReplacementVariableListjob @job@ --name \"cloned job\" --description xxx" --input "-a exportPlan getJob --plan ZCREATE1259671@plan@ --EMPTY"--action run job @job@" --input "-a createPlan cloneJob --plan ZLONGRUNNING@plan@ -AA -job @job@ -replace --options addDefaultJob-toJob \"cloned job2\"" --input "-a addTask getJob --plan @plan@ --job @job@" --taskKey SCRIPT input "-a cloneJob --field scriptLocation=INLINE --field \"scriptBody=sleep 20s\" " --input "-a addStage --plan @plan@ --stage SECOND --manualplan XXX-DEF --job JOB1 --toPlan @plan@ --toJob newJob --stage NewStage --autoStage" --input "-a addJob getJob --plan @plan@ --stage @stage@ job @job@"
--job JOB2" action run --input "-a addTask exportJob --plan @plan@ ZEXPORT6934386-Export --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=exit 0\" " SCRIPT -f build/output/export/scriptJob.cli" --input "-a run -f build/output/export/scriptJob.cli" --input "-a addStage getTask --plan @plan@ ZEXPORT6934386-Export --stage THIRD job SCRIPT --manualtask 1" --input "-a addJob getTask --plan @plan@ ZEXPORT6934386-Export -stage @stage@ --job JOB3" SCRIPT --input task 2"
-a addTask -action run -plan @plan@ -verbose

runFromAgentList

-job @job@ -action runFromAgentList -taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=exit 0\" " --input "-a addStage --plan @plan@ --stage FOURTH --manual" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB4" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=exit 0\" "
--action run --input "-a createPlan --plan \"ZCREATE1259671-add default job\" --options addDefaultJob" --input "-a addTask --plan @plan@ --job @job@ --taskKey CLEAN" --input "-a updatePlan --plan @plan@ --description \"Update with a description\"" --input "-a getPlan --plan @plan@"
--action run --input "-a deletePlan --plan ZJOBS-CLONE --continue" --input "-a createPlan --plan ZJOBS-CLONE --replace --options addDefaultJob" --input "-a addTask --plan @plan@ --job @job@ --taskKey CLEAN" --input "-a getJob --plan @plan@ --job @job@" --input "-a cloneJob --plan @plan@ --job @job@ --name \"cloned job\" --description xxx" --input "-a getJob --plan @plan@ --job @job@" --input "-a cloneJob --plan @plan@ --job @job@ --toJob \"cloned job2\"" --input "-a getJob --plan @plan@ --job @job@" --input "-a cloneJob --plan XXX-DEF --job JOB1 --toPlan @plan@ --toJob newJob --stage NewStage --autoStage" --input "-a getJob --plan @plan@ --job @job@"
--action run --input "-a exportJob --plan ZEXPORT1164800-Export --job SCRIPT -f build/output/export/scriptJob.cli" --input "-a run -f build/output/export/scriptJob.cli" --input "-a getTask --plan ZEXPORT1164800-Export --job SCRIPT --task 1" --input "-a getTask --plan ZEXPORT1164800-Export --job SCRIPT --task 2"
--action run --verbose

runFromAgentList

--action runFromAgentList --common "-a getServerInfo --comment ~agent: @agent@, id: @agentId@~" --regex "Z Added .*" --special " ~"

runFromBuildList

--action runFromBuildList --plan "ZCLI-BUILDLIST" --limit 1 --labels "testlabel1" --common "-a addLabels --build @build@ --labels testlabel1"
--action runFromBuildList --plan "ZCREATE1259671-BB" --field "endedBefore=2023-01-18 19:48:56.990" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --common "-a removeBuildHistory --build @build@"

runFromCapabilityList

--action runFromCapabilityList --regex "system.jdk.*" --common "-a updateCapability --capability \"@capability@\""

runFromDeploymentProjectList

--action runFromDeploymentProjectList --common "-a getClientInfo --options ~deploymentProject: @deploymentProject@, id: @deploymentProjectId@~" --special " # ~"

runFromEnvironmentList

--action runFromEnvironmentList --deploymentProject "Deploy ZDEPLOY1387773-BASE" --common "-a getEnvironment --deploymentProject ~Deploy ZDEPLOY1387773-BASE~ --environment @environmentId@" --special " ~"

runFromEnvironmentRequirementList

--action runFromEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QAcommon "-a getServerInfo --comment ~agent: @agent@, id: @agentId@~" --regex "Z Added .*" --special " ~"

runFromBuildList

--action runFromBuildList --plan "ZCLI-BUILDLIST" --limit 1 --labels "testlabel1" --common "-a addLabels --build @build@ --labels testlabel1"
--action runFromBuildList --plan "ZCREATE7018594-BB" --field "endedBefore=2023-04-11 18:18:21.435" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --common "-a removeBuildHistory --build @build@"
--action runFromBuildList --plan "ZCREATE7310018-BB" --field "endedBefore=2023-04-11 18:23:31.178" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --common "-a removeBuildHistory --build @build@"

runFromCapabilityList

--action runFromCapabilityList --regex "system.jdk.*" --common "-a updateCapability --capability \"@capability@\""

runFromDeploymentProjectList

--action runFromDeploymentProjectList --common "-a getClientInfo --options ~deploymentProject: @deploymentProject@, id: @deploymentProjectId@~" --special " # ~"

runFromEnvironmentList

--action runFromEnvironmentList --deploymentProject "Deploy ZDEPLOY7160034-BASE" --common "-a getEnvironment --deploymentProject ~Deploy ZDEPLOY7160034-BASE~ --environment @environmentId@" --special " ~"

runFromEnvironmentRequirementList

--action runFromEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --common "-a getClientInfo --value @requirementId@"

runFromEnvironmentTriggerList

--action runFromEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --common "-a getEnvironmentTrigger --deploymentProject ~Deploy ZDEPLOY7160034-BASE~ --environment QA --id @triggerId@" --special " ~"
--action runFromEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --regex ".*deployment" --common "-a removeEnvironmentTrigger --deploymentProject ~Deploy ZDEPLOY7160034-BASE~ --environment QA --id @triggerId@" --special " ~"

runFromJobList

--action runFromJobList --plan "ZCREATE7018594SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~"
--action runFromJobList --plan "ZCREATE7018594SCRIPT-PLAN" --stage "A" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~"
--action runFromJobList --plan "ZCREATE7310018SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~"
--action runFromJobList --plan "ZCREATE7310018SCRIPT-PLAN" --stage "A" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~"

runFromList

--action runFromList --list "A,B" --clearFileBeforeAppend --input "-a getProjectList --limit 2 --file build/output/runner/runFromListAppendAndColumn.txt --append --columns 1,2"
--action runFromList --list "Client, Server" --common "-a get@entry@Info"

runFromPlanList

--action runFromPlanList --project "@aLL" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@~" --special " ~" --limit 7
--action runFromPlanList --project "ZCREATE7018594SCRIPT" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@~" --special " ~"
--action runFromPlanList --project "ZCREATE7310018SCRIPT" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@~" --special " ~"

runFromProjectList

--action runFromProjectList --common "-a getServerInfo --comment ~project: @project@, name: @projectName@~" --limit 2 --special " ~"

runFromRepositoryList

--action runFromRepositoryList --common "-a getServerInfo --comment ~repository: @repository@, id: @repositoryId@~" --regex ".*example.*" --special " ~"

runFromRequirementList

--action runFromRequirementList --plan "ZCLI-REQUIREMENTS" --job "JOB1" --common "-a getClientInfo --value @requirementId@"
runFromEnvironmentTriggerList

runFromSql

--action runFromEnvironmentTriggerList runFromSql --deploymentProject "Deploy ZDEPLOY1387773-BASEfile "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/run.sql" --environment database "QA" @database--common "-a getEnvironmentTrigger --deploymentProject ~Deploy ZDEPLOY1387773-BASE~ --environment QA --id @triggerId@" --special " ~"test"

runFromStageList

--action runFromEnvironmentTriggerList runFromStageList --deploymentProject plan "Deploy ZDEPLOY1387773-BASE" --environment "QA" --regex ".*deployment" ZCREATE7018594SCRIPT-PLAN" --common "-a removeEnvironmentTrigger --deploymentProject ~Deploy ZDEPLOY1387773-BASE~ --environment QA --id @triggerId@getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@~" --special " ~"
runFromJobList
--action runFromJobList runFromStageList --plan "ZCREATE1259671SCRIPTZCREATE7310018SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~@stage@~" --special " ~"

runFromTaskList

--action runFromTaskList --plan "ZCREATE7018594SCRIPT-PLAN" --job "JOB" --common "-a getTask --plan @plan@ --job @job@ --task @taskId@"
--action runFromList --list "A,B" --clearFileBeforeAppend --input "-a getProjectList --limit 2 --file build/output/runner/runFromListAppendAndColumn.txt --append --columns 1,2"
--action runFromJobList runFromTaskList --plan "ZCREATE1259671SCRIPTZCREATE7310018SCRIPT-PLAN" --stage job "AJOB" --common "-a getServerInfo getTask --comment ~project: @project@, name: @projectName@, plan : @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~"

runFromList

--action runFromList --list "Client, Server@plan@ --job @job@ --task @taskId@"

runFromTriggerList

--action runFromTriggerList --plan "ZCREATE7018594-AA" --common "-a getTrigger --plan ZCREATE7018594-AA --id @triggerId@"
--action runFromTriggerList --plan "ZCREATE7018594-AA" --regex "Repository.*" --limit 1 --common "-a removeTrigger --plan ZCREATE7018594-AA --id @triggerId@"
--action runFromTriggerList --plan "ZCREATE7310018-AA" --common "-a get@entry@Info"
runFromPlanList
getTrigger --plan ZCREATE7310018-AA --id @triggerId@"
--action runFromPlanList runFromTriggerList --plan "ZCREATE7310018-AA" --project regex "@aLLRepository.*" --limit 1 --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@~" --special " ~" --limit 7removeTrigger --plan ZCREATE7310018-AA --id @triggerId@"

runFromUserList

--action runFromUserList --regex "a.*" --common "-a getClientInfo --comment @userId@"

setDependencyOptions

--action runFromPlanList setDependencyOptions --project "ZCREATE1259671SCRIPT" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@~" --special " ~"

runFromProjectList

--action runFromProjectList --common "-a getServerInfo --comment ~project: @project@, name: @projectName@~" --limit 2 --special " ~"

runFromRepositoryList

--action runFromRepositoryList --common "-a getServerInfo --comment ~repository: @repository@, id: @repositoryId@~" --regex ".*example.*" --special " ~"

runFromRequirementList

--action runFromRequirementList --plan "ZCLI-REQUIREMENTS" --job "JOB1" --common "-a getClientInfo --value @requirementId@"

runFromSql

--action runFromSql --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/run.sql" --database "@database-test"

runFromStageList

--action runFromStageList --plan "ZCREATE1259671SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@~" --special " ~"

runFromTaskList

--action runFromTaskList --plan "ZCREATE1259671SCRIPT-PLAN" --job "JOB" --common "-a getTask --plan @plan@ --job @job@ --task @taskId@"

runFromTriggerList

--action runFromTriggerList --plan "ZCREATE1259671-AA" --common "-a getTrigger --plan ZCREATE1259671-AA --id @triggerId@"
--action runFromTriggerList --plan "ZCREATE1259671-AA" --regex "Repository.*" --limit 1 --common "-a removeTrigger --plan ZCREATE1259671-AA --id @triggerId@"

runFromUserList

--action runFromUserList --regex "a.*" --common "-a getClientInfo --comment @userId@"

setDependencyOptions

--action setDependencyOptions --plan "ZCREATE1259671-AA" --childPlans "ZCREATE1259671-BB, ZCREATE1259671-EMPTY"

setFavoritePlan

--action setFavoritePlan --plan "ZCREATE1259671-AA"

unsetFavoritePlan

--action unsetFavoritePlan --plan "ZCREATE1259671-AA"

updateCapability

plan "ZCREATE7018594-AA" --childPlans "ZCREATE7018594-BB, ZCREATE7018594-EMPTY"
--action setDependencyOptions --plan "ZCREATE7310018-AA" --childPlans "ZCREATE7310018-BB, ZCREATE7310018-EMPTY"

setFavoritePlan

--action setFavoritePlan --plan "ZCREATE7018594-AA"
--action setFavoritePlan --plan "ZCREATE7310018-AA"

unsetFavoritePlan

--action unsetFavoritePlan --plan "ZCREATE7018594-AA"
--action unsetFavoritePlan --plan "ZCREATE7310018-AA"

updateCapability

--action updateCapability --capability "Docker" --value "/zdocker"
--action updateCapability --capability "Docker" --value "/zdocker" --agent "zcapabilities"
--action updateCapability --capability "Perforce Executable" --value "/zperforce"
--action updateCapability --capability "Perforce Executable" --value "/zperforce" --agent "zcapabilities"
--action updateCapability --capability "system.git.executable.ssh" --value "/zgitssh" --agent "zcapabilities" --options "ssh"
--action updateCapability --capability "system.git.executable.ssh" --value "/zgitssh" --options "ssh"
--action updateCapability --capability "z Ant" --value "/ant" --agent "zcapabilities" --name "z Ant"
--action updateCapability --capability "z Ant" --value "/ant" --name "z Ant"
--action updateCapability --capability "z GW" --value "/gw" --agent "zcapabilities" --name "z GW"
--action updateCapability --capability "z GW" --value "/gw" --name "z GW"
--action updateCapability --capability "z JDK" --value "/jdk" --agent "zcapabilities" --name "z JDK"
--action updateCapability --capability "z JDK" --value "/jdk" --name "z JDK"
--action updateCapability --capability "z custom 1" --value "xxx" --agent "zcapabilities" --name "z custom 1"
--action updateCapability --capability "Dockerz custom 1" --value "/zdocker"xxx" --name "z custom 1"

updateEnvironmentRequirement

--action updateCapability --capability "Docker" --value "/zdockerupdateEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY7160034-BASE" --environment "QA" --agent id "zcapabilities176226941" --action updateCapability --capability "Perforce Executabletype "MATCHES" --value "/zperforcezzz"

updateEnvironmentTask

--action updateCapability updateEnvironmentTask --capability "Perforce ExecutabledeploymentProject "Deploy ZDEPLOY7160034-BASE" --value environment "/zperforceQA" --agent task "zcapabilitiesGroovy" --action updateCapability --capability "system.git.executable.sshfields "label:Groovy,buildJdk:JDK,scriptLocation:INLINE" --value field "scriptBody = 0 /zgitssh" / updated"

updateEnvironmentVariables

--action updateEnvironmentVariables --agent "zcapabilitiesdeploymentProject "Deploy ZDEPLOY7160034-BASE" --options environment "sshQA" --action updateCapability append --capability field "system.git.executable.sshZv.a = ' APPENDED_TEXT WITH BLANK'" --value "/zgitssh" --options "ssh"field "Zv.1 = APPENDED_TEXT"

updatePlan

--action updateCapability updatePlan --capability "z Antplan "ZCREATE7018594-AA" --value description "/antUpdated"
--agent "zcapabilitiesaction updatePlan --plan "ZCREATE7310018-AA" --name description "z AntUpdated"

updateStage

--action updateCapability updateStage --capability plan "z Ant" --value "/antZCREATE7018594SCRIPT-PLAN" --name stage "z AntB updated"
--action updateCapability updateStage --capability "z GWplan "ZCREATE7018594SCRIPT-PLAN" --value stage "/gwB" --agent "zcapabilitiesmanual --final --name "B updated" --name description "z GWUpdated description"
--action updateCapability updateStage --capability plan "z GW" --value "/gwZCREATE7310018SCRIPT-PLAN" --name stage "z GWB updated"
--action updateCapability updateStage --capability "z JDKplan "ZCREATE7310018SCRIPT-PLAN" --value stage "/jdkB" --agent "zcapabilitiesmanual --final --name "B updated" --name description "z JDKUpdated description"

updateTask

--action updateCapability updateTask --capability "z JDKplan "ZBAMBOOCLI6938528-checkout1" --value job "/jdkJOB1" --name id "z JDK2" --action updateCapability --capability "z custom 1description "task description" --value "xxxfields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --agent field1 "zcapabilitiesscriptLocation" --name value1 "z custom 1INLINE" --action updateCapability --capability "z custom 1field2 "scriptBody" --value "xxxvalue2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} " --name taskKey "z custom 1SCRIPT"
updateEnvironmentRequirementupdateTask
--action updateEnvironmentRequirement updateTask --deploymentProject plan "Deploy ZDEPLOY1387773ZBAMBOOCLI7287023-BASEcheckout1" --environment job "QAJOB1" --id "1712129172" --type description "MATCHEStask description" --value "zzz"

updateEnvironmentTask

--action updateEnvironmentTask --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA" --task "Groovy" --fields "label:Groovy,buildJdk:JDK,scriptLocation:INLINE" --field "scriptBody = 0 // updated"

updateEnvironmentVariables

--action updateEnvironmentVariables --deploymentProject "Deploy ZDEPLOY1387773-BASE" --environment "QA" --append --field "Zv.a = ' APPENDED_TEXT WITH BLANK'" --field "Zv.1 = APPENDED_TEXT"

updatePlan

--action updatePlan --plan "ZCREATE1259671-AA" --description "Updated"

updateStage

--action updateStage --plan "ZCREATE1259671SCRIPT-PLAN" --stage "B updated"
--action updateStage --plan "ZCREATE1259671SCRIPT-PLAN" --stage "B" --manual --final --name "B updated" --description "Updated description"
fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} " --taskKey "SCRIPT"
--action updateTask --plan "ZCREATE7018594-BB" --job "JOB" --description "Fail" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 1" --disable --id "4" --final
--action updateTask --plan "ZCREATE7018594-BB" --job "JOB" --description "Fail" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 1" --id "3"
--action updateTask --plan "ZBAMBOOCLI1169071ZCREATE7018594-checkout1BB" --job "JOB1JOB" --id "2" --description "task descriptionLong" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvvtaskKey "SCRIPT" --field1 field "scriptLocation " --value1 "= INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} field "scriptBody = sleep 30s exit 1" --taskKey id "SCRIPT2"
--action updateTask --plan "ZCREATE1259671ZCREATE7310018-BB" --job "JOB" --description "Fail" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 1" --disable --id "4" --final
--action updateTask --plan "ZCREATE1259671ZCREATE7310018-BB" --job "JOB" --description "Fail" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 1" --id "3"
--action updateTask --plan "ZCREATE1259671ZCREATE7310018-BB" --job "JOB" --description "Long" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = sleep 30s exit 1" --id "2"

updateVariables

--action updateVariables --plan "ZCLI-VARIABLES" --append --field "Zv.a = ' APPENDED_TEXT WITH BLANK'" --field "Zv.1 = APPENDED_TEXT"
--action updateVariables --plan "ZCLI-VARIABLES" --append --field "Zv.a" --findReplace "value aaa:modified value aaa"
--action updateVariables --project "ZCLI" --append --field "Zv.a = ' APPENDED_TEXT WITH BLANK'" --field "Zv.1 = APPENDED_TEXT"
--action updateVariables --project "ZCLI" --append --field "Zv.a" --findReplace "value aaa:modified value aaa"

validateLicense

--action validateLicense

verifyBuild

--action verifyBuild --build "XXXZBAMBOOCLI6938528-DEF-728" --waitcheckout1"
--action verifyBuild --build "ZBAMBOOCLI1169071ZBAMBOOCLI7287023-checkout1"
--action verifyBuild --plan "ZLONGRUNNING-AA" --wait --timeout 40
Excerpt
Table of Contents
maxLevel1
absoluteUrltrue