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 14533035074797"
--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 "ZCREATE1453303ZCREATE5074797"
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE1453303ZCREATE5074797-AA"
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE1453303ZCREATE5074797-AA-MYJOB"
--action addAgentAssignment --agent "zdeploy" --assignment "Deploy ZDEPLOY1364525ZDEPLOY5291168-BASE" --type "DEPLOYMENT_PROJECT" --autoAgent
--action addAgentAssignment --agent "zdeploy" --assignment "Deploy ZDEPLOY1364525ZDEPLOY5291168-BASE:QA" --type "ENVIRONMENT" --autoAgent

addArtifact

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

addBranch

--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --continue
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --description "Branch for tag 2.5.0" --enable
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "2.6.0" --name "Release 2.6.0"

addCapability

--action addCapability --type "Docker" --value "/zdocker"
--action addCapability --type "Docker" --value "/zdocker" --agent "zcapabilities"
--action addCapability --type "Perforce" --value "/zperforce"
--action addCapability --type "Perforce" --value "/zperforce" --agent "zcapabilities"
--action addCapability --type "custom" --value "xxx" --agent "zcapabilities" --name "z custom 1"
--action addCapability --type "custom" --value "xxx" --name "z custom 1"
--action addCapability --type "executable:Ant" --value "/ant" --agent "zcapabilities" --name "z Ant"
--action addCapability --type "executable:Ant" --value "/ant" --name "z Ant"
--action addCapability --type "executable:Gradle Wrapper" --value "/gw" --agent "zcapabilities" --name "z GW"
--action addCapability --type "executable:Gradle Wrapper" --value "/gw" --name "z GW"
--action addCapability --type "git" --value "/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"
--action addCapability --type "mercurial" --value "/zhgssh" --agent "zcapabilities" --options "ssh"
--action addCapability --type "mercurial" --value "/zhgssh" --options "ssh"

addComment

--action addComment --build "XXX-DEF" --comment "This is a comment added by automation"
--action addComment --build "XXX-DEF" --number "6801850" --file "./opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/data.txt" --findReplace "xxx:yyy"

addEnvironment

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

addEnvironmentNotification

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

addEnvironmentRequirement

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

addEnvironmentTask

--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY1364525ZDEPLOY5291168-BASE" --environment "DEV" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit -99"
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY1364525ZDEPLOY5291168-BASE" --environment "QA" --taskKey "GROOVY" --fields "label:Groovy,buildJdk:JDK,scriptLocation:INLINE" --field "scriptBody = 0"
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY1364525ZDEPLOY5291168-BASE" --environment "QA" --taskKey "GROOVY" --fields "label:Groovy,buildJdk:JDK,scriptLocation:INLINE" --field "scriptBody = 1" --final
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY1364525ZDEPLOY5291168-BASE" --environment "QA" --taskKey "SCRIPTcom.atlassian.bamboo.plugins.scripttask:task.builder.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 ZDEPLOY1364525ZDEPLOY5291168-BASE" --environment "QA" --stage "FIRST" --type "After successful stage" --description "for branch" --branch "2.5.0" --verbose
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY1364525ZDEPLOY5291168-BASE" --environment "QA" --type "After successful deployment" --triggeringEnvironment "DEV"
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY1364525ZDEPLOY5291168-BASE" --environment "QA" --type "After successful stage" --stage "FIRST" --disable
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY1364525ZDEPLOY5291168-BASE" --environment "QA" --type "AfterSuccessfulPlan"
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY1364525ZDEPLOY5291168-BASE" --environment "QA" --type "Scheduled" --description "scheduled trigger" --schedule "1 0 0 ? * *"

addEnvironmentVariables

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

addGroup

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

addJob

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

addLabels

--action addLabels --build "XXX-DEF" --labels "testlabel1, testlabel2"
--action addLabels --build "XXX-DEF" --number -1
--action addLabels --build "XXX-DEF" --number -1 --labels "testlabel1 testlabel2"
--action addLabels --plan "XXX-DEF" --labels "testlabel1 testlabel2"
addNotification

addRepository

--action addNotification addRepository --plan "ZCREATE1453303-NOTIFICATIONSname "global (delete me)" --event "Job Queued Without Capable AgentsrepositoryKey "GIT" --recipientType credentials "CLI" bitbucket-cloud-field "cliAction = -a getClientInfo"
addRepository
read-only" --continue
--action addRepository --name "cli-ssh"global (delete me)" --repositoryKey "GIT" --repositoryKey "MERCURIALcredentials "bitbucket-cloud-read-only" --field fields "repository.hggit.repositoryUrl=ssh:'https://hg@bitbucketbitbucket.org/bob_swift/cli" --field "repository.hg.authentication=SSH_PROXY" --field "temporary.hg.ssh_proxy.privateKeyFromFile=@file" --field "temporary.hg.ssh_proxy.privateKey.change=true" --file "./src/itest/bamboo/resources/sshkey"
--action addRepository --name "cli-ssh2" --repositoryKey "MERCURIAL" --field1 "repository.hg.repositoryUrl" --value1 "ssh://hg@bitbucket.org/bob_swift/cli" --field2 "repository.hg.authentication" --value2 "KEYFILE" --field "temporary.hg.keyfile.privateKeyFromFile=@file" --field "temporary.hg.keyfile.privateKey.change=true" --file "./src/itest/bamboo/resources/sshkey"
--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 --name "zrepositories git" --repositoryKey "GIT" --credentials "zrepositories credentials for git 1" --fields "repository.git.repositoryUrl:'https://bitbucket.org/bobswift/log-service',repository.git.authenticationType:'PASSWORD'" --branch "develop"
--action addRepository --plan "ZBAMBOOCLI1366751-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 "ZCREATE1453303-AA" --name "example" --description "example"

addRequirement

--action addRequirement --plan "ZCLI-REQUIREMENTS" --job "JOB1" --requirement "Ant"
--action addRequirement --plan "ZCLI-REQUIREMENTSbobswift/groovy',repository.git.branch:master,repository.git.commandTimeout:2,selectedWebRepositoryViewer:'bamboo.webrepositoryviewer.provided:noRepositoryViewer'"
--action addRepository --plan "ZBAMBOOCLI4988851-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 "ZCREATE5074797-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 "ZCREATE5074797-AA" --name "My stage 2" --description "My stage description"
--action addStage --plan "ZCREATE5074797-AA" --stage "My stage 1" --description "My stage description"
--action addStage --plan "ZCREATE5074797-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 "ZBAMBOOCLI4988851-checkout1" --job "JOB1" --requirement "my-custom-requirementtaskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --type "equaldescription "initial description before update" --value "mine"
--action addRequirement --plan "ZCLI-REQUIREMENTS" --job "JOB1" --requirement "system.builder.groovy.Gradle"

addStage

--action addStage --plan "ZCREATE1453303-AA" --name "My stage 2" --description "My stage description"
--action addStage --plan "ZCREATE1453303-AA" --stage "My stage 1" --description "My stage description"
--action addStage --plan "ZCREATE1453303-BB" --stage "Stage 1"

addTask

--action addTask --file "output/tasks/script.txt" fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} "
--action addTask --plan "ZBAMBOOCLI4988851-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 "ZCLI-TASKS" --job "JOB2" --taskKey "ARTIFACT_DOWNLOAD"
--action addTask --plan "ZCLI-TASKS" --job "JOBJOB2" --taskKey "SCRIPTSSH" --description "fileReferencefile "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/sshkey" --field "scriptLocationhost=INLINEbuild" --field "scriptBody=@file"--action addTask --plan "ZBAMBOOCLI1366751-checkout1username_ssh_key=root" --field "authType=KEY" --job "JOB1" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.scriptfield "private_key=@file" --field "command=bash script.sh" --field "sshAuthTypeSource=SSH"
--action addTask --plan "ZCREATE5074797-AA" --job "myjob" --taskKey "SCRIPT" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 field "scriptLocation" --value1 "=INLINE" --field2 field "scriptBody " --value2 "= echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} "
--action addTask --plan "ZBAMBOOCLI1366751ZCREATE5074797-checkout1AA" --job "JOB1myjobanother" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "task initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 field "scriptLocation" --value1 "=INLINE" --field2 field "scriptBody " --value2 "= echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} "
--action addTask --plan "ZCLIZCREATE5074797-TASKSBB" --job "JOB2JOB" --description "Fail" --taskKey "ARTIFACT_DOWNLOADSCRIPT" --field "sourcePlanKeyscriptLocation = ZCLI-TASKS"INLINE" --field "scriptBody = exit 1" --disable
--action addTask --plan "ZCLIZCREATE5074797-TASKSBB" --job "JOB2JOB" --description "Long" --taskKey "MAVEN_POM_EXTRACTOR""SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = sleep 30s exit 1" --disable
--action addTask --plan "ZCLIZCREATE5074797-TASKSBB" --job "JOB2JOB" --taskKey description "SSHSuccess" --file "./src/itest/bamboo/resources/sshkeytaskKey "SCRIPT" --field "hostscriptLocation = buildINLINE" --field "username_ssh_key=rootscriptBody = exit 0"
--action addTask --plan "ZEXPORT4985101-Export" --field job "authType=KEYJOB1" --field taskKey "privateARTIFACT_key=@fileDOWNLOAD" --field "command=bash script.shsourcePlanKey=ZEXPORT4985101-Export" --field "sshAuthTypeSource=SSH"artifactId_1=out.txt"

addTrigger

--action addTask addTrigger --plan "ZCREATE1453303ZCREATE5074797-AA" --job type "myjobPolling"
--taskKey "SCRIPTaction addTrigger --plan "ZCREATE5074797-AA" --description "initial description before updatetype "Polling" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvvdescription "polling trigger interval" --field repository "scriptLocation=INLINEexample" --field "scriptBody = echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} schedule "3600"
--action addTask addTrigger --plan "ZCREATE1453303ZCREATE5074797-AA" --job type "myjobanotherPolling" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.scriptdescription "polling trigger scheduled" --description "initial description before updaterepository "example" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field "scriptLocation=INLINE" --field "scriptBody = echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} schedule "2 0 0 ? * *"
--action addTrigger --plan "ZCREATE5074797-AA" --type "Remote" --description "remote trigger restricted" --repository "example" --ipRestriction "172.16.9.25,172.16.9.26"
--action addTask addTrigger --plan "ZCREATE1453303ZCREATE5074797-BBAA" --job type "JOBRemote" --description "Failremote trigger" --taskKey repository "SCRIPTexample"
--field "scriptLocation = INLINEaction addTrigger --plan "ZCREATE5074797-AA" --field "scriptBody = exit 1" --disabletype "RemoteBitbucketServer"
--action addTask addTrigger --plan "ZCREATE1453303ZCREATE5074797-BBAA" --job type "JOBScheduled" --description "Longscheduled trigger" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = sleep 30s exit 1" --disableschedule "1 0 0 ? * *"
--action addTrigger --plan "ZCREATE5074797-AA" --type "Scheduled" --schedule "9:35" --successfulPlans "XXX-DEF,YYY-DEF"

addUser

--action addTask addUser --plan userId "ZCREATE1453303-BBuser1" --job "JOBuserEmail "automation+user1@appfire.com" --description group "Successbamboo-admin" ---taskKey "SCRIPTcontinue
--action addUser --userId "user1" --field "scriptLocation = INLINEuserEmail "automation+user1@appfire.com" --field "scriptBody = exit 0"--action addTask --plan "ZEXPORT1475777-Export" --job "JOB1" --taskKey "ARTIFACT_DOWNLOADuserFullName "User 1" --group "bamboo-admin"

addVariables

--action addVariables --field "Zv.a=value a" --field "sourcePlanKey=ZEXPORT1475777-ExportZv.b=value b" --field "artifactId_Zv.1=out.txt"

addTrigger

--action addTrigger --plan "ZCREATE1453303-AA" --type "Polling"value 1 5302472" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZGLOBALpassword=XXX" --replace
--action addTrigger addVariables --plan "ZCREATE1453303-AAZCLI-VARIABLES" --field "Zv.a=value a" --type "Pollingfield "Zv.b=value b" --description "polling trigger intervalfield "Zv.1=value 1 5302472" --repository "examplefield "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --schedule field "3600"ZPLANpassword=XXX" --replace
--action addTrigger addVariables --plan project "ZCREATE1453303-AAZCLI" --type "Pollingfield "Zv.a=value a" --description "polling trigger scheduled" --repository "examplefield "Zv.b=value b" --field "Zv.1=value 1 5302472" --schedule field "2 0 0 ? * *"Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZPLANpassword=XXX" --replace

addWebhookTemplate

--action addTrigger addWebhookTemplate --plan name "ZCREATE1453303-AAZZ" --type data "Remote" --description "remote trigger restricted" --repository "example" --ipRestriction "172.16.9.25,172.16.9.26"{\"xxx\":\"yyy\"}" --replace

cloneEnvironment

--action addTrigger cloneEnvironment --plan deploymentProject "ZCREATE1453303Deploy ZDEPLOY5291168-AABASE" --type environment "RemoteQA" --description name "remote triggerQACLONE" --repository description "exampleclone of QA"

clonePlan

--action addTrigger clonePlan --plan build "ZCREATE1453303ZTEMPLATE-AAcheckout1" --type "RemoteBitbucketServer"--action addTrigger --plan "ZCREATE1453303-AA" --type "Scheduledfile "build/output/bamboocli/clonePlancheckout1.txt" --toPlan "ZBAMBOOCLI4988851-checkout1" --name "Clone of checkout1" --description "scheduled trigger" --schedule "1 0 0 ? * *"Created based on ZTEMPLATE-checkout1"
--action addTrigger clonePlan --plan build "ZCREATE1453303ZTEMPLATE-AAcheckout1" --type "Scheduledfile "build/output/bamboocli/clonePlancheckout1Disable.txt" --schedule "9:35" --successfulPlans "XXX-DEF,YYY-DEF"
addUser
toPlan "ZBAMBOOCLI4988851-checkout1Disable" --disable
--action addUser clonePlan --userId build "user1ZTEMPLATE-notask" --userEmail "automation+user1@appfire.comfile "build/output/bamboocli/clonePlannotask.txt" --group toPlan "bambooZBAMBOOCLI4988851-adminnotask" --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 1449120" --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 1449120" --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 1449120" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZPLANpassword=XXX" --replace

addWebhookTemplate

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

cloneEnvironment

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

clonePlan

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

cloneProject

--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI1366751CLONE"
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI1366751CLONEDisable" --disable

createDeploymentProject

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

createPlan

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

createProject

--action createProject --project "ZPROJECTS1552593" --name "zprojects1552593" --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 ZDEPLOY1364525-BASE" --environment "QA" --version "1.0.0" --replace
--action deployEnvironment --deploymentProject "Deploy ZDEPLOY1364525-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 "ZCREATE1453303-AA" --job "@all" --stage "My stage 1"
--action disableJob --plan "ZCREATE1453303-AA" --job "myjob"

disablePlan

--action disablePlan --build "ZBAMBOOCLI1366751-checkout1"
--action disablePlan --build "ZBAMBOOCLI1366751-notask"

disableProject

--action disableProject --project "ZBAMBOOCLI1366751"

enableAgent

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

enableJob

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

enablePlan

--action enablePlan --build "ZBAMBOOCLI1366751-checkout1"
--action enablePlan --build "ZBAMBOOCLI1366751-notask"

enableProject

--action enableProject --project "ZBAMBOOCLI1366751"

exportDeploymentProject

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

exportEnvironment

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

exportJob

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

exportPlan

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

getAgentAssignmentList

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

getAgentList

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

getApp

--action getApp --app "@default"

getApplicationLinkList

--action getApplicationLinkList
--action getApplicationLinkList --outputFormat 999
--action getApplicationLinkList --type "bitbucket"

getArtifact

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

getArtifactDefinitionList

--action getArtifactDefinitionList --plan "ZCREATE1453303-AA"

getArtifactDependencyList

--action getArtifactDependencyList --plan "ZCREATE1453303SCRIPT-PLAN"
--action getArtifactDependencyList --plan "ZCREATE1453303SCRIPT-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
--action getBranchingOptions --plan "ZCLI-BRANCHING2"

getBuild

--action getBuild --build "XXX-DEF" --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getBuild --build "XXX-DEF-680"
--action getBuild --build "ZCREATE1453303-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 "ZCREATE1453303-BB"
--action getBuildList --plan "ZCREATE1453303-BB" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --outputFormat 999 --columns "build,number,state,started,completed"
--action getBuildList --plan "ZCREATE1453303-BB" --field1 "STARTED" --value1 "2021-12-04T12:17:56.646-0600" --outputFormat 2 --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
--action getBuildList --plan "ZCREATE1453303-BB" --field1 "notState" --value1 "UNKNOWN"
--action getBuildList --plan "ZCREATE1453303-BB" --field1 "sTaTe" --value1 "successful"
--action getBuildList --plan "ZCREATE1453303-BB" --field1 "started" --value1 "-24h" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose
--action getBuildList --plan "ZCREATE1453303-BB" --field1 "started" --value1 "2021-12-04T12:10:53.335-0600" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
--action getBuildList --plan "ZCREATE1453303-BB" --field1 "started" --value1 "today" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose
--action getBuildList --plan "ZCREATE1453303-BB" --outputFormat 999
--action getBuildList --plan "ZCREATE1453303-BB" --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getBuildList --plan "ZCREATE1453303-EMPTY"
--action getBuildList --plan "ZLONGRUNNING-AA"

getBuildLog

--action getBuildLog --build "ZCREATE1453303-BB-JOB"
--action getBuildLog --build "ZCREATE1453303-BB-JOB" --findReplaceRegex ".*?\\t.*?\\t(.*):\$1"
--action getBuildLog --build "ZCREATE1453303-BB-JOB" --regex "command.*"
--action getBuildLog --plan "ZCREATE1453303-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 "680" --dateFormat "yyyy-MM-dd HH:mm:ss"

getCredentialsList

--action getCredentialsList --regex "zrepositories credentials for git .*"

getDeploymentProject

--action getDeploymentProject --deploymentProject "Deploy ZDEPLOY1364525-BASE"

getDeploymentProjectList

--action getDeploymentProjectList

getEnvironment

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

getEnvironmentList

--action getEnvironmentList --deploymentProject "Deploy ZDEPLOY1364525-BASE"

getEnvironmentNotificationList

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

getEnvironmentRequirementList

--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY1364525-BASE" --environment "QA"
--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY1364525-BASE" --environment "QA" --id "149750005"

getEnvironmentTaskList

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

getEnvironmentTrigger

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

getEnvironmentTriggerList

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

getEnvironmentVariableList

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

getJob

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

getJobList

--action getJobList --plan "ZCREATE1453303-AA" --job "@all" --stage "My stage 1" --columns "enabled,type"
--action getJobList --plan "ZCREATE1453303-CC"
--action getJobList --plan "ZCREATE1453303SCRIPT-PLAN"
--action getJobList --plan "ZCREATE1453303SCRIPT-PLAN" --regex "TEST2.*"
--action getJobList --plan "ZCREATE1453303SCRIPT-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 "ZCREATE1453303-NOTIFICATIONS"
--action getNotificationList --plan "ZCREATE1453303-NOTIFICATIONS" --regex "Job.*" --regex2 ".*org.swift.bamboo.acli.*"

getPlan

--action getPlan --plan "ZBAMBOOCLI1366751-checkout1" --verbose
--action getPlan --plan "ZBAMBOOCLI1366751-checkout1Disable"
--action getPlan --plan "ZBAMBOOCLI1366751CLONE-checkout1"
--action getPlan --project "ZBAMBOOCLI1366751CLONE" --plan "ZBAMBOOCLI1366751CLONE-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 "output/create/getPlanList.txt"
--action getPlanList --project "XXX" --excludeDisabled
--action getPlanList --project "XXX" --excludeEnabled
--action getPlanList --project "XXX" --options "usingRepository=zrepositories git"
--action getPlanList --project "ZCREATE1453303SCRIPT"
--action getPlanList --project "ZCREATE1453303SCRIPT" --field1 "notstate" --value1 "successful"
--action getPlanList --project "ZCREATE1453303SCRIPT" --field1 "state" --value1 "failed"
--action getPlanList --project "ZMOVE1370625"
--action getPlanList --project "ZMOVE1370625XX"
--action getPlanList --project "ZTEMPLATE" --regex "ZTEMPLATE-CHECKOUT1.*" --options "includeBranchPlans"

getProject

--action getProject --project "ZPROJECTS1552593"

getProjectList

--action getProjectList
--action getProjectList --project "ZPROJECTS1552593"

getRepository

--action getRepository --plan "ZCREATE1453303-AA" --name "example"
--action getRepository --plan "ZTEMPLATE-checkout1" --repository "cli" --outputFormat 999
--action getRepository --repository "zrepositories git"

getRepositoryList

--action getRepositoryList
--action getRepositoryList --plan "XXX-RemoveAndReplace"
--action getRepositoryList --plan "ZBAMBOOCLI1366751-checkout1"
--action getRepositoryList --plan "ZCREATE1453303-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 3
--action getServerInfo --outputFormat 999
--action getServerInfo --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getServerInfo --user "anonymous"

getStage

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

getStageList

--action getStageList --plan "ZCREATE1453303SCRIPT-PLAN"
--action getStageList --plan "ZCREATE1453303SCRIPT-PLAN" --regex "A.*"
--action getStageList --project "ZCREATE1453303SCRIPT" --plan "ZCREATE1453303SCRIPT-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 "ZCREATE1453303-BB" --job "JOB"

getTaskTypeList

--action getTaskTypeList

getTrigger

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

getTriggerList

--action getTriggerList --plan "ZCREATE1453303-AA"
--action getTriggerList --plan "ZCREATE1453303-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"

installApp

--action installApp --app "@default" --simulate
--action installApp --app "com.atlassian.labs.rest-api-browser "

moveEnvironment

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

moveJob

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

movePlans

--action movePlans --plan "ZMOVE1370625-Base1" --toProject "ZMOVE1370625XX"
--action movePlans --project "ZMOVE1370625" --regex ".*[23]" --toProject "ZMOVE1370625XX"

moveStage

--action moveStage --plan "ZCREATE1453303SCRIPT-PLAN" --stage "A" --after "B updated"
--action moveStage --plan "ZCREATE1453303SCRIPT-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 "ZCREATE1453303-RepositoryOrdering" --repository "example2"
--action orderRepository --plan "ZCREATE1453303-RepositoryOrdering" --repository "example2" --after "cli"

pauseServer

--action pauseServer

queueBuild

--action queueBuild --build "XXX-DEF" --wait
--action queueBuild --build "XXX-FAIL" --wait --continue
--action queueBuild --build "ZBAMBOOCLI1366751-checkout1" --wait --continue
--action queueBuild --build "ZBAMBOOCLI1366751-checkout1" --wait --timeout 90 --field "exitCode=0" --verbose
--action queueBuild --build "ZBAMBOOCLI1366751-checkout1" --wait --timeout 90 --fields "exitCode: 0" --verbose
--action queueBuild --build "ZBAMBOOCLI1366751-notask" --wait --continue
--action queueBuild --plan "ZCREATE1453303-BB" --continue
--action queueBuild --plan "ZCREATE1453303-BB" --field1 "started" --value1 "2021-12-04T12:10:53.335-0600" --field2 "state" --value2 "SUCCESSFUL"
--action queueBuild --plan "ZCREATE1453303-BB" --field1 "started" --value1 "XXX-DEF"
--action queueBuild --plan "ZCREATE1453303-BB" --field1 "started" --value1 "ZCREATE1453303-BB-1"
--action queueBuild --plan "ZCREATE1453303-BB" --wait --continue
--action queueBuild --plan "ZCREATE1453303-EMPTY" --wait --continue
--action queueBuild --plan "ZDEPLOY1364525-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 "ZCREATE1453303-BB" --field1 "started" --value1 "2021-12-04T12:10:53.335-0600"
--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 "149848098"
--action removeAgent --id "149848098" --continue

removeAgentAssignment

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

removeArtifact

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

removeBuildHistory

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

removeEnvironmentNotification

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

removeEnvironmentRequirement

--action removeEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY1364525-BASE" --environment "QA" --id "149750005"

removeEnvironmentTask

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

removeEnvironmentVariables

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

removeJob

--action removeJob --plan "ZCREATE1453303-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 ".*"

removeNotification

--action removeNotification --plan "ZCREATE1453303-NOTIFICATIONS" --event "Job Queued Without Capable Agents" --recipientType "CLI"

removeRepository

--action removeRepository --id "149487896"
--action removeRepository --plan "XXX-RemoveAndReplace" --repository "zrepositories git" --options "replaceRepository=cli"
--action removeRepository --plan "ZBAMBOOCLI1366751-checkout1" --id "149487893"
--action removeRepository --plan "ZCREATE1453303SCRIPT-PLAN" --name "NOT_FOUND" --continue

removeTask

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

removeTrigger

--action removeTrigger --plan "ZCREATE1453303-AA" --id "-1"
--action removeTrigger --plan "ZCREATE1453303-AA" --id "2"
--action removeTrigger --plan "ZCREATE1453303-AA" --id "2" --continue
--action removeTrigger --plan "ZCREATE1453303-AA" --name "@all"
--action removeTrigger --plan "ZCREATE1453303-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 "output/render/renderRequestBuildNumber.txt" --number "678"
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "output/render/renderRequestConfig.txt" --url "/config"
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "output/render/renderRequestJob.txt"
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "output/render/renderRequestJobBuildNumber.txt" --number "678"
--action renderRequest --build "XXX-DEF-latest" --file "output/render/renderRequestBuild.txt"
--action renderRequest --build "XXX-DEF-latest" --file "output/render/renderRequestBuildLatest.txt"
--action renderRequest --file "output/create/verifyTriggers.txt" --url "chain/admin/config/editChainTriggers.action" --requestParameters "buildKey=ZCREATE1453303-AA"
--action renderRequest --file "output/render/renderRequestConfig2.txt" --url "/browse/XXX-DEF-JOB1/config"
--action renderRequest --file "output/system/verifyExpiryOptionsAll.txt" --url "admin/buildExpiry.action"
--action renderRequest --file "output/system/verifyExpiryOptionsDefault.txt" --url "admin/buildExpiry.action"
--action renderRequest --file "output/system/verifyExpiryOptionsResults.txt" --url "admin/buildExpiry.action"
--action renderRequest --plan "XXX-DEF" --file "output/render/renderRequestPlan.txt"
--action renderRequest --plan "XXX-DEF" --job "JOB1" --file "output/render/renderRequestPlanJob.txt"
--action renderRequest --plan "XXX-DEF" --job "JOB1" --file "output/render/renderRequestPlanJobNumber.txt" --number "678"
--action renderRequest --plan "ZBAMBOOCLI1366751-checkout1" --job "JOB1" --file "output/bamboocli/renderRequestBuildResultcheckout1.txt" --url "-2/log"
--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

resumeServer

--action resumeServer

run

--action run
--action run -i "-a getApp --app @default"
--action run -i "-a getServerInfo --outputFormat 2 --outputType text" -i "-a getReplacementVariableList --outputType text"
--action run < ./src/itest/bamboo/resources/run.txt
--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 --continuename "Clone of notask" --description "Created based on ZTEMPLATE-notask"
--action clonePlan --build "ZTEMPLATE-notask" --file "build/output/bamboocli/clonePlannotaskDisable.txt" --toPlan "ZBAMBOOCLI4988851-notaskDisable" --disable
--action clonePlan --plan "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlanRemoveTesting.txt" --toPlan "ZBAMBOOCLI4988851-RemoveTesting" --name "Remove testing"

cloneProject

--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI4988851CLONE"
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI4988851CLONEDisable" --disable

createDeploymentProject

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

createPlan

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

createProject

--action createProject --project "ZCREATE5074797" --name "ZCREATE5074797 created project"
--action createProject --project "ZDEVELOPER4959040SCRIPT" --name "Project created by script 4959040"
--action createProject --project "ZPROJECTS5391424" --name "zprojects5391424" --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 ZDEPLOY5291168-BASE" --environment "QA" --version "1.0.0" --replace
--action deployEnvironment --deploymentProject "Deploy ZDEPLOY5291168-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 "ZCREATE5074797-AA" --job "@all" --stage "My stage 1"
--action disableJob --plan "ZCREATE5074797-AA" --job "myjob"

disablePlan

--action disablePlan --build "ZBAMBOOCLI4988851-checkout1"
--action disablePlan --build "ZBAMBOOCLI4988851-notask"

disableProject

--action disableProject --project "ZBAMBOOCLI4988851"

enableAgent

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

enableJob

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

enablePlan

--action enablePlan --build "ZBAMBOOCLI4988851-checkout1"
--action enablePlan --build "ZBAMBOOCLI4988851-notask"

enableProject

--action enableProject --project "ZBAMBOOCLI4988851"

exportDeploymentProject

--action exportDeploymentProject --file "build/output/deploy/exportDeploymentProject.txt" --deploymentProject "Deploy ZDEPLOY5291168-BASE" --dateFormat "yyyy.MM.dd"

exportEnvironment

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

exportJob

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

exportPlan

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

getAgentAssignmentList

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

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-1850" --artifact "license"

getArtifactDefinitionList

--action getArtifactDefinitionList --plan "ZCREATE5074797-AA"

getArtifactDependencyList

--action getArtifactDependencyList --plan "ZCREATE5074797SCRIPT-PLAN"
--action getArtifactDependencyList --plan "ZCREATE5074797SCRIPT-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-1850"
--action getBuild --build "ZCREATE5074797-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 "ZCREATE5074797-BB"
--action getBuildList --plan "ZCREATE5074797-BB" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --outputFormat 999 --columns "build,number,state,started,completed"
--action getBuildList --plan "ZCREATE5074797-BB" --field1 "STARTED" --value1 "2023-11-10T08:33:40.296+0000" --outputFormat 2 --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
--action getBuildList --plan "ZCREATE5074797-BB" --field1 "notState" --value1 "UNKNOWN"
--action getBuildList --plan "ZCREATE5074797-BB" --field1 "sTaTe" --value1 "successful"
--action getBuildList --plan "ZCREATE5074797-BB" --field1 "started" --value1 "-24h" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose
--action getBuildList --plan "ZCREATE5074797-BB" --field1 "started" --value1 "2023-11-10T08:31:14.803+0000" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
--action getBuildList --plan "ZCREATE5074797-BB" --field1 "started" --value1 "today" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose
--action getBuildList --plan "ZCREATE5074797-BB" --outputFormat 999
--action getBuildList --plan "ZCREATE5074797-BB" --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss"
--action getBuildList --plan "ZCREATE5074797-EMPTY"
--action getBuildList --plan "ZLONGRUNNING-AA"

getBuildLog

--action getBuildLog --build "ZCREATE5074797-BB-JOB"
--action getBuildLog --build "ZCREATE5074797-BB-JOB" --findReplaceRegex ".*?\\t.*?\\t(.*):\$1"
--action getBuildLog --build "ZCREATE5074797-BB-JOB" --regex "command.*"
--action getBuildLog --plan "ZCREATE5074797-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 "1850" --dateFormat "yyyy-MM-dd HH:mm:ss"

getDeploymentProject

--action getDeploymentProject --deploymentProject "Deploy ZDEPLOY5291168-BASE"

getDeploymentProjectList

--action getDeploymentProjectList

getEnvironment

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

getEnvironmentList

--action getEnvironmentList --deploymentProject "Deploy ZDEPLOY5291168-BASE"

getEnvironmentNotificationList

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

getEnvironmentRequirementList

--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY5291168-BASE" --environment "QA"
--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY5291168-BASE" --environment "QA" --id "208766060"

getEnvironmentTaskList

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

getEnvironmentTrigger

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

getEnvironmentTriggerList

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

getEnvironmentVariableList

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

getJob

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

getJobList

--action getJobList --plan "ZCREATE5074797-AA" --job "@all" --stage "My stage 1" --columns "enabled,type"
--action getJobList --plan "ZCREATE5074797-CC"
--action getJobList --plan "ZCREATE5074797SCRIPT-PLAN"
--action getJobList --plan "ZCREATE5074797SCRIPT-PLAN" --regex "TEST2.*"
--action getJobList --plan "ZCREATE5074797SCRIPT-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 "ZCREATE5074797-NOTIFICATIONS"

getPlan

--action getPlan --plan "ZBAMBOOCLI4988851-checkout1" --verbose
--action getPlan --plan "ZBAMBOOCLI4988851-checkout1Disable"
--action getPlan --plan "ZBAMBOOCLI4988851CLONE-checkout1"
--action getPlan --project "ZBAMBOOCLI4988851CLONE" --plan "ZBAMBOOCLI4988851CLONE-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 "ZCREATE5074797SCRIPT"
--action getPlanList --project "ZCREATE5074797SCRIPT" --field1 "notstate" --value1 "successful"
--action getPlanList --project "ZCREATE5074797SCRIPT" --field1 "state" --value1 "failed"
--action getPlanList --project "ZMOVE4960837"
--action getPlanList --project "ZMOVE4960837XX"
--action getPlanList --project "ZTEMPLATE" --regex "ZTEMPLATE-CHECKOUT1.*" --options "includeBranchPlans"

getProject

--action getProject --project "ZPROJECTS5391424"

getProjectList

--action getProjectList
--action getProjectList --project "ZPROJECTS5391424"

getRepository

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

getRepositoryList

--action getRepositoryList
--action getRepositoryList --plan "ZBAMBOOCLI4988851-checkout1"
--action getRepositoryList --plan "ZCREATE5074797-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 "ZCREATE5074797SCRIPT-PLAN" --stage "B updated"
--action getStage --plan "ZCREATE5074797SCRIPT-PLAN" --stage "B"

getStageList

--action getStageList --plan "ZCREATE5074797SCRIPT-PLAN"
--action getStageList --plan "ZCREATE5074797SCRIPT-PLAN" --regex "A.*"
--action getStageList --project "ZCREATE5074797SCRIPT" --plan "ZCREATE5074797SCRIPT-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 "ZCREATE5074797-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 "ZCREATE5074797-AA" --name "Scheduled"

getTriggerList

--action getTriggerList --plan "ZCREATE5074797-AA"
--action getTriggerList --plan "ZCREATE5074797-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 ZDEPLOY5291168-BASE" --environment "DEV" --after "QA"
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY5291168-BASE" --environment "QACLONE"
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY5291168-BASE" --environment "QACLONE" --after "@last"
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY5291168-BASE" --environment "QACLONE" --after "DEV"
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY5291168-BASE" --environment "QACLONE" --before "DEV"

moveJob

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

movePlans

--action movePlans --plan "ZMOVE4960837-Base1" --toProject "ZMOVE4960837XX"
--action movePlans --project "ZMOVE4960837" --regex ".*[23]" --toProject "ZMOVE4960837XX"

moveStage

--action moveStage --plan "ZCREATE5074797SCRIPT-PLAN" --stage "A" --after "B updated"
--action moveStage --plan "ZCREATE5074797SCRIPT-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 "ZCREATE5074797-RepositoryOrdering" --repository "example2"
--action orderRepository --plan "ZCREATE5074797-RepositoryOrdering" --repository "example2" --after "cli"

queueBuild

--action queueBuild --build "XXX-DEF" --wait
--action queueBuild --build "XXX-FAIL" --wait --continue
--action queueBuild --build "ZBAMBOOCLI4988851-checkout1" --wait --continue
--action queueBuild --build "ZBAMBOOCLI4988851-checkout1" --wait --timeout 90 --field "exitCode=0" --verbose
--action queueBuild --build "ZBAMBOOCLI4988851-checkout1" --wait --timeout 90 --fields "exitCode: 0" --verbose
--action queueBuild --build "ZBAMBOOCLI4988851-notask" --wait --continue
--action queueBuild --plan "ZCREATE5074797-BB" --continue
--action queueBuild --plan "ZCREATE5074797-BB" --field1 "started" --value1 "2023-11-10T08:31:14.803+0000" --field2 "state" --value2 "SUCCESSFUL"
--action queueBuild --plan "ZCREATE5074797-BB" --field1 "started" --value1 "XXX-DEF"
--action queueBuild --plan "ZCREATE5074797-BB" --field1 "started" --value1 "ZCREATE5074797-BB-1"
--action queueBuild --plan "ZCREATE5074797-BB" --wait --continue
--action queueBuild --plan "ZCREATE5074797-EMPTY" --wait --continue
--action queueBuild --plan "ZDEPLOY5291168-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 "ZCREATE5074797-BB" --field1 "started" --value1 "2023-11-10T08:31:14.803+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 "209518741"
--action removeAgent --id "209518741" --continue

removeAgentAssignment

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

removeArtifact

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

removeBuildHistory

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

removeEnvironmentNotification

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

removeEnvironmentRequirement

--action removeEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY5291168-BASE" --environment "QA" --id "208766060"

removeEnvironmentTask

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

removeEnvironmentVariables

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

removeJob

--action removeJob --plan "ZCREATE5074797-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 "208602031"
--action removeRepository --plan "ZBAMBOOCLI4988851-checkout1" --id "208602028"
--action removeRepository --plan "ZCREATE5074797SCRIPT-PLAN" --name "NOT_FOUND" --continue

removeTask

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

removeTrigger

--action removeTrigger --plan "ZCREATE5074797-AA" --id "-1"
--action removeTrigger --plan "ZCREATE5074797-AA" --id "2"
--action removeTrigger --plan "ZCREATE5074797-AA" --id "2" --continue
--action removeTrigger --plan "ZCREATE5074797-AA" --name "@all"
--action removeTrigger --plan "ZCREATE5074797-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 "1848"
--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 "1848"
--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 ZDEPLOY5291168-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=ZCREATE5074797-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 "1848"
--action renderRequest --plan "ZBAMBOOCLI4988851-checkout1" --job "JOB1" --file "build/output/bamboocli/renderRequestBuildResultcheckout1.txt" --url "-2/log"
--action renderRequest --project "ZCREATE5074797" --url "rest/api/latest/permissions/projectplan/@project@/groups/developers" --requestType "PUT" --type "JSON" --data "[\"READ\", \"WRITE\", \"VIEWCONFIGURATION\", \"WRITE\", \"BUILD\", \"CLONE\", \"ADMINISTRATION\"]"
--action renderRequest --project "ZDEVELOPER4959040SCRIPT" --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/209289535/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 ZDEPLOY5291168-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 --field "project=ZEXPORT4985101" --field "plan=ZEXPORT4985101-DISABLE" --input "-a deletePlan --plan @plan@ --name DISABLE --continue " --input "-a createPlan --plan @plan@ --replace --options addDefaultJob --disable" --input "-a getPlanList --project @project@ --regex DISABLE --outputType text --columns project,plan,enabled" --input "-a addJob --plan @plan@ --stage \"@stage@\" --job JOB2 --disable --name job2 --description myDescription" --input "-a addJob --plan @plan@ --stage \"@stage@\" --job JOB3 --type docker --docker acli" --input "-a getJobList --plan @plan@ --stage \"@stage@\" --outputType text --columns plan,job,type,docker,enabled" --input "-a addStage --plan @plan@ --stage LAST --final --manual --description last " --input "-a exportJob --plan @plan@ --job JOB2" --input "-a exportJob --plan @plan@ --job JOB3" --input "-a exportPlan --plan @plan@" --input "-a deletePlan --plan @plan@ --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=0" --input "-a runIf getReplacementVariableList --regex FAILED --value @buildState@ outputType text" --input \ "-a queueBuild --wait plan @plan@ --plan @build@\"wait" --action run input "-a exportPlan -file "-plan @plan@"
--action run --file "./src/itest/bamboo/resources/create-plan.txt" --findReplace "%PLAN%:ZCREATE1453303SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 1453303" --findReplace "%STAGE_DESCRIPTION%:First stage"--action run --file "./src/itest/bamboo/resources/developer.txt" --findReplace "%PLAN%:ZDEVELOPER1489914SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script by developer" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 1489914" --findReplace "%STAGE_DESCRIPTION%:First stage" --findReplace "%AGENT%:Z Added 1continue --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/exportPlanClicreate-plan.txt" --type "cli" --findReplace "999999%PLAN%:14757770099" ZCREATE5074797SCRIPT--dateFormat PLAN" yyyy -MM-dd"--action run --file "./src/itest/bamboo/resources/exportPlanNotifications.txtfindReplace "%PLAN_NAME%:Plan created by script" --findReplace "%plan%:XXX-Notifications"--action run --file "./src/itest/bamboo/resources/renderRequest.txt%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 5074797" --findReplace "@build@:XXX-DEF%STAGE_DESCRIPTION%:First stage"
--action run --file "./opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/replace-plan1developer.txt" --findReplace "%PLAN%:ZREPLACE1415890SCRIPTZDEVELOPER4959040SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script for replaceby developer" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 14158904959040" --findReplace "%STAGE_DESCRIPTION%:First stagestage" --findReplace "%AGENT%:Z Added 1"
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/exportPlanCli.txt" --type "cli" --findReplace "999999:49851010099" --findReplace "%AGENT%:zreplace1dateFormat "yyyy-MM-dd"
--action run --file "./opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/replace-plan2exportPlanNotifications.txt" --findReplace "%PLAN%%plan%:ZREPLACE1415890SCRIPTXXX-PLANNotifications"
--findReplace "%PLAN_NAME%:Plan created by script for replace" action run --findReplace "%PLAN_DESCRIPTION%:Plan descriptionfile "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/renderRequest.txt" --findReplace "%PROJECT_NAME%:Project created by script 1415890" --findReplace "%STAGE_DESCRIPTION%:First stage" --findReplace "%AGENT%:zreplace1"@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 ZDEPLOY1364525ZDEPLOY5291168-BASE\":--name \"Import Deploy ZDEPLOY1364525ZDEPLOY5291168-BASE\""
--action run --file "build/output/export/exportPlanCli.txt" --type "cli" --findReplace "14757774985101:147577700498510100" --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 firstBuildfirstBuild" --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 queueBuild removeBuildArtifacts --plan @plan@ --waitbuild @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 removeBuildArtifacts removeBuildHistory --build @build@" --input "-a removeBuildHistory --build @build@ --continue" --input "-a removeBuildArtifacts --job JOB1build @firstBuild@" --input "-a getArtifactList --build @build@ @firstBuild@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @plan@@firstBuild@ --job JOB1 --columns producer,name,shared --outputType text"
--action run --input "-a removeBuildArtifacts createPlan --plan ZCLI-TASKS --build @build@replace" --input "-a getArtifactList --build @build@ --columns producer,name,shared --outputType textaddVariables --plan @plan@ --field exitCode --value 0" --input "-a addStage --plan @plan@ --stage FIRST" --input "-a getArtifactList addJob --build plan @plan@ -JOB1 --columns producer,name,shared --outputType text" --input "-a removeBuildHistory --build @build@" --input "-a removeBuildHistory --build @build@ --continue" --input "-a removeBuildArtifacts --build @firstBuild@--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 getArtifactList addTask --build @firstBuild@ plan @plan@ --columns producer,name,shared job @job@ --outputType text" taskKey SCRIPT --input "description FFF -a getArtifactList -field scriptLocation=INLINE -build @firstBuild@ -field scriptBody=xxx -job JOB1 --columns producer,name,shared --outputType text"--action run final -v" --input "-a createPlan addJob --plan ZCLI@plan@ --TASKS stage @stage@ --replacejob JOB2"
--action run --input "-a addVariables createPlan --plan @plan@ ZCREATE5074797-RepositoryOrdering --field exitCode repository example --value 0options addDefaultJob,removeTrigger" --input "-a addStage addRepository --plan @plan@ --stage FIRSTname example2" --input "-a addJob addRepository --plan @plan@ --stage @stage@ name cli"
--job JOB" action run --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\" createPlan --plan ZEXPORT4985101-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 addTask addTrigger --plan @plan@ --job @job@ type scheduled --taskKey SCRIPT schedule 9:35" --description FFF input "-a addTrigger -field scriptLocation=INLINE --field scriptBody=xxx --final -v-plan @plan@ --type polling" --input "-a addJob addTrigger --plan @plan@ --stage @stage@ type remote --job JOB2"description test --action run disable" --input "-a createPlan addNotification --plan ZCREATE1453303-RepositoryOrdering --repository example --options addDefaultJob,removeTrigger@plan@ --event \"All Builds Completed\" --recipientType user --field notificationUserString=automation" --input "-a addRepository addNotification --plan @plan@ --name example2" --input event \"All Builds Completed\" -a addRepository -recipientType webhook -plan @plan@ --name cli"--action run -recipient \"build webhook\" --url https://example.gear.com" --input "-a createPlan addArtifact --plan ZEXPORT1475777@plan@ --Export job @job@ --description \"Export plan\" --replace --options addDefaultJobartifact out.txt --copyPattern out.txt --shared" --input "-a addRepository addArtifact --plan @plan@ --repository clijob @job@ --artifact out2.txt --copyPattern out2.txt --required" --input "-a addBranch addTask --plan @plan@ --branch 2.5.0job @job@ --taskKey com.atlassian.bamboo.plugins.vcs:task.vcs.checkout" --input "-a addVariables addTask --plan @plan@ --job @job@ --taskKey SCRIPT -field v1=xxx-field \"scriptLocation = INLINE\" --field \"scriptBody = echo xxx > out.txt \\n echo yyy > out2.txt\"" --input "-a addTrigger addTask --plan @plan@ --type scheduled --schedule 9:35job @job@ --taskKey ARTIFACT_DOWNLOAD --field sourcePlanKey=@plan@ --field artifactId_1=out.txt --field artifactId_2=out.txt --field localPath_2=xxx" --input "-a addTrigger addTask --plan @plan@ --type polling" --input "-a addTrigger --plan @plan@ --type remotejob @job@ --taskKey SCRIPT --final --field scriptLocation=INLINE --field scriptBody=0 --disable" --input "-a addNotification addJob --plan @plan@ --event stage \"All Builds Completed@stage@\" --recipientType user job SCRIPT --field notificationUserString=automationoptions noCheckoutTask" --input "-a addNotification addTask --plan @plan@ ---event \"All Builds Completed\" --recipientType webhook --recipient \"build webhook\" --url https://example.gear.comjob @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 addArtifact addStage --plan @plan@ --job @job@ --artifact out.txt --copyPattern out.txt --sharedstage LAST" --input "-a addArtifact addJob --plan @plan@ --job @job@ --artifact out2.txt --copyPattern out2.txt --requiredstage \"@stage@\" --job JOB2" --input "-a addTask addArtifact --plan @plan@ --job @job@ --artifact out3.txt --taskKey CHECKOUTcopyPattern out3.txt" --input "-a addTask addArtifactDependency --plan @plan@ --job @job@ --taskKey SCRIPT --field \"scriptLocation = INLINE\" --field \"scriptBody = echo xxx > out.txt \\n echo yyy > out2.txt\"artifact out.txt --location ." --input "-a addTask addStage --plan @plan@ --job @job@ --taskKey CLI_BAMBOO --field scriptLocation=INLINE --field \"scriptBody=--help\"" stage FINAL --final"
--action run --input "-a addTask createPlan --plan @plan@ ZJOBS--job @job@ --taskKey ARTIFACT_DOWNLOAD --field sourcePlanKey=@plan@ --field artifactId_1=out.txtAA --replace --options addDefaultJob" --input "-a addTask addJob --plan @plan@ --job @job@ stage \"@stage@\" --taskKey SCRIPT job JOB2 --final disable --field scriptLocation=INLINE type DOCKER --field scriptBody=0docker xxx" --input "-a addJob --plan @plan@ --stage \"@stage@\" --job SCRIPT JOB3 --options noCheckoutTaskdisable" --input "-a addTask setJobIsolationOptions --plan @plan@ --job @job@ JOB3 --type DOCKER --taskKey SCRIPT docker yyy --field scriptLocation=INLINE hostDirectory_1=\${bamboo.working.directory} --field \"scriptBody = \\n #!/bin/bash \\n echo this is a test \\n echo \"\"another test\"\" \\n echo 'yet another test' \\n \"containerDirectory_1=\${bamboo.working.directory}" --input "-a getPlan --plan @plan@" --input "-a addStage getStage --plan @plan@ --stage LAST\"@stage@\"" --input "-a addJob getJob --plan @plan@ --stage \"@stage@\" job JOB2" --input "-a getJob --plan @plan@ --job JOB2JOB3" --input "-a addArtifact getJobList --plan @plan@ --job @job@ --artifact out3.txt --copyPattern out3.txt" columns \"stage,job,job name,full key,type,docker\" --outputFormat 999 --outputType text"
--action run --input "-a addArtifactDependency createPlan --plan @plan@ --job @job@ --artifact out.txt --location ."--action run ZCREATE5074797-EMPTY --repository example --replace --options clear\"" --input "-a setReplacementVariables --field repository= --field repositoryId=" --input "-a getReplacementVariableList" --input "-a createPlan --plan ZJOBS-AA ZCREATE5074797-EMPTY --repository example --replace --options addDefaultJobclear" --input "-a getReplacementVariableList" --input "-a addJob exportPlan --plan @plan@ ZCREATE5074797--stage \"@stage@\" EMPTY"
--job JOB2 action run --disable --type DOCKER --docker xxx" --input "-a addJob createPlan --plan @plan@ ZLONGRUNNING-AA -stage \"@stage@\" -replace -job JOB3 --disableoptions addDefaultJob" --input "-a setJobIsolationOptions addTask --plan @plan@ --job JOB3 @job@ --type DOCKER --docker yyy taskKey SCRIPT --field hostDirectory_1=\${bamboo.working.directory} scriptLocation=INLINE --field containerDirectory_1=\${bamboo.working.directory}\"scriptBody=sleep 20s\" " --input "-a getPlan addStage --plan @plan@ --stage SECOND --manual" --input "-a getStage addJob --plan @plan@ --stage \"@stage@\"" @stage@ --job JOB2" --input "-a getJob addTask --plan @plan@ --job JOB2@job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=exit 0\" " --input "-a getJob addStage --plan @plan@ --job JOB3stage THIRD --manual" --input "-a getJobList addJob --plan @plan@ --columns \"stage,job,job name,full key,type,docker\" --outputFormat 999 --outputType text"--action run --stage @stage@ --job JOB3" --input "-a createPlan addTask --plan ZCREATE1453303@plan@ --EMPTY job @job@ --repository example taskKey SCRIPT --replace field scriptLocation=INLINE --options clearfield \"scriptBody=exit 0\" " --input "-a setReplacementVariables addStage --field repository= plan @plan@ --field repositoryId=" stage FOURTH --input "-a getReplacementVariableListmanual" --input "-a createPlan addJob --plan ZCREATE1453303@plan@ -EMPTY -stage @stage@ -repository example --replace --options clear-job JOB4" --input "-a getReplacementVariableList" --input "-a exportPlan --plan ZCREATE1453303-EMPTYaddTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=exit 0\" "
--action run --input "-a createPlan --plan ZLONGRUNNING-AA --replace \"ZCREATE5074797-add default job\" --options addDefaultJob" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=sleep 20sCLEAN" --input "-a updatePlan --plan @plan@ --description \"Update with a description\"" --input "-a addStage getPlan --plan @plan@"
--stage SECOND --manual" action run --input "-a addJob deletePlan --plan @plan@ ZJOBS--stage @stage@ CLONE --job JOB2continue" --input "-a addTask createPlan --plan @plan@ ZJOBS-CLONE -job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=exit 0\" replace --options addDefaultJob" --input "-a addStage addTask --plan @plan@ --stage THIRD job @job@ --manualtaskKey CLEAN" --input "-a addJob getJob --plan @plan@ --stage @stage@ --job JOB3@job@" --input "-a addTask cloneJob --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=exit 0\" name \"cloned job\" --description xxx" --input "-a addStage getJob --plan @plan@ --stage FOURTH --manualjob @job@" --input "-a addJob cloneJob --plan @plan@ --stage @stage@ job @job@ --job JOB4toJob \"cloned job2\"" --input "-a addTask getJob --plan @plan@ --job @job@" --taskKey SCRIPT input "-a cloneJob -field scriptLocation=INLINE --field \"scriptBody=exit 0\" "--action run --input "-a createPlan --plan \"ZCREATE1453303-add default job\" --options addDefaultJobplan XXX-DEF --job JOB1 --toPlan @plan@ --toJob newJob --stage NewStage --autoStage" --input "-a addTask getJob --plan @plan@ --job @job@"
--taskKey CLEAN" action run --input "-a updatePlan exportJob --plan @plan@ --description \"Update with a description\"" ZEXPORT4985101-Export --job SCRIPT -f build/output/export/scriptJob.cli" --input "-a run -f build/output/export/scriptJob.cli" --input "-a getPlan getTask --plan @plan@"--action run ZEXPORT4985101-Export --job SCRIPT --task 1" --input "-a deletePlan getTask --plan ZJOBSZEXPORT4985101-CLONE Export --continue" job SCRIPT --input task 2"
-a createPlan -action run -plan ZJOBS-CLONE verbose
--replace action run --options addDefaultJob" verbose --input common "-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 ZEXPORT1475777-Export --job SCRIPT -f output/export/scriptJob.cli" --input "-a run -f output/export/scriptJob.cli" --input "-a getTask --plan ZEXPORT1475777-Export --job SCRIPT --task 1" --input "-a getTask --plan ZEXPORT1475777-Export --job SCRIPT --task 2"
--action run --input "upm -a getAppList"
--action run --verbose

runBuildExpiry

--action runBuildExpiry

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 "ZCREATE1453303-BB" --field "endedBefore=2021-12-04 12:17:37.079" --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 ZDEPLOY1364525-BASE" --common "-a getEnvironment --deploymentProject ~Deploy ZDEPLOY1364525-BASE~ --environment @environmentId@" --special " ~"

runFromEnvironmentRequirementList

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

runFromEnvironmentTriggerList

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

runFromJobList

--action runFromJobList --plan "ZCREATE1453303SCRIPT-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 "ZCREATE1453303SCRIPT-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 output/runner/runFromListAppendAndColumn.txt --append --columns 1,2"
--action runFromList --list "Client, Server" --common "-a get@entry@Info"
--action runFromList --list "org.*,com.*" --regex "@entry@" --common "-a getAppList --regex \"@entry@\""

runFromNotificationList

--action runFromNotificationList --plan "ZCREATE1453303-NOTIFICATIONS" --regex2 ".*org.swift.bamboo.acli.*" --common "-a getReplacementVariableList --outputType text"

runFromPlanList

--action runFromPlanList --project "@aLLdeploymentProject \"Deploy ZDEPLOY5291168-BASE\" --environment ENV" -i "-a addEnvironment" -i "-a addArtifact --plan ZDEPLOY5291168-BASE --job JOB --artifact out --copyPattern out.txt --shared" -i "-a addArtifact --plan ZDEPLOY5291168-BASE --job JOB --artifact out2 --copyPattern out2.txt --shared" -i "-a addEnvironmentTask --taskKey ARTIFACT_DOWNLOAD --description \"task description\"" -i "-a getEnvironmentTaskList --outputType text --columns deploymentprojectname,environmentname,environmentid,id,description,enabled,final --options tableNoWrap" -i "-a updateEnvironmentTask --task 3 --description \"new task description\" --field localPath_0=xxx" -i "-a updateEnvironmentTask --task 3 --disable --final --field artifactId_1=out --field artifactId_0=-1 --field artifactId_2=out2 " -i "-a getEnvironmentTaskList --outputType text --columns deploymentprojectname,environmentname,environmentid,id,description,enabled,final --options tableNoWrap"
--action run --verbose --common "--plan ZCLI-EXAMPLES2 --job JOB1" -i "-a createPlan --replace --options addDefaultJob --options clear" -i "-a addArtifact --artifact out --copyPattern out.txt --shared" -i "-a addArtifact --artifact out2 --copyPattern out2.txt --shared" -i "-a addTask --taskKey ARTIFACT_DOWNLOAD --description \"task description\" " -i "-a getTaskList --outputType text --columns project,plan,job,id,description,enabled,final --options tableNoWrap" -i "-a updateTask --task 1 --description \"new task description\" --field localPath_0=xxx " -i "-a updateTask --task 1 --disable --final --artifact out --field artifactId_0=-1 --field artifactId_2=out2" -i "-a getTaskList --outputType text --columns project,plan,job,id,description,enabled,final --options tableNoWrap" -i "-a exportJob" -i "-a updateTask --task 1 --disable" -i "-a exportJob" -i "-a updateTask --task 1 --final --field artifactId_0=-1" -i "-a exportJob" -i "-a updateTask --task 1 --artifact out2" -i "-a exportJob"

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 "ZCREATE5074797-BB" --field "endedBefore=2023-11-10 08:33:27.217" --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 ZDEPLOY5291168-BASE" --common "-a getEnvironment --deploymentProject ~Deploy ZDEPLOY5291168-BASE~ --environment @environmentId@" --special " ~"

runFromEnvironmentRequirementList

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

runFromEnvironmentTriggerList

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

runFromJobList

--action runFromJobList --plan "ZCREATE5074797SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@~: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~"
--limit 7action runFromJobList --action runFromPlanList plan "ZCREATE5074797SCRIPT-PLAN" --project stage "ZCREATE1453303SCRIPTA" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@~: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~"
runFromProjectList

runFromList

--action runFromProjectList runFromList --common list "A,B" -a getServerInfo --comment ~project: @project@, name: @projectName@~clearFileBeforeAppend --input "-a getProjectList --limit 2 --special " ~"
runFromRepositoryList
file build/output/runner/runFromListAppendAndColumn.txt --append --columns 1,2"
--action runFromRepositoryList runFromList --common "-a getServerInfo --comment ~repository: @repository@, id: @repositoryId@~list "Client, Server" --regex ".*example.*" --special " ~"
runFromRequirementList
common "-a get@entry@Info"

runFromPlanList

--action runFromRequirementList runFromPlanList --plan project "ZCLI-REQUIREMENTS@aLL" --job "JOB1" --common "-a getClientInfo getServerInfo --value @requirementId@"

runFromSql

--action runFromSql --file "./src/itest/bamboo/resources/run.sql" --database "@database-test"
runFromStageList
comment ~project: @project@, name: @projectName@, plan: @plan@~" --special " ~" --limit 7
--action runFromStageList runFromPlanList --plan project "ZCREATE1453303SCRIPT-PLANZCREATE5074797SCRIPT" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@~@planName@~" --special " ~"
runFromTaskList

runFromProjectList

--action runFromTaskList runFromProjectList --plan "ZCREATE1453303SCRIPT-PLAN" --job "JOB" --common "-a getTask getServerInfo --plan @plan@ comment ~project: @project@, name: @projectName@~" --job @job@ limit 2 --task @taskId@special " ~"
runFromTriggerList

runFromRepositoryList

--action runFromTriggerList runFromRepositoryList --plan common "ZCREATE1453303-AA" a getServerInfo --common comment ~repository: @repository@, id: @repositoryId@~" -a getTrigger --plan ZCREATE1453303-AA --id @triggerId@"-regex ".*example.*" --special " ~"

runFromRequirementList

--action runFromTriggerList runFromRequirementList --plan "ZCREATE1453303ZCLI-AAREQUIREMENTS" --regex job "Repository.*JOB1" --limit 1 --common "-a removeTrigger getClientInfo --plan ZCREATE1453303-AA --id @triggerId@value @requirementId@"
runFromUserList

runFromSql

--action runFromUserList runFromSql --options "legacy" --regex "a.*file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/run.sql" --common database "-a getClientInfo --comment @userId@@database-test"

setDependencyOptions

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

setExpiryOptions

--action setExpiryOptions
--action setExpiryOptions --field "artifacts" --field "logs" --field "expireAfter=44" --field "buildsToKeep=55" --field "maximumBuildsToKeep=76" --field "deploymentsToKeep=2" --field "anyDeploymentsToKeep=3" --field "labelsToKeep=keep" --schedule "0 10 3 ? * *"
--action setExpiryOptions --field "results"

setFavoritePlan

--action setFavoritePlan --plan "ZCREATE1453303-AA"

unsetFavoritePlan

--action unsetFavoritePlan --plan "ZCREATE1453303-AA"

updateBranchingOptions

--action updateBranchingOptions --plan "ZCLI-BRANCHING" --field "planBranchCreation=pr" --field "deletePlanBranchWhenBranchRemovedFromVcs=true" --field "removedBranchCleanUpPeriodInDays=14" --field "branches.defaultBranchIntegration.enabled=true" --field "branches.defaultBranchIntegration.strategy=GATE_KEEPER" --field "branches.defaultBranchIntegration.gateKeeper.pushEnabled=true" --field "defaultNotificationStrategy=none" --field "branchTriggering=manual"
--action updateBranchingOptions --plan "ZCLI-BRANCHING2" --field "defaultNotificationStrategy=notifyCommitters" --field "branchTriggering=inherited"

updateCapability

--action updateCapability --capability "Docker" --value "/zdocker"
--action updateCapability --capability "Docker" --value "/zdocker" --agent "zcapabilities"runFromSql --sql "@/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/run.sql" -i "@?column?@" --database "@database-test"

runFromStageList

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

runFromTaskList

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

runFromTriggerList

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

runFromUserList

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

setDependencyOptions

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

setFavoritePlan

--action setFavoritePlan --plan "ZCREATE5074797-AA"

unsetFavoritePlan

--action unsetFavoritePlan --plan "ZCREATE5074797-AA"

updateCapability

--action updateCapability --capability "Perforce ExecutableDocker" --value "/zperforcezdocker"
--action updateCapability --capability "Perforce ExecutableDocker" --value "/zperforcezdocker" --agent "zcapabilities"
--action updateCapability --capability "system.git.executable.sshPerforce Executable" --value "/zgitssh" --agent "zcapabilities" --options "sshzperforce"
--action updateCapability --capability "system.git.executable.sshPerforce Executable" --value "/zgitsshzperforce" --options agent "sshzcapabilities"
--action updateCapability --capability "system.hggit.executable.ssh" --value "/zhgsshzgitssh" --agent "zcapabilities" --options "ssh"
--action updateCapability --capability "system.hggit.executable.ssh" --value "/zhgsshzgitssh" --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 "z custom 1" --value "xxx" --name "z custom 1"

updateEnvironmentRequirement

--action updateEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY1364525ZDEPLOY5291168-BASE" --environment "QA" --id "149750005208766060" --type "MATCHES" --value "zzz"

updateEnvironmentTask

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

updateEnvironmentVariables

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

updatePlan

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

updateStage

--action updateStage --plan "ZCREATE1453303SCRIPTZCREATE5074797SCRIPT-PLAN" --stage "B updated"
--action updateStage --plan "ZCREATE1453303SCRIPTZCREATE5074797SCRIPT-PLAN" --stage "B" --manual --final --name "B updated" --description "Updated description"

updateTask

--action updateTask --plan "ZBAMBOOCLI1366751ZBAMBOOCLI4988851-checkout1" --job "JOB1" --id "2" --description "task 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 "ZCREATE1453303ZCREATE5074797-BB" --job "JOB" --description "Fail" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 1" --disable --id "4" --final
--action updateTask --plan "ZCREATE1453303ZCREATE5074797-BB" --job "JOB" --description "Fail" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 1" --id "3"
--action updateTask --plan "ZCREATE1453303ZCREATE5074797-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 "XXX-DEF-6801850" --wait
--action verifyBuild --build "ZBAMBOOCLI1366751ZBAMBOOCLI4988851-checkout1"
--action verifyBuild --plan "ZLONGRUNNING-AA" --wait --timeout 40
Excerpt
Table of Contents
maxLevel1
absoluteUrltrue