Versions Compared

Key

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

...

P
Csv
sortColumn1
delimitertab
columnAttributesstyle=font-family:courier;font-size:10pt;
autoNumbertrue
 
 Command 
 bamboo --action removeRepository --name "global (delete me)" 
bamboo --action removeRepository --name "global updated (delete me)" 
bamboo --action getProjectList --file "target/output/bamboocli/deleteProjects.txt" --regex "ZBAMBOOCLI.*" --columns "key" 
bamboo --action clonePlan --build "ZTEMPLATE-checkout1" --file "target/output/bamboocli/clonePlancheckout1.txt" --toPlan "ZBAMBOOCLI5576806-checkout1" --name "Clone of checkout1" --description "Created based on ZTEMPLATE-checkout1" 
bamboo --action getPlan --plan "ZBAMBOOCLI5576806-checkout1" --verbose 
bamboo --action clonePlan --build "ZTEMPLATE-checkout1" --file "target/output/bamboocli/clonePlancheckout1Disable.txt" --toPlan "ZBAMBOOCLI5576806-checkout1Disable" --disable 
bamboo --action getPlan --plan "ZBAMBOOCLI5576806-checkout1Disable" 
bamboo --action disablePlan --build "ZBAMBOOCLI5576806-checkout1" 
bamboo --action enablePlan --build "ZBAMBOOCLI5576806-checkout1" 
bamboo --action queueBuild --build "ZBAMBOOCLI5576806-checkout1" --wait --continue 
bamboo --action clonePlan --build "ZTEMPLATE-notask" --file "target/output/bamboocli/clonePlannotask.txt" --toPlan "ZBAMBOOCLI5576806-notask" --name "Clone of notask" --description "Created based on ZTEMPLATE-notask" 
bamboo --action clonePlan --build "ZTEMPLATE-notask" --file "target/output/bamboocli/clonePlannotaskDisable.txt" --toPlan "ZBAMBOOCLI5576806-notaskDisable" --disable 
bamboo --action disablePlan --build "ZBAMBOOCLI5576806-notask" 
bamboo --action enablePlan --build "ZBAMBOOCLI5576806-notask" 
bamboo --action queueBuild --build "ZBAMBOOCLI5576806-notask" --wait --continue 
bamboo --action clonePlan --build "ZTEMPLATE-checkout1" --file "target/output/bamboocli/clonePlanRemoveTesting.txt" --toPlan "ZBAMBOOCLI5576806-RemoveTesting" --name "Remove testing" 
bamboo --action disableProject --project "ZBAMBOOCLI5576806" 
bamboo --action enableProject --project "ZBAMBOOCLI5576806" 
bamboo --action addTask --build "ZBAMBOOCLI5576806-checkout1" --job "JOB1" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} " 
bamboo --action updateTask --build "ZBAMBOOCLI5576806-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} " 
bamboo --action addTask --build "ZBAMBOOCLI5576806-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} " 
bamboo --action queueBuild --build "ZBAMBOOCLI5576806-checkout1" --wait --timeout 90 --fields "exitCode: 0" --verbose 
bamboo --action verifyBuild --build "ZBAMBOOCLI5576806-checkout1" 
bamboo --action renderRequest --build "ZBAMBOOCLI5576806-checkout1" --job "JOB1" --file "target/output/bamboocli/renderRequestBuildResultcheckout1.txt" --request "-2/log" 
bamboo --action queueBuild --build "ZBAMBOOCLI5576806-checkout1" --wait --timeout 90 --field1 "exitCode" --value1 "0" --verbose 
bamboo --action removeTask --build "ZBAMBOOCLI5576806-checkout1" --job "JOB1" --id "2" 
bamboo --action removeTask --build "ZBAMBOOCLI5576806-RemoveTesting" --job "JOB1" --id -1 
bamboo --action addRepository --plan "ZBAMBOOCLI5576806-checkout1" --repositoryKey "com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-mercurial:hg" --name "groovy" --fields "repository.hg.repositoryUrl:'http://examplegear.com/groovy-2.1.2',repository.hg.authentication:PASSWORD,repository.hg.username:,repository.hg.password:,repository.hg.branch:default,repository.hg.commandTimeout:-1,selectedWebRepositoryViewer:'bamboo.webrepositoryviewer.provided:noRepositoryViewer'" 
bamboo --action addRequirement --build "ZBAMBOOCLI5576806-checkout1" --job "JOB1" --requirement "system.builder.ant.Ant" 
bamboo --action addRequirement --build "ZBAMBOOCLI5576806-checkout1" --job "JOB1" --requirement "my-custom-requirement" --type "equal" --value "mine" 
bamboo --action updateRepository --plan "ZBAMBOOCLI5576806-checkout1" --id "76906515" --name "groovy updated" --fields "repository.hg.repositoryUrl:'http://examplegear.com/groovy-2.1.2',repository.hg.authentication:PASSWORD,repository.hg.username:,repository.hg.password:,repository.hg.branch:default,repository.hg.commandTimeout:-1,selectedWebRepositoryViewer:'bamboo.webrepositoryviewer.provided:noRepositoryViewer'" 
bamboo --action removeRepository --plan "ZBAMBOOCLI5576806-checkout1" --id "76906515" 
bamboo --action addRepository --name "global (delete me)" --repositoryKey "com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-mercurial:hg" --fields "repository.hg.repositoryUrl:'http://examplegear.com/groovy-2.1.2',repository.hg.authentication:PASSWORD,repository.hg.username:,repository.hg.password:,repository.hg.branch:default,repository.hg.commandTimeout:-1,selectedWebRepositoryViewer:'bamboo.webrepositoryviewer.provided:noRepositoryViewer'" 
bamboo --action addRepository --name "global (delete me)" --repositoryKey "com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-mercurial:hg" --replace 
bamboo --action updateRepository --id "76906516" --name "global updated (delete me)" 
bamboo --action removeRepository --id "76906516" 
bamboo --action getRepositoryList 
bamboo --action getRepositoryList --plan "ZBAMBOOCLI5576806-checkout1" 
bamboo --action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI5576806CLONE" 
bamboo --action getPlan --project "ZBAMBOOCLI5576806CLONE" --plan "ZBAMBOOCLI5576806CLONE-CHECKOUT1" 
bamboo --action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI5576806CLONEDisable" --disable 
bamboo --action getPlan --plan "ZBAMBOOCLI5576806CLONE-checkout1" 
bamboo --action getServerInfo 
bamboo --action getServerInfo --outputFormat 999 
bamboo --action getServerInfo --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mm" 
bamboo --action validateLicense 
bamboo --action getClientInfo 
bamboo --action getBuild --file "target/output/bamboocli/getBuild.txt" --build "XXX-DEF" 
bamboo --action queueBuild --build "XXX-DEF" --wait 
bamboo --action queueBuild --build "XXX-FAIL" --wait --continue 
bamboo --action getLatestBuildNumber --build "XXX-DEF" 
bamboo --action getBuild --file "target/output/bamboocli/getBuildWithResultName.txt" --build "XXX-DEF-628" 
bamboo --action verifyBuild --build "XXX-DEF-628" 
bamboo --action getArtifact --job "JOB1" --file "target/output/bamboocli/getArtifact.txt" --build "XXX-DEF" --artifact "notices" 
bamboo --action getArtifact --job "JOB1" --file "target/output/bamboocli/getArtifactWithResultName.txt" --build "XXX-DEF-628" --artifact "notices" 
bamboo --action getArtifact --file "target/output/bamboocli/getArtifactWithJob.txt" --build "XXX-DEF" --artifact "notices" --job "JOB1" 
bamboo --action getArtifact --file "target/output/bamboocli/getArtifactWithPath.txt" --build "XXX-DEF" --artifact "src/itest/groovy/cli.gant" 
bamboo --action getProjectList 
bamboo --action addLabels --build "XXX-DEF" --number -1 --labels "testlabel1 testlabel2" 
bamboo --action getBuildQueueList 
bamboo --action getBuildQueueList --project "ZBAMBOOCLI5576806" 
bamboo --action getBuildQueueList --build "XXX-DEF" 
bamboo --action addComment --build "XXX-DEF" --comment "This is a comment added by automation" 
bamboo --action addComment --build "XXX-DEF" --number "628" --file "src/itest/resources/data.txt" --findReplace "xxx:yyy" 
bamboo --action getCommentList --build "XXX-DEF" --number "628" 
bamboo --action removeLabels --build "XXX-DEF" --number -1 --labels "notfound" 
bamboo --action getLabelList --build "XXX-DEF" --number -1 
bamboo --action removeLabels --build "XXX-DEF" --number -1 --labels ".*" 
bamboo --action removeLabels --build "XXX-DEF" --number -1 --labels "testlabel1, testlabel2, notfound" 
bamboo --action addLabels --labels "morelabel1" --searchLabels "testlabel1 testlabel2" 
bamboo --action removeLabels --labels "morelabel1" --searchLabels "testlabel1,testlabel2" 
bamboo --action addLabels --build "XXX-DEF" --labels "testlabel1, testlabel2" 
bamboo --action removeLabels --build "XXX-DEF" --labels "test.*" 
bamboo --action renderRequest --build "XXX-DEF" --file "target/output/bamboocli/renderRequestBuild.txt" 
bamboo --action renderRequest --build "XXX-DEF" --job "JOB1" --file "target/output/bamboocli/renderRequestJob.txt" 
bamboo --action renderRequest --build "XXX-DEF" --job "JOB1" --file "target/output/bamboocli/renderRequestConfig.txt" --request "/config" 
bamboo --action renderRequest --file "target/output/bamboocli/renderRequestConfig2.txt" --request "/browse/XXX-DEF-JOB1/config" 
bamboo --action run --file "src/itest/resources/renderRequest.txt" --findReplace "<at:var at:name="build" />@build@:XXX-DEF" 
bamboo --action renderRequest --verbose --quiet --request "/chain/admin/config/editChainRepository.action?buildKey=XXX-DEF" --findReplaceRegex ".*(repositoryId=\d+).*:\$1" 
bamboo --action removeVariables --plan "ZBAMBOOCLI5576806-RemoveTesting" --field1 "@all" --value1 "xx" 
bamboo --action addVariables --plan "ZBAMBOOCLI5576806-RemoveTesting" --fields "Zv.a:value a,Zv.b:value b" --field1 "Zv.1" --value1 "value 1 5576806" --field2 "Zv_2" --value2 "value 2 :;<>,.?/~#$%^&amp;*()_+'" --field3 "ZPLANpassword" --value3 "XXX" --replace 
bamboo --action getVariableList --plan "ZBAMBOOCLI5576806-RemoveTesting" 
bamboo --action addVariables --fields "Zv.a:value a,Zv.b:value b" --field1 "Zv.1" --value1 "value 1 5576806" --field2 "Zv_2" --value2 "value 2 :;<>,.?/~#$%^&amp;*()_+'" --field3 "ZGLOBALpassword" --value3 "XXX" --replace 
bamboo --action getVariableList 
bamboo --action deletePlan --build "ZBAMBOOCLI5576806-notask" 
bamboo --action getProjectList --file "target/output/bamboocli2/deleteProjects.txt" --regex "ZBAMBOOCLI2.*" --columns "key" 
bamboo --action createPlan --plan "ZBAMBOOCLI25576902-AA" --projectName "ZBAMBOOCLI25576902 created project" 
bamboo --action createPlan --plan "ZBAMBOOCLI25576902-EMPTY" --projectName "ZBAMBOOCLI25576902 created project" 
bamboo --action addStage --plan "ZBAMBOOCLI25576902-AA" --stage "My stage 1" --description "My stage description" 
bamboo --action createPlan --plan "ZBAMBOOCLI25576902-BB" --name "Simple plan BB" --description "Simple plan BB description" 
bamboo --action addStage --plan "ZBAMBOOCLI25576902-BB" --stage "Stage 1" 
bamboo --action addStage --plan "ZBAMBOOCLI25576902-AA" --name "My stage 2" --description "My stage description" 
bamboo --action addJob --plan "ZBAMBOOCLI25576902-AA" --name "my job 1" --stage "My stage 1" --job "myjob" 
bamboo --action addJob --plan "ZBAMBOOCLI25576902-AA" --description "My job 1 description" --stage "My stage 1" --job "my job another" 
bamboo --action disableJob --plan "ZBAMBOOCLI25576902-AA" --job "myjob" 
bamboo --action enableJob --plan "ZBAMBOOCLI25576902-AA" --job "myjob" 
bamboo --action addJob --plan "ZBAMBOOCLI25576902-BB" --job "JOB1" --stage "Stage 1" 
bamboo --action addArtifact --plan "ZBAMBOOCLI25576902-AA" --job "myjob" --artifact "jar" --location "target" --copyPattern "**/*.jar" --shared 
bamboo --action addArtifact --plan "ZBAMBOOCLI25576902-AA" --job "myjob" --artifact "remove me" --location "target" --copyPattern "**/*.jar" 
bamboo --action removeArtifact --plan "ZBAMBOOCLI25576902-AA" --job "myjob" --artifact "jar" 
bamboo --action addTask --plan "ZBAMBOOCLI25576902-AA" --job "myjob" --taskKey "SCRIPT" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} " 
bamboo --action addTask --plan "ZBAMBOOCLI25576902-AA" --job "myjobanother" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} " 
bamboo --action addTask --plan "ZBAMBOOCLI25576902-BB" --job "JOB1" --description "Success" --taskKey "SCRIPT" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "exit 0" 
bamboo --action addTask --plan "ZBAMBOOCLI25576902-BB" --job "JOB1" --description "Long" --taskKey "SCRIPT" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "sleep 30s 
 exit -1" --disable 
bamboo --action addTask --plan "ZBAMBOOCLI25576902-BB" --job "JOB1" --description "Fail" --taskKey "SCRIPT" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "exit -1" --disable 
bamboo --action addTrigger --plan "ZBAMBOOCLI25576902-AA" --type "Scheduled" --name "scheduled trigger" --schedule "1 0 0 ? * *" 
bamboo --action addTrigger --plan "ZBAMBOOCLI25576902-AA" --type "Scheduled" --name "scheduled trigger daily" --schedule "9:35" 
bamboo --action addRepository --plan "ZBAMBOOCLI25576902-AA" --name "example" 
bamboo --action getRepository --plan "ZBAMBOOCLI25576902-AA" --name "example" 
bamboo --action addTrigger --plan "ZBAMBOOCLI25576902-AA" --type "Polling" --name "polling trigger default" --repository "example" 
bamboo --action addTrigger --plan "ZBAMBOOCLI25576902-AA" --type "Polling" --name "polling trigger interval" --repository "example" --schedule "3600" 
bamboo --action addTrigger --plan "ZBAMBOOCLI25576902-AA" --type "Polling" --name "polling trigger scheduled" --repository "example" --schedule "2 0 0 ? * *" 
bamboo --action addTrigger --plan "ZBAMBOOCLI25576902-AA" --type "Remote" --name "remote trigger" --repository "example" 
bamboo --action addTrigger --plan "ZBAMBOOCLI25576902-AA" --type "Remote" --name "remote trigger restricted" --repository "example" --ipRestriction "172.16.9.25,172.16.9.26" 
bamboo --action renderRequest --file "target/output/bamboocli2/verifyTriggers.txt" --request "chain/admin/config/editChainTriggers.action" --requestParameters "buildKey=ZBAMBOOCLI25576902-AA" 
bamboo --action removeTrigger --plan "ZBAMBOOCLI25576902-AA" --id "2" 
bamboo --action removeTrigger --plan "ZBAMBOOCLI25576902-AA" --id "-1" 
bamboo --action run --file "src/itest/resources/create-plan.txt" --findReplace "%PLAN%:ZBAMBOOCLI25576902SCRIPT-PLAN,%PLAN_NAME%:Plan created by script,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 5576902,%STAGE_DESCRIPTION%:First stage" 
bamboo --action getPlanList --project "@all" --file "target/output/bamboocli2/getPlanList.txt" 
bamboo --action getPlanList --project "ZBAMBOOCLI25576902SCRIPT" 
bamboo --action getPlanList --project "@all" --favorite 
bamboo --action getStageList --project "ZBAMBOOCLI25576902SCRIPT" --plan "ZBAMBOOCLI25576902SCRIPT-PLAN" 
bamboo --action getStageList --project "ZBAMBOOCLI25576902SCRIPT" --plan "ZBAMBOOCLI25576902SCRIPT-PLAN" --regex "A.*" 
bamboo --action getJobList --project "ZBAMBOOCLI25576902SCRIPT" --plan "ZBAMBOOCLI25576902SCRIPT-PLAN" 
bamboo --action getJobList --project "ZBAMBOOCLI25576902SCRIPT" --plan "ZBAMBOOCLI25576902SCRIPT-PLAN" --regex "TEST2.*" 
bamboo --action getBuildList --plan "ZBAMBOOCLI25576902-EMPTY" 
bamboo --action queueBuild --plan "ZBAMBOOCLI25576902-BB" --wait --continue 
bamboo --action getBuildList --plan "ZBAMBOOCLI25576902-BB" 
bamboo --action updateTask --plan "ZBAMBOOCLI25576902-BB" --job "JOB1" --description "Fail" --taskKey "SCRIPT" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "exit -1" --id "3" 
bamboo --action getBuildList --plan "ZBAMBOOCLI25576902-BB" --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss" 
bamboo --action updateTask --plan "ZBAMBOOCLI25576902-BB" --job "JOB1" --description "Long" --taskKey "SCRIPT" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "sleep 30s 
 exit -1" --id "1" 
bamboo --action queueBuild --plan "ZBAMBOOCLI25576902-BB" --continue 
bamboo --action removeAgent --agent "Z Added 1" --verbose 
bamboo --action addAgent --agent "Z Added 1" --description "Agent added by 5576902" 
bamboo --action getAgentList 
bamboo --action getAgentList --outputFormat 2 
bamboo --action removeAgent --agent "Z Added 2" --verbose 
bamboo --action addAgent --agent "Z Added 2" 
bamboo --action disableAgent --agent "Z Added 2" 
bamboo --action enableAgent --agent "Z Added 2" 
bamboo --action runFromAgentList --common "-a getServerInfo --comment ~agent: <at:var at:name="agent" />@agent@, id: <at:var at:name="agentId" />~@agentId@~" --regex "Z Added .*" --special " ~" 
bamboo --action removeAgent --agent "Z Added 2" 
bamboo --action removeAgent --agent "Z Added 2" --continue 
bamboo --action removeAgent --agent "Z Added 3" --verbose 
bamboo --action addAgent --agent "Z Added 3" 
bamboo --action getAgentList --regex "Z Added 3" --columns "id" 
bamboo --action removeAgent --id "77168652" 
bamboo --action removeAgent --id "77168652" --continue 
bamboo --action runFromProjectList --common "-a getServerInfo --comment ~project: <at:var at:name="project" />@project@, name: <at:var at:name="projectName" />~@projectName@~" --limit 2 --special " ~" 
bamboo --action runFromPlanList --project "ZBAMBOOCLI25576902SCRIPT" --common "-a getServerInfo --comment ~project: <at:var at:name="project" />, name: <at:var at:name="projectName" />, plan: <at:var at:name="plan" />@project@, name: @projectName@, plan: @plan@, name: <at:var at:name="planName" />~@planName@~" --special " ~" 
bamboo --action runFromPlanList --project "@aLL" --common "-a getServerInfo --comment ~project: <at:var at:name="project" />@project@, name: <at:var at:name="projectName" />@projectName@, plan: <at:var at:name="plan" />~@plan@~" --special " ~" --limit 7 
bamboo --action runFromStageList --plan "ZBAMBOOCLI25576902SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: <at:var at:name="project" />@project@, name: <at:var at:name="projectName" />@projectName@, plan: <at:var at:name="plan" />@plan@, name: <at:var at:name="planName" />@planName@, stageId: <at:var at:name="stageId" />@stageId@, stage: <at:var at:name="stage" />~@stage@~" --special " ~" 
bamboo --action runFromJobList --plan "ZBAMBOOCLI25576902SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: @project@, <atname:var at:name="project" /> @projectName@, plan: @plan@, name: <at:var at:name="projectName" />, plan: <at:var at:name="plan" />, name: <at:var at:name="planName" />, stageId: <at:var at:name="stageId" />, stage: <at:var at:name="stage" />, job: <at:var at:name="job" />, jobName: <at:var at:name="jobName" />~" --special " ~" 
bamboo --action runFromJobList --plan "ZBAMBOOCLI25576902SCRIPT-PLAN" --stage "A" --common "-a getServerInfo --comment ~project: <at:var at:name="project" />, name: <at:var at:name="projectName" />, plan: <at:var at:name="plan" />, name: <at:var at:name="planName" />, stageId: <at:var at:name="stageId" />, stage: <at:var at:name="stage" />, job: <at:var at:name="job" />, jobName: <at:var at:name="jobName" />~@planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~" 
bamboo --action runFromJobList --plan "ZBAMBOOCLI25576902SCRIPT-PLAN" --stage "A" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~" 
bamboo --action runFromRepositoryList --common "-a getServerInfo --comment ~repository: <at:var at:name="repository" />@repository@, id: <at:var at:name="repositoryId" />~@repositoryId@~" --regex ".*example.*" --special " ~" 
bamboo --action run --file "src/itest/resources/add-remove.txt" --findReplace "%PLAN%:ZBAMBOOCLI25576902SCRIPT-PLAN,%PLAN_NAME%:Plan created by script,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 5576902,%STAGE_DESCRIPTION%:First stage" 
bamboo --action run 
bamboo --action orderRepository --plan "ZBAMBOOCLI25576902-RepositoryOrdering" --repository "example2" 
bamboo --action getRepositoryList --plan "ZBAMBOOCLI25576902-RepositoryOrdering" 
bamboo --action orderRepository --plan "ZBAMBOOCLI25576902-RepositoryOrdering" --repository "example2" --after "cli" 
bamboo --action run --continue 
bamboo --action getNotificationList --plan "ZBAMBOOCLI25576902-NOTIFICATIONS" 
bamboo --action removeRepository --plan "ZBAMBOOCLI25576902SCRIPT-PLAN" --name "NOT_FOUND" --continue 
bamboo --action getProjectList --file "target/output/cliappfire/deleteProjects.txt" --regex "ZCLIAPPFIRE.*" --columns "key" 
bamboo --action createPlan --plan "ZCLIAPPFIRE1996913-AA" --projectName "ZCLIAPPFIRE1996913 created project" 
bamboo --action addStage --plan "ZCLIAPPFIRE1996913-AA" --stage "My stage 1" --description "My stage description" 
bamboo --action createPlan --plan "ZCLIAPPFIRE1996913-BB" --name "Simple plan BB" --description "Simple plan BB description" 
bamboo --action addStage --plan "ZCLIAPPFIRE1996913-AA" --name "My stage 2" --description "My stage description" 
bamboo --action addJob --plan "ZCLIAPPFIRE1996913-AA" --name "My job 1" --stage "My stage 1" --job "myjob" 
bamboo --action addJob --plan "ZCLIAPPFIRE1996913-AA" --name "Another job 1" --stage "My stage 1" --job "myjobanother" 
bamboo --action disableJob --plan "ZCLIAPPFIRE1996913-AA" --job "myjob" 
bamboo --action enableJob --plan "ZCLIAPPFIRE1996913-AA" --job "myjob" 
bamboo --action addArtifact --plan "ZCLIAPPFIRE1996913-AA" --job "myjob" --artifact "jar" --location "target" --copyPattern "**/*.jar" --shared 
bamboo --action addArtifact --plan "ZCLIAPPFIRE1996913-AA" --job "myjob" --artifact "remove me" --location "target" --copyPattern "**/*.jar" 
bamboo --action removeArtifact --plan "ZCLIAPPFIRE1996913-AA" --job "myjob" --artifact "jar" 
bamboo --action addTask --plan "ZCLIAPPFIRE1996913-AA" --job "myjob" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} " 
bamboo --action addTask --plan "ZCLIAPPFIRE1996913-AA" --job "myjobanother" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} " 
bamboo --action addTrigger --plan "ZCLIAPPFIRE1996913-AA" --type "Scheduled" --name "scheduled trigger" --schedule "1 0 0 ? * *" 
bamboo --action addTrigger --plan "ZCLIAPPFIRE1996913-AA" --type "Scheduled" --name "scheduled trigger daily" --schedule "9:35" 
bamboo --action addRepository --plan "ZCLIAPPFIRE1996913-AA" --name "example" 
bamboo --action addTrigger --plan "ZCLIAPPFIRE1996913-AA" --type "Polling" --name "polling trigger default" --repository "example" 
bamboo --action addTrigger --plan "ZCLIAPPFIRE1996913-AA" --type "Polling" --name "polling trigger interval" --repository "example" --schedule "3600" 
bamboo --action addTrigger --plan "ZCLIAPPFIRE1996913-AA" --type "Polling" --name "polling trigger scheduled" --repository "example" --schedule "2 0 0 ? * *" 
bamboo --action addTrigger --plan "ZCLIAPPFIRE1996913-AA" --type "Remote" --name "remote trigger" --repository "example" 
bamboo --action addTrigger --plan "ZCLIAPPFIRE1996913-AA" --type "Remote" --name "remote trigger restricted" --repository "example" --ipRestriction "172.16.9.25,172.16.9.26" 
bamboo --action renderRequest --file "target/output/cliappfire/verifyTriggers.txt" --request "chain/admin/config/editChainTriggers.action" --requestParameters "buildKey=ZCLIAPPFIRE1996913-AA" 
bamboo --action removeTrigger --plan "ZCLIAPPFIRE1996913-AA" --id "2" 
bamboo --action removeTrigger --plan "ZCLIAPPFIRE1996913-AA" --id "-1" 
bamboo --action run --file "src/itest/resources/create-plan.txt" --findReplace "%PLAN%:ZCLIAPPFIRE1996913SCRIPT-PLAN,%PLAN_NAME%:Plan created by script,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 1996913,%STAGE_DESCRIPTION%:First stage" 
bamboo --action getPlanList --project "@all" --file "target/output/cliappfire/getPlanList.txt" 
bamboo --action getPlanList --project "ZCLIAPPFIRE1996913SCRIPT" 
bamboo --action getStageList --project "ZCLIAPPFIRE1996913SCRIPT" --plan "ZCLIAPPFIRE1996913SCRIPT-PLAN" 
bamboo --action getStageList --project "ZCLIAPPFIRE1996913SCRIPT" --plan "ZCLIAPPFIRE1996913SCRIPT-PLAN" --regex "A.*" 
bamboo --action getJobList --project "ZCLIAPPFIRE1996913SCRIPT" --plan "ZCLIAPPFIRE1996913SCRIPT-PLAN" 
bamboo --action getJobList --project "ZCLIAPPFIRE1996913SCRIPT" --plan "ZCLIAPPFIRE1996913SCRIPT-PLAN" --regex "TEST2.*" 
bamboo --action runFromPlanList --project "ZCLIAPPFIRE1996913SCRIPT" --common "-a getServerInfo --comment ~project: <at:var at:name="project" />@project@, name: <at:var at:name="projectName" />, plan: <at:var at:name="plan" />, name: <at:var at:name="planName" />~@projectName@, plan: @plan@, name: @planName@~" --special " ~" 
bamboo --action runFromStageList --plan "ZCLIAPPFIRE1996913SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: <at:var at:name="project" />@project@, name: <at:var at:name="projectName" />@projectName@, plan: <at:var at:name="plan" />@plan@, name: <at:var at:name="planName" />@planName@, stageId: <at:var at:name="stageId" />, stage: <at:var at:name="stage" />~@stageId@, stage: @stage@~" --special " ~" 
bamboo --action runFromJobList --plan "ZCLIAPPFIRE1996913SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: <at:var at:name="project" />@project@, name: <at:var at:name="projectName" />, plan: <at:var at:name="plan" />, name: <at:var at:name="planName" />, stageId: <at:var at:name="stageId" />, stage: <at:var at:name="stage" />, job: <at:var at:name="job" />, jobName: <at:var at:name="jobName" />~@projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~" 
bamboo --action runFromJobList --plan "ZCLIAPPFIRE1996913SCRIPT-PLAN" --stage "A" --common "-a getServerInfo --comment ~project: <at:var at:name="project" />, name: <at:var at:name="projectName" />, plan: <at:var at:name="plan" /> getServerInfo --comment ~project: @project@, name: <at:var at:name="planName" />, stageId: <at:var at:name="stageId" />@projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: <at:var at:name="stage" />@stage@, job: <at:var at:name="job" />@job@, jobName: <at:var at:name="jobName" />~@jobName@~" --special " ~" 
bamboo --action run --file "src/itest/resources/add-remove.txt" --findReplace "%PLAN%:ZCLIAPPFIRE1996913SCRIPT-PLAN,%PLAN_NAME%:Plan created by script,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 1996913,%STAGE_DESCRIPTION%:First stage" 
bamboo --action removeRepository --plan "ZCLIAPPFIRE1996913SCRIPT-PLAN" --name "NOT_FOUND" --continue