Versions Compared
compared with
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 30173072012440" |
--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 "ZCREATE3017307ZCREATE2012440" |
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE3017307ZCREATE2012440-AA" |
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE3017307ZCREATE2012440-AA-MYJOB" |
--action addAgentAssignment --agent "zdeploy" --assignment "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --type "DEPLOYMENT_PROJECT" --autoAgent |
--action addAgentAssignment --agent "zdeploy" --assignment "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE:QA" --type "ENVIRONMENT" --autoAgent |
addArtifact
--action addArtifact --plan "ZCREATE3017307ZCREATE2012440-AA" --job "MYJOB" --artifact "jar" --location "target" --copyPattern "**/*.jar" --shared |
--action addArtifact --plan "ZCREATE3017307ZCREATE2012440-AA" --job "myjob" --artifact "jar2" --location "target" --copyPattern "**/*.jar" --required |
--action addArtifact --plan "ZCREATE3017307ZCREATE2012440-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 "1217389" --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/data.txt" --findReplace "xxx:yyy" |
addEnvironment
--action addEnvironment --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --name "DEV" |
--action addEnvironment --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --name "QA" --description "Environment description" |
--action addEnvironment --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1" --name "QA" |
addEnvironmentNotification
--action addEnvironmentNotification --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --event "Deployment finished" --recipientType "CLI" --field "cliAction = -a getClientInfo" |
--action addEnvironmentNotification --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --event "Deployment started and finished" --recipientType "CLI" --field "cliAction = -a getClientInfo" |
addEnvironmentRequirement
--action addEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --requirement "system.builder.ant.Ant" |
--action addEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --requirement "xxx" --type "EQUALS" --value "yyy" |
addEnvironmentTask
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "DEV" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit -99" |
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --taskKey "GROOVY" --fields "label:Groovy,buildJdk:JDK,scriptLocation:INLINE" --field "scriptBody = 0" |
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --taskKey "GROOVY" --fields "label:Groovy,buildJdk:JDK,scriptLocation:INLINE" --field "scriptBody = 1" --final |
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = sleep 10 && echo xxx > out.txt" |
--action addEnvironmentTask --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1" --environment "QA" --taskKey "SCRIPT" --field1 scriptLocation --value1 INLINE --field2 scriptBody --value2 "echo xxx > out.txt" |
addEnvironmentTrigger
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --stage "FIRST" --type "After successful stage" --description "for branch" --branch "2.5.0" --verbose |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --type "After successful deployment" --triggeringEnvironment "DEV" |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --type "After successful stage" --stage "FIRST" --disable |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --type "AfterSuccessfulPlan" |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --type "Scheduled" --description "scheduled trigger" --schedule "1 0 0 ? * *" |
addEnvironmentVariables
--action addEnvironmentVariables --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --fields "Zv.a:value a,Zv.b:value b" --field "Zv.1=value 1 31472022145376" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZPLANpassword=XXX" --replace |
addGroup
--action addGroup --group "group1" |
--action addGroup --group "group1" --continue |
addJob
--action addJob --plan "ZCREATE3017307ZCREATE2012440-AA" --description "My job 1 description" --stage "My stage 1" --job "my job another" |
--action addJob --plan "ZCREATE3017307ZCREATE2012440-AA" --job "REMOVE" --stage "My stage 1" |
--action addJob --plan "ZCREATE3017307ZCREATE2012440-AA" --name "myjob 1" --stage "My stage 1" --job "myjob" |
--action addJob --plan "ZCREATE3017307ZCREATE2012440-BB" --job "JOB" --stage "Stage 1" |
--action addJob --plan "ZCREATE3017307ZCREATE2012440-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" |
addRepository
--action addNotification addRepository --plan "ZCREATE3017307-NOTIFICATIONSname "global (delete me)" --event "Job Queued Without Capable AgentsrepositoryKey "GIT" --recipientType "CLI" --field "cliAction = -a getClientInfo" |
credentials "bitbucket-cloud-read-only" --continue |
--action addRepository --name "cli-sshglobal (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 "/opt/atlassian/pipelines/agent/build/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 "/opt/atlassian/pipelines/agent/build/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 --plan "ZBAMBOOCLI2890849-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 "ZCREATE3017307-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 "ZBAMBOOCLI1919202-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 "ZCREATE2012440-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 "ZCREATE2012440-AA" --name "My stage 2" --description "My stage description" |
--action addStage --plan "ZCREATE2012440-AA" --stage "My stage 1" --description "My stage description" |
--action addStage --plan "ZCREATE2012440-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 "ZBAMBOOCLI1919202-checkout1" --job "JOB1" --requirement "my-custom-requirementtaskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "initial description before update" --type "equalfields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --value field1 "minescriptLocation" --action addRequirement value1 "INLINE" --plan field2 "ZCLI-REQUIREMENTSscriptBody" --job "JOB1" --requirement "system.builder.groovy.Gradle" |
value2 "echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} " |
--action addStage addTask --plan "ZCREATE3017307ZBAMBOOCLI1919202-AAcheckout1" --name job "My stage 2JOB1" --description "My stage description" |
--action addStage --plan "ZCREATE3017307-AA" --stage "My stage 1" --description "My stage description" |
--action addStage --plan "ZCREATE3017307-BB" --stage "Stage 1" |
addTask
--action addTask --file "build/output/tasks/script.txt" 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 "JOBJOB2" --taskKey "SCRIPT" --description "fileReferenceARTIFACT_DOWNLOAD" --field "scriptLocationsourcePlanKey=INLINE" --field "scriptBody=@fileZCLI-TASKS" |
--action addTask --plan "ZBAMBOOCLI2890849ZCLI-checkout1TASKS" --job "JOB1JOB2" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.scriptSSH" --description "initial description before updatefile "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/sshkey" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvvfield "host=build" --field1 "scriptLocationfield "username_ssh_key=root" --value1 "INLINE" --field2 "scriptBody" --value2 "field "authType=KEY" --field "private_key=@file" --field "command=bash script.sh" --field "sshAuthTypeSource=SSH" |
--action addTask --plan "ZCREATE2012440-AA" --job "myjob" --taskKey "SCRIPT" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field "scriptLocation=INLINE" --field "scriptBody = echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} " |
--action addTask --plan "ZBAMBOOCLI2890849ZCREATE2012440-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 "ZCLIZCREATE2012440-TASKSBB" --job "JOB2JOB" --taskKey description "ARTIFACT_DOWNLOADFail" --taskKey "SCRIPT" --field "sourcePlanKeyscriptLocation = ZCLI-TASKS"INLINE" --field "scriptBody = exit 1" --disable |
--action addTask --plan "ZCLIZCREATE2012440-TASKSBB" --job "JOB2JOB" --taskKey description "SSHLong" --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/sshkeytaskKey "SCRIPT" --field "hostscriptLocation = buildINLINE" --field "username_ssh_key=rootscriptBody = sleep 30s exit 1" --disable |
--action addTask --plan "ZCREATE2012440-BB" --job "JOB" --field description "authType=KEYSuccess" --field "private_key=@filetaskKey "SCRIPT" --field "command=bash script.shscriptLocation = INLINE" --field "sshAuthTypeSourcescriptBody = SSHexit 0" |
--action addTask --plan "ZCREATE3017307ZEXPORT1916099-AAExport" --job "myjobJOB1" --taskKey "SCRIPTARTIFACT_DOWNLOAD" --description "initial description before updatefield "sourcePlanKey=ZEXPORT1916099-Export" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field "scriptLocation=INLINE" --field "scriptBody = echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} field "artifactId_1=out.txt" |
addTrigger
--action addTrigger --plan "ZCREATE2012440-AA" --type "Polling" |
--action addTask addTrigger --plan "ZCREATE3017307ZCREATE2012440-AA" --job type "myjobanotherPolling" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.scriptdescription "polling trigger interval" --description "initial description before updaterepository "example" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field "scriptLocation=INLINE" --field "scriptBody = echo 'exitCode: \${bamboo.exitCode}'; exit \${bamboo.exitCode} " |
--action addTask --plan "ZCREATE3017307-BB" --job "JOB" --description "Fail" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 1" --disable |
--action addTask --plan "ZCREATE3017307-BB" --job "JOB" --description "Long" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = sleep 30s exit 1" --disable |
--action addTask --plan "ZCREATE3017307-BB" --job "JOB" --description "Success" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 0" |
--action addTask --plan "ZEXPORT2886732-Export" --job "JOB1" --taskKey "ARTIFACT_DOWNLOAD" --field "sourcePlanKey=ZEXPORT2886732-Export" --field "artifactId_1=out.txt" |
addTrigger
--action addTrigger --plan "ZCREATE3017307-AA" --type "Polling" |
--action addTrigger --plan "ZCREATE3017307-AA" --type "Polling" --description "polling trigger interval" --repository "example" --schedule "3600" |
--action addTrigger --plan "ZCREATE3017307-AA" --type "Polling" --description "polling trigger scheduled" --repository "example" --schedule "2 0 0 ? * *" |
--action addTrigger --plan "ZCREATE3017307-AA" --type "Remote" --description "remote trigger restricted" --repository "example" --ipRestriction "172.16.9.25,172.16.9.26" |
--action addTrigger --plan "ZCREATE3017307-AA" --type "Remote" --description "remote trigger" --repository "example" |
--action addTrigger --plan "ZCREATE3017307-AA" --type "RemoteBitbucketServer" |
--action addTrigger --plan "ZCREATE3017307-AA" --type "Scheduled" --description "scheduled trigger" --schedule "1 0 0 ? * *" |
--action addTrigger --plan "ZCREATE3017307-AA" --type "Scheduled" --schedule "9:35" --successfulPlans "XXX-DEF,YYY-DEF" |
addUser
--action addUser --userId "user1" --userEmail "automation+user1@appfire.com" --group "bamboo-admin" --continue |
--action addUser --userId "user1" --userEmail "automation+user1@appfire.com" --userFullName "User 1" --group "bamboo-admin" |
addVariables
--action addVariables --field "Zv.a=value a" --field "Zv.b=value b" --field "Zv.1=value 1 3213774" --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 3213774" --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 3213774" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZPLANpassword=XXX" --replace |
addWebhookTemplate
--action addWebhookTemplate --name "ZZ" --data "{\"xxx\":\"yyy\"}" --replace |
cloneEnvironment
--action cloneEnvironment --deploymentProject "Deploy ZDEPLOY3147202-BASE" --environment "QA" --name "QACLONE" --description "clone of QA" |
clonePlan
--action clonePlan --build "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlancheckout1.txt" --toPlan "ZBAMBOOCLI2890849-checkout1" --name "Clone of checkout1" --description "Created based on ZTEMPLATE-checkout1" |
--action clonePlan --build "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlancheckout1Disable.txt" --toPlan "ZBAMBOOCLI2890849-checkout1Disable" --disable |
--action clonePlan --build "ZTEMPLATE-notask" --file "build/output/bamboocli/clonePlannotask.txt" --toPlan "ZBAMBOOCLI2890849-notask" --name "Clone of notask" --description "Created based on ZTEMPLATE-notask" |
--action clonePlan --build "ZTEMPLATE-notask" --file "build/output/bamboocli/clonePlannotaskDisable.txt" --toPlan "ZBAMBOOCLI2890849-notaskDisable" --disable |
--action clonePlan --plan "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlanRemoveTesting.txt" --toPlan "ZBAMBOOCLI2890849-RemoveTesting" --name "Remove testing" |
cloneProject
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI2890849CLONE" |
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI2890849CLONEDisable" --disable |
createDeploymentProject
--action createDeploymentProject --plan "ZDEPLOY3147202-BASE" --name "Deploy ZDEPLOY3147202-BASE" --description "Description for deploy" |
--action createDeploymentProject --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --name "Deploy ZTEMPLATE-CHECKOUT1" |
createPlan
--action createPlan --plan "ZCREATE3017307-AA" --projectName "ZCREATE3017307 created project" |
--action createPlan --plan "ZCREATE3017307-BB" --name "Simple plan BB" --description "Simple plan BB description" |
--action createPlan --plan "ZCREATE3017307-CC" --options "addDefaultJob" |
createProject
--action createProject --project "ZCREATE3017307" --name "ZCREATE3017307 created project" |
--action createProject --project "ZDEVELOPER2865101SCRIPT" --name "Project created by script 2865101" |
--action createProject --project "ZPROJECTS3278328" --name "zprojects3278328" --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 ZDEPLOY3147202-BASE" --environment "QA" --version "1.0.0" --replace |
--action deployEnvironment --deploymentProject "Deploy ZDEPLOY3147202-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 "ZCREATE3017307-AA" --job "@all" --stage "My stage 1" |
--action disableJob --plan "ZCREATE3017307-AA" --job "myjob" |
disablePlan
--action disablePlan --build "ZBAMBOOCLI2890849-checkout1" |
--action disablePlan --build "ZBAMBOOCLI2890849-notask" |
disableProject
--action disableProject --project "ZBAMBOOCLI2890849" |
enableAgent
--action enableAgent --agent "Z Added 2" |
enableJob
--action enableJob --plan "ZCREATE3017307-AA" --job "MYJOB" |
--action enableJob --plan "ZCREATE3017307-AA" --job "myjob" |
enablePlan
--action enablePlan --build "ZBAMBOOCLI2890849-checkout1" |
--action enablePlan --build "ZBAMBOOCLI2890849-notask" |
enableProject
--action enableProject --project "ZBAMBOOCLI2890849" |
exportDeploymentProject
--action exportDeploymentProject --file "build/output/deploy/exportDeploymentProject.txt" --deploymentProject "Deploy ZDEPLOY3147202-BASE" --dateFormat "yyyy.MM.dd" |
--action exportDeploymentProject --file "build/output/deploy/exportDeploymentProjectJava.txt" --deploymentProject "Deploy ZDEPLOY3147202-BASE" --type "java" --dateFormat "yyyy.MM.dd" |
exportEnvironment
--action exportEnvironment --deploymentProject "Deploy ZDEPLOY3147202-BASE" --environment "QA" --dateFormat "yyyy-MM-dd" |
exportJob
--action exportJob --plan "ZEXPORT2886732-Export" --job "JOB1" --dateFormat "yyyy-MM-dd" |
exportPlan
--action exportPlan --file "build/output/export/exportPlanCli.txt" --plan "ZEXPORT2886732-Export" --dateFormat "yyyy-MM-dd" |
--action exportPlan --file "build/output/export/exportPlanJava.txt" --plan "ZEXPORT2886732-Export" --type "java" --dateFormat "yyyy-MM-dd" |
--action exportPlan --plan "ZBAMBOOCLI2890849-checkout1" |
--action exportPlan --plan "ZCLI-REQUIREMENTS" --job "JOB1" --file "build/output/requirements/exportPlan.txt" |
--action exportPlan --plan "ZEXPORT2886732-Export" --type "java" |
getAgentAssignmentList
--action getAgentAssignmentList --agent "zdeploy" --regex ".*ZDEPLOY3147202.*" |
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-1217" --artifact "license" |
getArtifactDefinitionList
--action getArtifactDefinitionList --plan "ZCREATE3017307-AA" |
getArtifactDependencyList
--action getArtifactDependencyList --plan "ZCREATE3017307SCRIPT-PLAN" |
--action getArtifactDependencyList --plan "ZCREATE3017307SCRIPT-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-1217" |
--action getBuild --build "ZCREATE3017307-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 "ZCREATE3017307-BB" |
--action getBuildList --plan "ZCREATE3017307-BB" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --outputFormat 999 --columns "build,number,state,started,completed" |
--action getBuildList --plan "ZCREATE3017307-BB" --field1 "STARTED" --value1 "2022-06-28T13:31:46.385+0000" --outputFormat 2 --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" |
--action getBuildList --plan "ZCREATE3017307-BB" --field1 "notState" --value1 "UNKNOWN" |
--action getBuildList --plan "ZCREATE3017307-BB" --field1 "sTaTe" --value1 "successful" |
--action getBuildList --plan "ZCREATE3017307-BB" --field1 "started" --value1 "-24h" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose |
--action getBuildList --plan "ZCREATE3017307-BB" --field1 "started" --value1 "2022-06-28T13:30:17.315+0000" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" |
--action getBuildList --plan "ZCREATE3017307-BB" --field1 "started" --value1 "today" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose |
--action getBuildList --plan "ZCREATE3017307-BB" --outputFormat 999 |
--action getBuildList --plan "ZCREATE3017307-BB" --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss" |
--action getBuildList --plan "ZCREATE3017307-EMPTY" |
--action getBuildList --plan "ZLONGRUNNING-AA" |
getBuildLog
--action getBuildLog --build "ZCREATE3017307-BB-JOB" |
--action getBuildLog --build "ZCREATE3017307-BB-JOB" --findReplaceRegex ".*?\\t.*?\\t(.*):\$1" |
--action getBuildLog --build "ZCREATE3017307-BB-JOB" --regex "command.*" |
--action getBuildLog --plan "ZCREATE3017307-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 "1217" --dateFormat "yyyy-MM-dd HH:mm:ss" |
getDeploymentProject
--action getDeploymentProject --deploymentProject "Deploy ZDEPLOY3147202-BASE" |
getDeploymentProjectList
--action getDeploymentProjectList |
getEnvironment
--action getEnvironment --deploymentProject "Deploy ZDEPLOY3147202-BASE" --environment "QA" |
getEnvironmentList
--action getEnvironmentList --deploymentProject "Deploy ZDEPLOY3147202-BASE" |
getEnvironmentNotificationList
--action getEnvironmentNotificationList --deploymentProject "Deploy ZDEPLOY3147202-BASE" --environment "QA" |
getEnvironmentRequirementList
--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY3147202-BASE" --environment "QA" |
--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY3147202-BASE" --environment "QA" --id "236717641" |
getEnvironmentTaskList
--action getEnvironmentTaskList --deploymentProject "Deploy ZDEPLOY3147202-BASE" --environment "QA" |
getEnvironmentTrigger
--action getEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY3147202-BASE" --environment "QA" --name "After successful deployment" |
--action getEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY3147202-BASE" --environment "QA" --name "Scheduled" |
getEnvironmentTriggerList
--action getEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY3147202-BASE" --environment "QA" |
getEnvironmentVariableList
--action getEnvironmentVariableList --deploymentProject "Deploy ZDEPLOY3147202-BASE" --environment "QA" |
getJob
--action getJob --plan "ZCREATE3017307-CC" --job "JOB1" |
--action getJob --plan "ZCREATE3017307-CC" --job "JOBDocker" |
getJobList
--action getJobList --plan "ZCREATE3017307-AA" --job "@all" --stage "My stage 1" --columns "enabled,type" |
--action getJobList --plan "ZCREATE3017307-CC" |
--action getJobList --plan "ZCREATE3017307SCRIPT-PLAN" |
--action getJobList --plan "ZCREATE3017307SCRIPT-PLAN" --regex "TEST2.*" |
--action getJobList --plan "ZCREATE3017307SCRIPT-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 "ZCREATE3017307-NOTIFICATIONS" |
--action getNotificationList --plan "ZCREATE3017307-NOTIFICATIONS" --regex "Job.*" --regex2 ".*org.swift.bamboo.acli.*" |
getPlan
--action getPlan --plan "ZBAMBOOCLI2890849-checkout1" --verbose |
--action getPlan --plan "ZBAMBOOCLI2890849-checkout1Disable" |
--action getPlan --plan "ZBAMBOOCLI2890849CLONE-checkout1" |
--action getPlan --project "ZBAMBOOCLI2890849CLONE" --plan "ZBAMBOOCLI2890849CLONE-CHECKOUT1" |
getPlanList
--action getPlanList --project "@all" --excludeDisabled schedule "3600" |
--action addTrigger --plan "ZCREATE2012440-AA" --type "Polling" --description "polling trigger scheduled" --repository "example" --schedule "2 0 0 ? * *" |
--action addTrigger --plan "ZCREATE2012440-AA" --type "Remote" --description "remote trigger restricted" --repository "example" --ipRestriction "172.16.9.25,172.16.9.26" |
--action addTrigger --plan "ZCREATE2012440-AA" --type "Remote" --description "remote trigger" --repository "example" |
--action addTrigger --plan "ZCREATE2012440-AA" --type "RemoteBitbucketServer" |
--action addTrigger --plan "ZCREATE2012440-AA" --type "Scheduled" --description "scheduled trigger" --schedule "1 0 0 ? * *" |
--action addTrigger --plan "ZCREATE2012440-AA" --type "Scheduled" --schedule "9:35" --successfulPlans "XXX-DEF,YYY-DEF" |
addUser
--action addUser --userId "user1" --userEmail "automation+user1@appfire.com" --group "bamboo-admin" --continue |
--action addUser --userId "user1" --userEmail "automation+user1@appfire.com" --userFullName "User 1" --group "bamboo-admin" |
addVariables
--action addVariables --field "Zv.a=value a" --field "Zv.b=value b" --field "Zv.1=value 1 2200313" --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 2200313" --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 2200313" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZPLANpassword=XXX" --replace |
addWebhookTemplate
--action addWebhookTemplate --name "ZZ" --data "{\"xxx\":\"yyy\"}" --replace |
cloneEnvironment
--action cloneEnvironment --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QA" --name "QACLONE" --description "clone of QA" |
clonePlan
--action clonePlan --build "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlancheckout1.txt" --toPlan "ZBAMBOOCLI1919202-checkout1" --name "Clone of checkout1" --description "Created based on ZTEMPLATE-checkout1" |
--action clonePlan --build "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlancheckout1Disable.txt" --toPlan "ZBAMBOOCLI1919202-checkout1Disable" --disable |
--action clonePlan --build "ZTEMPLATE-notask" --file "build/output/bamboocli/clonePlannotask.txt" --toPlan "ZBAMBOOCLI1919202-notask" --name "Clone of notask" --description "Created based on ZTEMPLATE-notask" |
--action clonePlan --build "ZTEMPLATE-notask" --file "build/output/bamboocli/clonePlannotaskDisable.txt" --toPlan "ZBAMBOOCLI1919202-notaskDisable" --disable |
--action clonePlan --plan "ZTEMPLATE-checkout1" --file "build/output/bamboocli/clonePlanRemoveTesting.txt" --toPlan "ZBAMBOOCLI1919202-RemoveTesting" --name "Remove testing" |
cloneProject
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI1919202CLONE" |
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI1919202CLONEDisable" --disable |
createDeploymentProject
--action createDeploymentProject --plan "ZDEPLOY2145376-BASE" --name "Deploy ZDEPLOY2145376-BASE" --description "Description for deploy" |
--action createDeploymentProject --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --name "Deploy ZTEMPLATE-CHECKOUT1" |
createPlan
--action createPlan --plan "ZCREATE2012440-AA" --projectName "ZCREATE2012440 created project" |
--action createPlan --plan "ZCREATE2012440-BB" --name "Simple plan BB" --description "Simple plan BB description" |
--action createPlan --plan "ZCREATE2012440-CC" --options "addDefaultJob" |
createProject
--action createProject --project "ZCREATE2012440" --name "ZCREATE2012440 created project" |
--action createProject --project "ZDEVELOPER1894116SCRIPT" --name "Project created by script 1894116" |
--action createProject --project "ZDEVELOPER7169238SCRIPT" --name "Project created by script 7169238" |
--action createProject --project "ZPROJECTS2367921" --name "zprojects2367921" --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 ZDEPLOY2145376-BASE" --environment "QA" --version "1.0.0" --replace |
--action deployEnvironment --deploymentProject "Deploy ZDEPLOY2145376-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 "ZCREATE2012440-AA" --job "@all" --stage "My stage 1" |
--action disableJob --plan "ZCREATE2012440-AA" --job "myjob" |
disablePlan
--action disablePlan --build "ZBAMBOOCLI1919202-checkout1" |
--action disablePlan --build "ZBAMBOOCLI1919202-notask" |
disableProject
--action disableProject --project "ZBAMBOOCLI1919202" |
enableAgent
--action enableAgent --agent "Z Added 2" |
enableJob
--action enableJob --plan "ZCREATE2012440-AA" --job "MYJOB" |
--action enableJob --plan "ZCREATE2012440-AA" --job "myjob" |
enablePlan
--action enablePlan --build "ZBAMBOOCLI1919202-checkout1" |
--action enablePlan --build "ZBAMBOOCLI1919202-notask" |
enableProject
--action enableProject --project "ZBAMBOOCLI1919202" |
exportDeploymentProject
--action exportDeploymentProject --file "build/output/deploy/exportDeploymentProject.txt" --deploymentProject "Deploy ZDEPLOY2145376-BASE" --dateFormat "yyyy.MM.dd" |
--action exportDeploymentProject --file "build/output/deploy/exportDeploymentProjectJava.txt" --deploymentProject "Deploy ZDEPLOY2145376-BASE" --type "java" --dateFormat "yyyy.MM.dd" |
exportEnvironment
--action exportEnvironment --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QA" --dateFormat "yyyy-MM-dd" |
exportJob
--action exportJob --plan "ZEXPORT1916099-Export" --job "JOB1" --dateFormat "yyyy-MM-dd" |
exportPlan
--action exportPlan --file "build/output/export/exportPlanCli.txt" --plan "ZEXPORT1916099-Export" --dateFormat "yyyy-MM-dd" |
--action exportPlan --file "build/output/export/exportPlanJava.txt" --plan "ZEXPORT1916099-Export" --type "java" --dateFormat "yyyy-MM-dd" |
--action exportPlan --plan "ZBAMBOOCLI1919202-checkout1" |
--action exportPlan --plan "ZCLI-REQUIREMENTS" --job "JOB1" --file "build/output/requirements/exportPlan.txt" |
--action exportPlan --plan "ZEXPORT1916099-Export" --type "java" |
getAgentAssignmentList
--action getAgentAssignmentList --agent "zdeploy" --regex ".*ZDEPLOY2145376.*" |
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-389" --artifact "license" |
getArtifactDefinitionList
--action getArtifactDefinitionList --plan "ZCREATE2012440-AA" |
getArtifactDependencyList
--action getArtifactDependencyList --plan "ZCREATE2012440SCRIPT-PLAN" |
--action getArtifactDependencyList --plan "ZCREATE2012440SCRIPT-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-389" |
--action getBuild --build "ZCREATE2012440-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 "ZCREATE2012440-BB" |
--action getBuildList --plan "ZCREATE2012440-BB" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --outputFormat 999 --columns "build,number,state,started,completed" |
--action getBuildList --plan "ZCREATE2012440-BB" --field1 "STARTED" --value1 "2022-09-01T14:23:04.917+0000" --outputFormat 2 --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" |
--action getBuildList --plan "ZCREATE2012440-BB" --field1 "notState" --value1 "UNKNOWN" |
--action getBuildList --plan "ZCREATE2012440-BB" --field1 "sTaTe" --value1 "successful" |
--action getBuildList --plan "ZCREATE2012440-BB" --field1 "started" --value1 "-24h" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose |
--action getBuildList --plan "ZCREATE2012440-BB" --field1 "started" --value1 "2022-09-01T14:20:12.444+0000" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" |
--action getBuildList --plan "ZCREATE2012440-BB" --field1 "started" --value1 "today" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose |
--action getBuildList --plan "ZCREATE2012440-BB" --outputFormat 999 |
--action getBuildList --plan "ZCREATE2012440-BB" --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss" |
--action getBuildList --plan "ZCREATE2012440-EMPTY" |
--action getBuildList --plan "ZLONGRUNNING-AA" |
getBuildLog
--action getBuildLog --build "ZCREATE2012440-BB-JOB" |
--action getBuildLog --build "ZCREATE2012440-BB-JOB" --findReplaceRegex ".*?\\t.*?\\t(.*):\$1" |
--action getBuildLog --build "ZCREATE2012440-BB-JOB" --regex "command.*" |
--action getBuildLog --plan "ZCREATE2012440-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 "389" --dateFormat "yyyy-MM-dd HH:mm:ss" |
getDeploymentProject
--action getDeploymentProject --deploymentProject "Deploy ZDEPLOY2145376-BASE" |
getDeploymentProjectList
--action getDeploymentProjectList |
getEnvironment
--action getEnvironment --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QA" |
getEnvironmentList
--action getEnvironmentList --deploymentProject "Deploy ZDEPLOY2145376-BASE" |
getEnvironmentNotificationList
--action getEnvironmentNotificationList --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QA" |
getEnvironmentRequirementList
--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QA" |
--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QA" --id "165544163" |
getEnvironmentTaskList
--action getEnvironmentTaskList --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QA" |
getEnvironmentTrigger
--action getEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QA" --name "After successful deployment" |
--action getEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QA" --name "Scheduled" |
getEnvironmentTriggerList
--action getEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QA" |
getEnvironmentVariableList
--action getEnvironmentVariableList --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QA" |
getJob
--action getJob --plan "ZCREATE2012440-CC" --job "JOB1" |
--action getJob --plan "ZCREATE2012440-CC" --job "JOBDocker" |
getJobList
--action getJobList --plan "ZCREATE2012440-AA" --job "@all" --stage "My stage 1" --columns "enabled,type" |
--action getJobList --plan "ZCREATE2012440-CC" |
--action getJobList --plan "ZCREATE2012440SCRIPT-PLAN" |
--action getJobList --plan "ZCREATE2012440SCRIPT-PLAN" --regex "TEST2.*" |
--action getJobList --plan "ZCREATE2012440SCRIPT-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 "ZCREATE2012440-NOTIFICATIONS" |
getPlan
--action getPlan --plan "ZBAMBOOCLI1919202-checkout1" --verbose |
--action getPlan --plan "ZBAMBOOCLI1919202-checkout1Disable" |
--action getPlan --plan "ZBAMBOOCLI1919202CLONE-checkout1" |
--action getPlan --project "ZBAMBOOCLI1919202CLONE" --plan "ZBAMBOOCLI1919202CLONE-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 "ZCREATE2012440SCRIPT" |
--action getPlanList --project "ZCREATE2012440SCRIPT" --field1 "notstate" --value1 "successful" |
--action getPlanList --project "ZCREATE2012440SCRIPT" --field1 "state" --value1 "failed" |
--action getPlanList --project "ZMOVE1898438" |
--action getPlanList --project "ZMOVE1898438XX" |
--action getPlanList --project "ZMOVE7167277" |
--action getPlanList --project "ZMOVE7167277XX" |
--action getPlanList --project "ZTEMPLATE" --regex "ZTEMPLATE-CHECKOUT1.*" --options "includeBranchPlans" |
getProject
--action getProject --project "ZPROJECTS2367921" |
getProjectList
--action getProjectList |
--action getProjectList --project "ZPROJECTS2367921" |
getRepository
--action getRepository --plan "ZCREATE2012440-AA" --name "example" |
--action getRepository --plan "ZTEMPLATE-checkout1" --repository "cli" --outputFormat 999 |
getRepositoryList
--action getRepositoryList |
--action getRepositoryList --plan "ZBAMBOOCLI1919202-checkout1" |
--action getRepositoryList --plan "ZCREATE2012440-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 getPlanList getServerInfo --project user "@all" --favoriteanonymous" |
getStage
--action getPlanList getStage --project plan "@allZCREATE2012440SCRIPT-PLAN" --file "build/output/create/getPlanList.txtstage "B updated" |
--action getPlanList getStage --project plan "XXXZCREATE2012440SCRIPT-PLAN" --excludeDisabledstage "B" |
getStageList
--action getPlanList getStageList --project plan "XXXZCREATE2012440SCRIPT-PLAN" |
--action getStageList -excludeEnabled --action getPlanList plan "ZCREATE2012440SCRIPT-PLAN" --project regex "ZCREATE3017307SCRIPTA.*" |
--action getPlanList getStageList --project "ZCREATE3017307SCRIPTZCREATE2012440SCRIPT" --field1 plan "notstate" ZCREATE2012440SCRIPT--value1 "successful"PLAN" |
getTask
--action getPlanList getTask --project plan "ZCREATE3017307SCRIPTZCLI-TASKS" --field1 job "stateJOB" --value1 task "failed@all" |
--action getPlanList getTask --project plan "ZMOVE2866734ZCLI-TASKS" --action getPlanList job "JOB" --project task "ZMOVE2866734XXfileReference" |
--action getPlanList getTask --project plan "ZTEMPLATEZCLI-TASKS" --regex "ZTEMPLATE-CHECKOUT1.*job "JOB" --options "includeBranchPlans" |
task 1 |
getTaskList
--action getProject getTaskList --project plan "ZPROJECTS3278328" |
getProjectList
--action getProjectList ZCLI-TASKS" --job "JOB" |
--action getProjectList getTaskList --plan "ZCREATE2012440-BB" --project job "ZPROJECTS3278328JOB" |
getTaskTypeList
--action getTaskTypeList |
getTrigger
--action getRepository getTrigger --plan "ZCREATE3017307ZCREATE2012440-AA" --name "exampleScheduled" |
getTriggerList
--action getRepository getTriggerList --plan "ZTEMPLATEZCREATE2012440-checkout1AA" |
--action getTriggerList --repository plan "cliZCREATE2012440-AA" --outputFormat 999 |
regex ".*scheduled.*" |
getUserList
--action getRepositoryListgetUserList |
--action getRepositoryList getUserList --plan group "ZBAMBOOCLI2890849bamboo-checkout1admin" |
--action getRepositoryList getUserList --plan "ZCREATE3017307-RepositoryOrdering" |
regex "a.*" --limit 1 |
getVariableList
--action getVariableList |
--action getRequirementList getVariableList --plan "ZCLI-REQUIREMENTSVARIABLES" |
--action getVariableList --job project "JOB1ZCLI" |
moveEnvironment
--action getServerInfo moveEnvironment --action getServerInfo --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mmdeploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "DEV" --after "QA" |
--action getServerInfo --outputFormat 999moveEnvironment --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QACLONE" |
--action getServerInfo --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ssmoveEnvironment --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QACLONE" --after "@last" |
--action getServerInfo moveEnvironment --user "anonymous" |
getStage
--action getStage --plan "ZCREATE3017307SCRIPT-PLANdeploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QACLONE" --stage after "B updatedDEV" |
--action getStage --plan "ZCREATE3017307SCRIPT-PLANmoveEnvironment --deploymentProject "Deploy ZDEPLOY2145376-BASE" --environment "QACLONE" --stage before "BDEV" |
moveJob
--action getStageList moveJob --plan "ZCREATE3017307SCRIPTZCREATE2012440SCRIPT-PLAN" --action getStageList --plan "ZCREATE3017307SCRIPT-PLANjob "TEST2" --regex "A.*stage "B updated" |
--action getStageList moveJob --project plan "ZCREATE3017307SCRIPTZCREATE2012440SCRIPT-PLAN" --plan job "ZCREATE3017307SCRIPT-PLAN" |
TEST2" --stage "C" --autoStage |
movePlans
--action getTask movePlans --plan "ZCLIZMOVE1898438-TASKSBase1" --job "JOB" --task "@alltoProject "ZMOVE1898438XX" |
--action getTask movePlans --plan "ZCLIZMOVE7167277-TASKSBase1" --job "JOB" --task "fileReferencetoProject "ZMOVE7167277XX" |
--action getTask movePlans --plan project "ZCLI-TASKSZMOVE1898438" --job "JOBregex ".*[23]" --task 1 |
toProject "ZMOVE1898438XX" |
--action getTaskList movePlans --plan project "ZMOVE7167277" ZCLI-TASKS--regex ".*[23]" --job toProject "JOBZMOVE7167277XX" |
moveStage
--action getTaskList moveStage --plan "ZCREATE3017307ZCREATE2012440SCRIPT-BBPLAN" --job stage "JOBA" |
getTaskTypeList
--action getTaskTypeList |
after "B updated" |
--action getTrigger moveStage --plan "ZCREATE3017307ZCREATE2012440SCRIPT-AAPLAN" --name stage "ScheduledFIRST" |
moveTask
--action getTriggerList moveTask --plan "ZCREATE3017307-AA"ZCLI-TASKS" --job "JOB" --task "1" --final |
--action getTriggerList moveTask --plan "ZCREATE3017307ZCLI-AATASKS" --regex ".*scheduled.*" |
getUserList
--action getUserList job "JOB" --task "Script" |
--action getUserList moveTask --group plan "bambooZCLI-adminTASKS" --action getUserList job "JOB" --regex "a.*" task 3 --limit 1 |
getVariableList
final --action getVariableListafter 5 |
orderRepository
--action getVariableList orderRepository --plan "ZCLIZCREATE2012440-VARIABLESRepositoryOrdering" --action getVariableList --project "ZCLI" |
repository "example2" |
--action moveEnvironment orderRepository --deploymentProject plan "Deploy ZDEPLOY3147202ZCREATE2012440-BASERepositoryOrdering" --environment repository "DEVexample2" --after "QAcli" |
queueBuild
--action moveEnvironment queueBuild --deploymentProject build "Deploy ZDEPLOY3147202XXX-BASEDEF" --environment "QACLONE"wait |
--action moveEnvironment queueBuild --deploymentProject build "Deploy ZDEPLOY3147202XXX-BASEFAIL" --environment "QACLONE" wait --after "@last"continue |
--action moveEnvironment queueBuild --deploymentProject build "Deploy ZDEPLOY3147202ZBAMBOOCLI1919202-BASEcheckout1" --environment "QACLONE" wait --after "DEV"continue |
--action moveEnvironment queueBuild --deploymentProject build "Deploy ZDEPLOY3147202ZBAMBOOCLI1919202-BASE" checkout1" --wait --timeout 90 --environment field "QACLONEexitCode=0" --before "DEV" |
verbose |
--action moveJob queueBuild --plan build "ZCREATE3017307SCRIPTZBAMBOOCLI1919202-PLAN" checkout1" --wait --timeout 90 --job fields "TEST2exitCode: 0" --stage "B updated"verbose |
--action moveJob queueBuild --plan build "ZCREATE3017307SCRIPTZBAMBOOCLI1919202-PLANnotask" --job "TEST2" wait --stage "C" --autoStage |
continue |
--action movePlans queueBuild --plan "ZMOVE2866734ZCREATE2012440-Base1BB" --toProject "ZMOVE2866734XX"continue |
--action movePlans queueBuild --project plan "ZMOVE2866734" ZCREATE2012440--regex ".*[23]" BB" --toProject field1 "ZMOVE2866734XXstarted" |
moveStage
--action moveStage value1 "2022--plan "ZCREATE3017307SCRIPT-PLAN" --stage "A09-01T14:20:12.444+0000" --field2 "state" --after value2 "B updatedSUCCESSFUL" |
--action moveStage queueBuild --plan "ZCREATE2012440-BB" ZCREATE3017307SCRIPT--PLANfield1 "started" --stage value1 "FIRSTXXX-DEF" |
--action moveTask queueBuild --plan "ZCLIZCREATE2012440-TASKSBB" --job field1 "JOBstarted" --task value1 "ZCREATE2012440-BB-1" --final |
--action moveTask queueBuild --plan "ZCLIZCREATE2012440-TASKSBB" --job "JOB" wait --task "Script"continue |
--action moveTask queueBuild --plan "ZCLIZCREATE2012440-TASKSEMPTY" --job "JOB" wait --task 3 --final --after 5 |
continue |
--action orderRepository queueBuild --plan "ZCREATE3017307ZDEPLOY2145376-RepositoryOrderingBASE" --repository "example2wait |
--action queueBuild --plan "ZLONGRUNNING-AA" |
--action orderRepository queueBuild --plan "ZCREATE3017307ZLONGRUNNING-RepositoryOrderingAA" --repository "example2" wait --after stage "cli@all" |
--action queueBuild --build "XXX-DEFplan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --wait |
queueBuildFromList
--action queueBuild queueBuildFromList --list "ZCREATE2012440-build BB" XXX--FAILfield1 "started" --wait value1 "2022--continue09-01T14:20:12.444+0000" |
--action queueBuild queueBuildFromList --build project "ZBAMBOOCLI2890849-checkout1@all" --wait labels "NOT_FOUND" --continuesimulate |
--action queueBuild queueBuildFromList --build project "ZBAMBOOCLI2890849-checkout1@all" --wait --timeout 90 --field "exitCode=0labels "testlabel1" --verbosesimulate |
removeAgent
--action queueBuild removeAgent --build "ZBAMBOOCLI2890849-checkout1" --wait --timeout 90 --fields "exitCode: 0" --verboseagent "Z Added 2" |
--action removeAgent --agent "Z Added 2" --continue |
--action queueBuild removeAgent --build id "ZBAMBOOCLI2890849-notask" --wait --continue166035491" |
--action queueBuild removeAgent --plan id "ZCREATE3017307-BB166035491" --continue |
removeAgentAssignment
--action queueBuild removeAgentAssignment --plan "ZCREATE3017307-BBagent "Z Added 1" --field1 assignment "startedZCREATE2012440" |
--value1 "2022action removeAgentAssignment -06-28T13:30:17.315+0000-agent "Z Added 1" --field2 assignment "state" --value2 "SUCCESSFULZCREATE2012440-AA" |
--action queueBuild removeAgentAssignment --plan "ZCREATE3017307-BBagent "Z Added 1" --field1 assignment "startedZCREATE2012440-AA" --value1 "XXX-DEF"continue |
--action queueBuild removeAgentAssignment --plan "ZCREATE3017307-BBagent "Z Added 1" --field1 assignment "started" ZCREATE2012440-AA-value1 "ZCREATE3017307-BB-1"myJob" |
--action queueBuild removeAgentAssignment --plan "ZCREATE3017307-BB" --wait agent "Z Added 1" --assignment "ZCREATE2012440-AA-myJob" --continue |
removeArtifact
--action queueBuild removeArtifact --plan "ZCREATE3017307ZCREATE2012440-EMPTYAA" --wait job "MYJOB" --continueartifact "remove me" |
removeBuildHistory
--action queueBuild removeBuildHistory --plan build "ZDEPLOY3147202ZCREATE2012440-BASEBB" --waitnumber 1 |
removeEnvironmentNotification
--action queueBuild removeEnvironmentNotification --plan deploymentProject "ZLONGRUNNINGDeploy ZDEPLOY2145376-AABASE" --action queueBuild environment "QA" --plan "ZLONGRUNNING-AAevent "Deployment started and finished" --wait --stage "@all"recipientType "CLI" |
removeEnvironmentRequirement
--action queueBuild removeEnvironmentRequirement --plan deploymentProject "ZTEMPLATEDeploy ZDEPLOY2145376-CHECKOUT1BASE" --branch "2.5.0environment "QA" --wait |
id "165544163" |
removeEnvironmentTask
--action queueBuildFromList removeEnvironmentTask --list deploymentProject "ZCREATE3017307Deploy ZDEPLOY2145376-BBBASE" --field1 environment "startedQA" --value1 "2022-06-28T13:30:17.315+0000" task "Artifact download" |
removeEnvironmentVariables
--action queueBuildFromList removeEnvironmentVariables --project "@alldeploymentProject "Deploy ZDEPLOY2145376-BASE" --labels environment "NOT_FOUNDQA" --simulatefield1 "@all" |
removeJob
--action queueBuildFromList removeJob --project plan "@allZCREATE2012440-AA" --labels job "testlabel1REMOVE" --simulate |
removeLabels
--action removeAgent removeLabels --build "XXX-DEF" --agent "Z Added 2labels "test.*" |
--action removeAgent removeLabels --agent "Z Added 2" --continuebuild "XXX-DEF" --number -1 --labels ".*" |
--action removeAgent removeLabels --id build "237011158XXX-DEF" --number -action removeAgent 1 --id "237011158labels "testlabel1, testlabel2, notfound" --continue |
--action removeAgentAssignment removeLabels --agent "Z Added 1plan "XXX-DEF" --assignment labels "ZCREATE3017307.*" |
removeRepository
--action removeAgentAssignment removeRepository --agent id "Z Added 1" --assignment "ZCREATE3017307-AA"165183719" |
--action removeAgentAssignment removeRepository --agent "Z Added 1plan "ZBAMBOOCLI1919202-checkout1" --assignment id "ZCREATE3017307-AA" --continue165183716" |
--action removeAgentAssignment removeRepository --agent "Z Added 1plan "ZCREATE2012440SCRIPT-PLAN" --assignment name "NOT_FOUND" ZCREATE3017307 -AA-myJob"continue |
removeTask
--action removeAgentAssignment removeTask --agent "Z Added 1plan "ZBAMBOOCLI1919202-RemoveTesting" --assignment job "JOB1" ZCREATE3017307 -AA-myJob" --continue |
task "@all" |
--action removeArtifact removeTask --plan "ZCREATE3017307ZBAMBOOCLI1919202-AAcheckout1" --job "MYJOBJOB1" --artifact id "remove me2" |
removeTrigger
--action removeBuildHistory removeTrigger --build plan "ZCREATE3017307ZCREATE2012440-BBAA" --id "-number 1 |
" |
--action removeEnvironmentNotification removeTrigger --deploymentProject plan "Deploy ZDEPLOY3147202ZCREATE2012440-BASEAA" --environment id "QA" --event "Deployment started and finished" --recipientType "CLI" |
2" |
--action removeEnvironmentRequirement removeTrigger --deploymentProject plan "Deploy ZDEPLOY3147202ZCREATE2012440-BASEAA" --environment id "QA2" --id "236717641" |
continue |
--action removeEnvironmentTask removeTrigger --deploymentProject plan "Deploy ZDEPLOY3147202ZCREATE2012440-BASEAA" --environment "QA" --task "Artifact download" |
name "@all" |
--action removeEnvironmentVariables removeTrigger --deploymentProject plan "Deploy ZDEPLOY3147202ZCREATE2012440-BASEAA" --environment name "QA" Repository polling" |
removeUser
--action removeUser --field1 userId "@allNOT_FOUND" |
removeVariables
--action removeJob removeVariables --plan "ZCREATE3017307ZCLI-AAVARIABLES" --job field "REMOVE@all" |
--action removeLabels removeVariables --build project "XXX-DEFZCLI" --labels field "test.*@all" |
renderRequest
--action removeLabels renderRequest --build "XXX-DEF" --number -1 file "build/output/render/renderRequestBuildNumber.txt" --labels number ".*387" |
--action removeLabels renderRequest --build "XXX-DEF" --number -1 job "JOB1" --labels "testlabel1, testlabel2, notfoundfile "build/output/render/renderRequestConfig.txt" --continueurl "/config" |
--action removeLabels renderRequest --plan build "XXX-DEF" --job "JOB1" --labels ".*" |
file "build/output/render/renderRequestJob.txt" |
--action removeNotification renderRequest --plan build "ZCREATE3017307XXX-NOTIFICATIONSDEF" --event "Job Queued Without Capable Agentsjob "JOB1" --recipientType "CLI" |
removeRepository
--action removeRepository --id "236553841file "build/output/render/renderRequestJobBuildNumber.txt" --number "387" |
--action removeRepository renderRequest --plan build "ZBAMBOOCLI2890849XXX-checkout1" --id "236553840" |
--action removeRepository --plan "ZCREATE3017307SCRIPT-PLAN" --name "NOT_FOUND" --continue |
DEF-latest" --file "build/output/render/renderRequestBuild.txt" |
--action removeTask renderRequest --plan build "ZBAMBOOCLI2890849XXX-RemoveTesting" --job "JOB1DEF-latest" --task "@allfile "build/output/render/renderRequestBuildLatest.txt" |
--action removeTask renderRequest --plan deploymentProject "ZBAMBOOCLI2890849Deploy ZDEPLOY2145376-checkout1BASE" --job "JOB1url "rest/api/latest/permissions/deployment/@deploymentProjectId@/groups/developers" --id requestType "2PUT" |
removeTrigger
--action removeTrigger type "JSON" --plan "ZCREATE3017307-AA" --id "-1" --action removeTrigger --plan "ZCREATE3017307-AA" --id "2data "[\"READ\", \"VIEWCONFIGURATION\", \"WRITE\"]" |
--action removeTrigger renderRequest --plan "ZCREATE3017307-AAfile "build/output/create/verifyTriggers.txt" --id "2url "chain/admin/config/editChainTriggers.action" --continuerequestParameters "buildKey=ZCREATE2012440-AA" |
--action removeTrigger renderRequest --plan "ZCREATE3017307-AA" --name "@all"file "build/output/render/renderRequestConfig2.txt" --url "/browse/XXX-DEF-JOB1/config" |
--action removeTrigger renderRequest --plan "ZCREATE3017307XXX-AADEF" --name "Repository polling" |
file "build/output/render/renderRequestPlan.txt" |
--action removeUser renderRequest --userId "NOT_FOUND" |
removeVariables
--action removeVariables --plan "ZCLI-VARIABLESplan "XXX-DEF" --job "JOB1" --field "@allfile "build/output/render/renderRequestPlanJob.txt" |
--action removeVariables renderRequest --project plan "ZCLI" XXX--field "@all" |
renderRequest
--action renderRequest --build "XXX-DEFDEF" --job "JOB1" --file "build/output/render/renderRequestBuildNumberrenderRequestPlanJobNumber.txt" --number "1215387" |
--action renderRequest --build plan "XXXZBAMBOOCLI1919202-DEFcheckout1" --job "JOB1" --file "build/output/renderbamboocli/renderRequestConfigrenderRequestBuildResultcheckout1.txt" --url "-2/configlog" |
--action renderRequest --build project "XXX-DEFZCREATE2012440" --job "JOB1" --file "build/output/render/renderRequestJob.txt" |
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "build/output/render/renderRequestJobBuildNumber.txt" --number "1215" |
--action renderRequest --build "XXX-DEF-latest" --file "build/output/render/renderRequestBuild.txt" |
--action renderRequest --build "XXX-DEF-latest" --file "build/output/render/renderRequestBuildLatest.txturl "rest/api/latest/permissions/projectplan/@project@/groups/developers" --requestType "PUT" --type "JSON" --data "[\"READ\", \"WRITE\", \"VIEWCONFIGURATION\", \"WRITE\", \"BUILD\", \"CLONE\", \"ADMINISTRATION\"]" |
--action renderRequest --deploymentProject "Deploy ZDEPLOY3147202-BASEproject "ZDEVELOPER1894116SCRIPT" --url "rest/api/latest/permissions/deploymentproject/@deploymentProjectId@@project@/groups/developers" --requestType "PUT" --type "JSON" --data "[\"READ\", \"WRITECREATE\"]" |
--action renderRequest --file "build/output/create/verifyTriggers.txtproject "ZDEVELOPER7169238SCRIPT" --url "chain/admin/config/editChainTriggers.action" --requestParameters "buildKey=ZCREATE3017307-AArest/api/latest/permissions/project/@project@/groups/developers" --requestType "PUT" --type "JSON" --data "[\"READ\", \"CREATE\"]" |
--action renderRequest --file url "buildrest/outputapi/latest/render/renderRequestConfig2.txt" --url "/browse/XXX-DEF-JOB1/config" --action renderRequest --plan "XXX-DEF" --file "build/output/render/renderRequestPlan.txtadmin/groups/developers/add-users" --requestType "POST" --type "JSON" --data "[\"developer\"]" |
--action renderRequest --plan "XXX-DEFurl "rest/api/latest/permissions/environment/165871675/groups/developers" --requestType "PUT" --job type "JOB1JSON" --file "build/output/render/renderRequestPlanJob.txtdata "[\"READ\", \"WRITE\", \"BUILD\"]" |
--action renderRequest --plan "XXXverbose -DEF" --job "JOB1" -quiet --file url "build/outputchain/admin/renderconfig/renderRequestPlanJobNumber.txteditChainRepository.action?buildKey=XXX-DEF" --number "1215"findReplaceRegex ".*(repositoryId=\\d+).*:\$1" |
restartBuild
--action renderRequest restartBuild --plan "ZBAMBOOCLI2890849ZLONGRUNNING-checkout1AA" --job stage "JOB1@ALL" --file "build/output/bamboocli/renderRequestBuildResultcheckout1.txt" --url "-2/log"wait |
--action renderRequest restartBuild --project plan "ZCREATE3017307" --url "rest/api/latest/permissions/projectplan/@project@/groups/developersZLONGRUNNING-AA" --requestType stage "PUTTHIRD" --type "JSON" --data "[\"READ\", \"WRITE\"]"wait |
--action renderRequest restartBuild --project plan "ZDEVELOPER2865101SCRIPTZLONGRUNNING-AA" --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/236978538/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 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 "--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-TASKSduplicateVARIABLES" --input "-a deletePlan addVariables --continue" field c1=aa1 --input "-a createPlan --repository example --options addDefaultJobfield c2=aa2 --replace" --input "-a addTask copyVariables --job @job@ toPlan ZCLI2-VARIABLES -taskKey CHECKOUT --field selectedRepository_0=defaultRepository-replace" --input "-a exportJob --job @job@" --input "-a deletePlan --continue"getVariableList" |
--action run --common "--plan project ZCLI-TASKSnocheckout" --input "-a deletePlan addVariables --continue" field c1=aa1 --input "-a createPlan --repository examplefield c2=aa2 --replace" --input "-a addStage copyVariables --toProject ZCLI2 --stage FIRSTreplace" --input "-a addJob getVariableList" |
--action run --stage @stage@ continue |
--job AAA action run --options noCheckoutTask" continue --input "-a exportPlan" createPlan --input "-a deletePlan --continue" --action run --common "--plan ZCLI-VARIABLESplan ZCLI-EXAMPLES --repository example --replace --options addDefaultJob --options clear" --input "-a addVariables --plan @plan@ --field c1exitCode=aa1 0 --field c2=aa2 --replace" --input "-a copyVariables addTask --plan @plan@ --toPlan ZCLI2-VARIABLES --replacejob @job@ --taskKey SCRIPT --field \"scriptBody=exit 0\"" --input "-a getVariableList" addTask --action run plan @plan@ --common "job @job@ --project ZCLI" taskKey SCRIPT --input "-a addVariables field \"scriptBody=exit 1\" --field c1conditionalTask=aa1 true --field c2=aa2 --replace" --input "-a copyVariables --toProject ZCLI2 --replaceselectedCondition=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 getVariableListgetReplacementVariableList --outputType text" --input "-a queueBuild --plan @plan@ --wait" --input "-a exportPlan --plan @plan@" |
--action run --continue --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 deletePlan queueBuild --wait --plan ZCLIXXX-EXAMPLESDEF" --input "-a createPlan runIf --plan ZCLIregex FAILED -EXAMPLES -value @buildState@ -repository example -input \"-replace a queueBuild --options addDefaultJob wait --options clear" plan @build@\"" |
--input "action run -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@-file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/create-plan.txt" --findReplace "%PLAN%:ZCREATE2012440SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 2012440" --findReplace "%STAGE_DESCRIPTION%:First stage" |
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/developer.txt" --findReplace "%PLAN%:ZDEVELOPER1894116SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script by developer" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 1894116" --findReplace "%STAGE_DESCRIPTION%:First stage" --findReplace "%AGENT%:Z Added 1" |
--action run --continue --input "-a queueBuild --wait --plan XXX-DEF" --input "-a runIf --regex FAILED --value @buildState@ --input \"-a queueBuild --wait --plan @build@\"" |
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/create-plan.txt" --findReplace "%PLAN%:ZCREATE3017307SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 3017307" --findReplace "%STAGE_DESCRIPTION%:First stage" |
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/developer.txt" --findReplace "%PLAN%:ZDEVELOPER2865101SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script by developer" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 2865101" --findReplace "%STAGE_DESCRIPTION%:First stage" --findReplace "%AGENT%:Z Added 1" |
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/exportPlanCli.txt" --type "cli" --findReplace "999999:28867320099" --dateFormat "yyyy-MM-dd" |
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/exportPlanNotifications.txt" --findReplace "%plan%:XXX-Notifications" |
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/renderRequest.txt" --findReplace "@build@:XXX-DEF" |
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/replace-plan1.txt" --findReplace "%PLAN%:ZREPLACE3138201SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script for replace" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 3138201" --findReplace "%STAGE_DESCRIPTION%:First stage" --findReplace "%AGENT%:zreplace1" |
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/replace-plan2.txt" --findReplace "%PLAN%:ZREPLACE3138201SCRIPT-PLAN" --findReplace "%PLAN_NAME%:Plan created by script for replace" --findReplace "%PLAN_DESCRIPTION%:Plan description" --findReplace "%PROJECT_NAME%:Project created by script 3138201" --findReplace "%STAGE_DESCRIPTION%:First stage" --findReplace "%AGENT%:zreplace1" |
--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 ZDEPLOY3147202-BASE\":--name \"Import Deploy ZDEPLOY3147202-BASE\"" |
--action run --file "build/output/export/exportPlanCli.txt" --type "cli" --findReplace "2886732:288673200" --dateFormat "yyyy-MM-dd" |
--action run --file "build/output/requirements/exportPlan.txt" |
--action run --input "-a addVariables --field \"aaa=AAA\" --replace" --input "-a getVariableList --reference bamboo. -f \"\"" --input "-a getClientInfo --comment @bamboo.aaa@" |
--action run --input "-a createPlan --plan ZBUILDARTIFACTS-AA --replace --options addDefaultJob" --input "-a addArtifact --plan @plan@ --job @job@ --artifact s1 --copyPattern s1.txt --shared --required" --input "-a addArtifact --plan @plan@ --job @job@ --artifact s2 --copyPattern s2.txt --shared --required" --input "-a addArtifact --plan @plan@ --job @job@ --artifact j1 --copyPattern j1.txt" --input "-a addArtifact --plan @plan@ --job @job@ --artifact j2 --copyPattern j2.txt" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=echo 'x' > s1.txt echo 'x' > s2.txt echo 'x' > j1.txt echo 'x' > j2.txt\" " --input "-a queueBuild --plan @plan@ --wait --reference firstBuild" --input "-a queueBuild --plan @plan@ --wait" --input "-a getArtifactList --build @build@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @plan@-JOB1 --columns producer,name,shared --outputType text" --input "-a removeBuildArtifacts --build @build@ --job JOB1" --input "-a getArtifactList --build @build@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @plan@-JOB1 --columns producer,name,shared --outputType text" --input "-a removeBuildArtifacts --build @build@" --input "-a getArtifactList --build @build@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @plan@-JOB1 --columns producer,name,shared --outputType text" --input "-a removeBuildHistory --build @build@" --input "-a removeBuildHistory --build @build@ --continue" --input "-a removeBuildArtifacts --build @firstBuild@" --input "-a getArtifactList --build @firstBuild@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @firstBuild@ --job JOB1 --columns producer,name,shared --outputType text" |
--action run --input "-a createPlan --plan ZCLI-TASKS --replace" --input "-a addVariables --plan @plan@ --field exitCode --value 0" --input "-a addStage --plan @plan@ --stage FIRST" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB" --input " -a runFromList --list ,BBB,CCC,DDD,EEE --list2 ,--disable --common \"-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --description \"@entry@\" @entry2@ --field scriptLocation=INLINE --field scriptBody=xxx\" " --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --description FFF --field scriptLocation=INLINE --field scriptBody=xxx --final -v" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB2" |
--action run --input "-a createPlan --plan ZCREATE3017307-RepositoryOrdering --repository example --options addDefaultJob,removeTrigger" --input "-a addRepository --plan @plan@ --name example2" --input "-a addRepository --plan @plan@ --name cli" |
--action run --input "-a createPlan --plan ZEXPORT2886732-Export --description \"Export plan\" --replace --options addDefaultJob" --input "-a addRepository --plan @plan@ --repository cli" --input "-a addBranch --plan @plan@ --branch 2.5.0" --input "-a addVariables --plan @plan@ --field v1=xxx" --input "-a addTrigger --plan @plan@ --type scheduled --schedule 9:35" --input "-a addTrigger --plan @plan@ --type polling" --input "-a addTrigger --plan @plan@ --type remote" --input "-a addNotification --plan @plan@ --event \"All Builds Completed\" --recipientType user --field notificationUserString=automation" --input "-a addNotification --plan @plan@ --event \"All Builds Completed\" --recipientType webhook --recipient \"build webhook\" --url https://example.gear.com" --input "-a addArtifact --plan @plan@ --job @job@ --artifact out.txt --copyPattern out.txt --shared" --input "-a addArtifact --plan @plan@ --job @job@ --artifact out2.txt --copyPattern out2.txt --required" --input "-a addTask --plan @plan@ --job @job@ --taskKey CHECKOUT" --input file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/exportPlanCli.txt" --type "cli" --findReplace "999999:19160990099" --dateFormat "yyyy-MM-dd" |
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/exportPlanNotifications.txt" --findReplace "%plan%:XXX-Notifications" |
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/renderRequest.txt" --findReplace "@build@:XXX-DEF" |
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/run.txt" |
--action run --file "build/output/deploy/exportDeploymentProject.txt" --findReplace "--name \"Deploy ZDEPLOY2145376-BASE\":--name \"Import Deploy ZDEPLOY2145376-BASE\"" |
--action run --input "-a addVariables --field \"aaa=AAA\" --replace" --input "-a getVariableList --reference bamboo. -f \"\"" --input "-a getClientInfo --comment @bamboo.aaa@" |
--action run --input "-a createPlan --plan ZBUILDARTIFACTS-AA --replace --options addDefaultJob" --input "-a addArtifact --plan @plan@ --job @job@ --artifact s1 --copyPattern s1.txt --shared --required" --input "-a addArtifact --plan @plan@ --job @job@ --artifact s2 --copyPattern s2.txt --shared --required" --input "-a addArtifact --plan @plan@ --job @job@ --artifact j1 --copyPattern j1.txt" --input "-a addArtifact --plan @plan@ --job @job@ --artifact j2 --copyPattern j2.txt" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=echo 'x' > s1.txt echo 'x' > s2.txt echo 'x' > j1.txt echo 'x' > j2.txt\" " --input "-a queueBuild --plan @plan@ --wait --reference firstBuild" --input "-a queueBuild --plan @plan@ --wait" --input "-a getArtifactList --build @build@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @plan@-JOB1 --columns producer,name,shared --outputType text" --input "-a removeBuildArtifacts --build @build@ --job JOB1" --input "-a getArtifactList --build @build@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @plan@-JOB1 --columns producer,name,shared --outputType text" --input "-a removeBuildArtifacts --build @build@" --input "-a getArtifactList --build @build@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @plan@-JOB1 --columns producer,name,shared --outputType text" --input "-a removeBuildHistory --build @build@" --input "-a removeBuildHistory --build @build@ --continue" --input "-a removeBuildArtifacts --build @firstBuild@" --input "-a getArtifactList --build @firstBuild@ --columns producer,name,shared --outputType text" --input "-a getArtifactList --build @firstBuild@ --job JOB1 --columns producer,name,shared --outputType text" |
--action run --input "-a createPlan --plan ZCLI-TASKS --replace" --input "-a addVariables --plan @plan@ --field exitCode --value 0" --input "-a addStage --plan @plan@ --stage FIRST" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB" --input " -a runFromList --list ,BBB,CCC,DDD,EEE --list2 ,--disable --common \"-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field description \"@entry@\" @entry2@ --field scriptLocation=INLINE \" --field \" scriptBody= echo xxx > out.txt \\n echo yyy > out2.txt\" " --input "-a addTask --plan @plan@ --job @job@ --taskKey CLI_BAMBOO SCRIPT --description FFF --field scriptLocation=INLINE --field \" scriptBody=xxx --final -help\"v" --input "-a addTask addJob --plan @plan@ --stage @stage@ --job @job@ --taskKey ARTIFACT_DOWNLOAD --field sourcePlanKey=@plan@ --field artifactId_1=out.txtJOB2" |
--action run --input "-a createPlan --plan ZCREATE2012440-RepositoryOrdering --repository example --options addDefaultJob,removeTrigger" --input "-a addTask addRepository --plan @plan@ --name example2" -job @job@ -input "-taskKey SCRIPT a addRepository --final plan @plan@ --field scriptLocation=INLINE --field scriptBody=0" name cli" |
--action run --input "-a addJob createPlan --plan @plan@ ZEXPORT1916099-Export --stage description \"@stage@Export plan\" --job SCRIPT replace --options noCheckoutTaskaddDefaultJob" --input "-a addTask addRepository --plan @plan@ --repository cli" -job @job@ -input "-taskKey SCRIPT a addBranch --field scriptLocation=INLINE plan @plan@ --field \"scriptBody = \\n #!/bin/bash \\n echo this is a test \\n echo \"\"another test\"\" \\n echo 'yet another test' \\n \"" branch 2.5.0" --input "-a addStage addVariables --plan @plan@ --stage LASTfield v1=xxx" --input "-a addJob addTrigger --plan @plan@ --type scheduled --schedule 9:35" --stage \"@stage@\" --job JOB2input "-a addTrigger --plan @plan@ --type polling" --input "-a addArtifact addTrigger --plan @plan@ --job @job@ --artifact out3.txt --copyPattern out3.txttype remote" --input "-a addArtifactDependency addNotification --plan @plan@ --job @job@ --artifact out.txt --location .event \"All Builds Completed\" --recipientType user --field notificationUserString=automation" --input "-a addStage addNotification --plan @plan@ --event \"All Builds Completed\" --stage FINAL recipientType webhook --final" --action run recipient \"build webhook\" --url https://example.gear.com" --input "-a createPlan addArtifact --plan ZJOBS-AA --replace --options addDefaultJob@plan@ --job @job@ --artifact out.txt --copyPattern out.txt --shared" --input "-a addJob addArtifact --plan @plan@ --stage \"@stage@\" --job JOB2 @job@ --disable artifact out2.txt --type DOCKER copyPattern out2.txt --docker xxxrequired" --input "-a addJob addTask --plan @plan@ --stage \"@stage@\" --job JOB3 job @job@ --disabletaskKey CHECKOUT" --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 = echo xxx > out.txt \\n echo yyy > out2.txt\"" --input "-a getPlan addTask --plan @plan@ " --job @job@ -input "-a getStage -taskKey ARTIFACT_DOWNLOAD --plan field sourcePlanKey=@plan@ --stage \"@stage@\"field artifactId_1=out.txt" --input "-a getJob addTask --plan @plan@ --job JOB2" @job@ --taskKey SCRIPT -input "-a getJob final --plan @plan@ field scriptLocation=INLINE --job JOB3field scriptBody=0" --input "-a getJobList addJob --plan @plan@ --columns stage \"stage,job,job name,full key,type,docker@stage@\" --outputFormat 999 job SCRIPT --outputType text" --action run options noCheckoutTask" --input "-a createPlan addTask --plan ZCREATE3017307@plan@ --EMPTY job @job@ --repository example taskKey SCRIPT --replace --options clearfield 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 setReplacementVariables addStage --field repository= plan @plan@ --field repositoryId=stage LAST" --input "-a getReplacementVariableListaddJob --plan @plan@ --stage \"@stage@\" --job JOB2" --input "-a createPlan addArtifact --plan ZCREATE3017307@plan@ -EMPTY -job @job@ -repository example -artifact out3.txt -replace --options clear-copyPattern out3.txt" --input "-a getReplacementVariableList" addArtifactDependency --input "plan @plan@ -a exportPlan -job @job@ -plan ZCREATE3017307-EMPTY" --action run -artifact out.txt --location ." --input "-a createPlan addStage --plan ZLONGRUNNING@plan@ --AA stage FINAL --replace final" |
--options addDefaultJob" action run --input "-a addTask createPlan --plan @plan@ ZCREATE2012440-EMPTY -job @job@ -repository example -taskKey SCRIPT -replace -field scriptLocation=INLINE --field \"scriptBody=sleep 20s-options clear\"" --input "-a addStage setReplacementVariables --plan @plan@ field repository= --stage SECOND --manualfield repositoryId=" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB2getReplacementVariableList" --input "-a addTask createPlan --plan @plan@ ZCREATE2012440-EMPTY --job @job@ repository example --taskKey SCRIPT replace --field scriptLocation=INLINE options clear" --field \"scriptBody=exit 0\" input "-a getReplacementVariableList" --input "-a addStage exportPlan --plan @plan@ ZCREATE2012440-EMPTY" |
-stage THIRD -action run -manual" --input "-a addJob createPlan --plan @plan@ ZLONGRUNNING-AA --stage @stage@ replace --job JOB3options addDefaultJob" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=exit 0sleep 20s\" " --input "-a addStage --plan @plan@ --stage FOURTH SECOND --manual" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB4JOB2" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=exit 0\" " --action run --input "-a createPlan --plan \"ZCREATE3017307-add default job\" --options addDefaultJob" --input "-a addTask --plan @plan@ --job @job@ --taskKey CLEAN" --input "-a updatePlan --plan @plan@ --description \"Update with a description--field \"scriptBody=exit 0\" " --input "-a getPlan addStage --plan @plan@ " --stage THIRD --action run manual" --input "-a deletePlan addJob --plan ZJOBS@plan@ --CLONE stage @stage@ --continuejob JOB3" --input "-a createPlan addTask --plan ZJOBS-CLONE --replace --options addDefaultJob@plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \"scriptBody=exit 0\" " --input "-a addTask addStage --plan @plan@ --job @job@ stage FOURTH --taskKey CLEANmanual" --input "-a getJob addJob --plan @plan@ --stage @stage@ --job @job@JOB4" --input "-a cloneJob addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --name field \"cloned jobscriptBody=exit 0\" --description xxx " |
--input "-a getJob --plan @plan@ --job @job@" action run --input "-a cloneJob createPlan --plan @plan@ --job @job@ --toJob \"cloned job2ZCREATE2012440-add default job\" --options addDefaultJob" --input "-a getJob addTask --plan @plan@ --job @job@ --taskKey CLEAN" --input "-a cloneJob updatePlan --plan XXX-DEF --job JOB1 --toPlan @plan@ --toJob newJob --stage NewStage --autoStage@plan@ --description \"Update with a description\"" --input "-a getJob getPlan --plan @plan@ --job @job@" |
--action run --input "-a exportJob --plan ZEXPORT2886732ZEXPORT1916099-Export --job SCRIPT -f build/output/export/scriptJob.cli" --input "-a run -f build/output/export/scriptJob.cli" --input "-a getTask --plan ZEXPORT2886732ZEXPORT1916099-Export --job SCRIPT --task 1" --input "-a getTask --plan ZEXPORT2886732ZEXPORT1916099-Export --job SCRIPT --task 2" |
--action run --verbose |
runFromAgentList
--action runFromAgentList --common "-a getServerInfo --comment ~agent: @agent@, id: @agentId@~" --regex "Z Added .*" --special " ~" |
runFromBuildList
--action runFromBuildList --plan "ZCLI-BUILDLIST" --limit 1 --labels "testlabel1" --common "-a addLabels --build @build@ --labels testlabel1" |
--action runFromBuildList --plan "ZCREATE3017307ZCREATE2012440-BB" --field "endedBefore=2022-0609-28 1301 14:3122:3344.761026" --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 ZDEPLOY3147202ZDEPLOY2145376-BASE" --common "-a getEnvironment --deploymentProject ~Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE~ --environment @environmentId@" --special " ~" |
runFromEnvironmentRequirementList
--action runFromEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --common "-a getClientInfo --value @requirementId@" |
runFromEnvironmentTriggerList
--action runFromEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --common "-a getEnvironmentTrigger --deploymentProject ~Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE~ --environment QA --id @triggerId@" --special " ~" |
--action runFromEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --regex ".*deployment" --common "-a removeEnvironmentTrigger --deploymentProject ~Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE~ --environment QA --id @triggerId@" --special " ~" |
runFromJobList
--action runFromJobList --plan "ZCREATE3017307SCRIPTZCREATE2012440SCRIPT-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 "ZCREATE3017307SCRIPTZCREATE2012440SCRIPT-PLAN" --stage "A" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~" |
runFromList
--action runFromList --list "A,B" --clearFileBeforeAppend --input "-a getProjectList --limit 2 --file build/output/runner/runFromListAppendAndColumn.txt --append --columns 1,2" |
--action runFromList --list "Client, Server" --common "-a get@entry@Info" |
runFromNotificationList
--action runFromNotificationList --plan "ZCREATE3017307-NOTIFICATIONS" --regex2 ".*org.swift.bamboo.acli.*"Client, Server" --common "-a getReplacementVariableList --outputType textget@entry@Info" |
runFromPlanList
--action runFromPlanList --project "@aLL" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@~" --special " ~" --limit 7 |
--action runFromPlanList --project "ZCREATE3017307SCRIPTZCREATE2012440SCRIPT" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@~" --special " ~" |
runFromProjectList
--action runFromProjectList --common "-a getServerInfo --comment ~project: @project@, name: @projectName@~" --limit 2 --special " ~" |
runFromRepositoryList
--action runFromRepositoryList --common "-a getServerInfo --comment ~repository: @repository@, id: @repositoryId@~" --regex ".*example.*" --special " ~" |
runFromRequirementList
--action runFromRequirementList --plan "ZCLI-REQUIREMENTS" --job "JOB1" --common "-a getClientInfo --value @requirementId@" |
runFromSql
--action runFromSql --file "/opt/atlassian/pipelines/agent/build/src/itest/bamboo/resources/run.sql" --database "@database-test" |
runFromStageList
--action runFromStageList --plan "ZCREATE3017307SCRIPTZCREATE2012440SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@~" --special " ~" |
runFromTaskList
--action runFromTaskList --plan "ZCREATE3017307SCRIPTZCREATE2012440SCRIPT-PLAN" --job "JOB" --common "-a getTask --plan @plan@ --job @job@ --task @taskId@" |
runFromTriggerList
--action runFromTriggerList --plan "ZCREATE3017307ZCREATE2012440-AA" --common "-a getTrigger --plan ZCREATE3017307ZCREATE2012440-AA --id @triggerId@" |
--action runFromTriggerList --plan "ZCREATE3017307ZCREATE2012440-AA" --regex "Repository.*" --limit 1 --common "-a removeTrigger --plan ZCREATE3017307ZCREATE2012440-AA --id @triggerId@" |
runFromUserList
--action runFromUserList --regex "a.*" --common "-a getClientInfo --comment @userId@" |
setDependencyOptions
--action setDependencyOptions --plan "ZCREATE3017307ZCREATE2012440-AA" --childPlans "ZCREATE3017307ZCREATE2012440-BB, ZCREATE3017307ZCREATE2012440-EMPTY" |
setFavoritePlan
--action setFavoritePlan --plan "ZCREATE3017307ZCREATE2012440-AA" |
unsetFavoritePlan
--action unsetFavoritePlan --plan "ZCREATE3017307ZCREATE2012440-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" |
updateCapability
--action updateCapability --capability "Docker" --value "/zdocker" |
--action updateCapability --capability "Docker" --value "/zdocker" --agent "zcapabilities" |
--action updateCapability --capability "Perforce Executable" --value "/zperforce" |
--action updateCapability --capability "Perforce Executable" --value "/zperforce" --agent "zcapabilities" |
--action updateCapability --capability "system.git.executable.ssh" --value "/zgitssh" --agent "zcapabilities" --options "ssh" |
--action updateCapability --capability "system.git.executable.ssh" --value "/zgitssh" --options "ssh" |
--action updateCapability --capability "system.hg.executable.ssh" --value "/zhgssh" --agent "zcapabilities" --options "ssh " |
--action updateCapability --capability "system.hg.executable.ssh" --value "/zhgssh" --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 ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --id "236717641165544163" --type "MATCHES" --value "zzz" |
updateEnvironmentTask
--action updateEnvironmentTask --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --task "Groovy" --fields "label:Groovy,buildJdk:JDK,scriptLocation:INLINE" --field "scriptBody = 0 // updated" |
updateEnvironmentVariables
--action updateEnvironmentVariables --deploymentProject "Deploy ZDEPLOY3147202ZDEPLOY2145376-BASE" --environment "QA" --append --field "Zv.a = ' APPENDED_TEXT WITH BLANK'" --field "Zv.1 = APPENDED_TEXT" |
updatePlan
--action updatePlan --plan "ZCREATE3017307ZCREATE2012440-AA" --description "Updated" |
updateStage
--action updateStage --plan "ZCREATE3017307SCRIPTZCREATE2012440SCRIPT-PLAN" --stage "B updated" |
--action updateStage --plan "ZCREATE3017307SCRIPTZCREATE2012440SCRIPT-PLAN" --stage "B" --manual --final --name "B updated" --description "Updated description" |
updateTask
--action updateTask --plan "ZBAMBOOCLI2890849ZBAMBOOCLI1919202-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 "ZCREATE3017307ZCREATE2012440-BB" --job "JOB" --description "Fail" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 1" --disable --id "4" --final |
--action updateTask --plan "ZCREATE3017307ZCREATE2012440-BB" --job "JOB" --description "Fail" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 1" --id "3" |
--action updateTask --plan "ZCREATE3017307ZCREATE2012440-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-1217389" --wait |
--action verifyBuild --build "ZBAMBOOCLI2890849ZBAMBOOCLI1919202-checkout1" |
--action verifyBuild --plan "ZLONGRUNNING-AA" --wait --timeout 40 |
Excerpt | ||||||
---|---|---|---|---|---|---|
|