Examples - 9.1.0
Related information for 9.1.0
Examples
|
Command |
---|---|
1 |
--action addAgent --agent "Z Added 1" --continue |
2 |
--action addAgent --agent "Z Added 1" --description "Agent added by 8659066" |
3 |
--action addAgent --agent "Z Added 2" |
4 |
--action addAgent --agent "Z Added 3" |
5 |
--action addAgent --agent "Z Added 4" --continue |
6 |
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE8659066" |
7 |
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE8659066-AA" |
8 |
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE8659066-AA-MYJOB" |
9 |
--action addAgentAssignment --agent "zdeploy" --assignment "Deploy ZDEPLOY8704468-BASE" --type "DEPLOYMENT_PROJECT" --autoAgent |
10 |
--action addAgentAssignment --agent "zdeploy" --assignment "Deploy ZDEPLOY8704468-BASE:QA" --type "ENVIRONMENT" --autoAgent |
11 |
--action addArtifact --plan "ZCREATE8659066-AA" --job "MYJOB" --artifact "jar" --location "target" --copyPattern "**/*.jar" --shared |
12 |
--action addArtifact --plan "ZCREATE8659066-AA" --job "myjob" --artifact "jar2" --location "target" --copyPattern "**/*.jar" --required |
13 |
--action addArtifact --plan "ZCREATE8659066-AA" --job "myjob" --artifact "remove me" --location "target" --copyPattern "**/*.jar" |
14 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --continue |
15 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --description "Branch for tag 2.5.0" --enable |
16 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "2.6.0" --name "Release 2.6.0" |
17 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 1 |
18 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 10 |
19 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 11 |
20 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 12 |
21 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 13 |
22 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 14 |
23 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 15 |
24 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 16 |
25 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 17 |
26 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 18 |
27 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 19 |
28 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 2 |
29 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 20 |
30 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 21 |
31 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 22 |
32 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 23 |
33 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 24 |
34 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 25 |
35 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 3 |
36 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 4 |
37 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 5 |
38 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 6 |
39 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 7 |
40 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 8 |
41 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch 9 |
42 |
--action addCapability --type "Docker" --value "/zdocker" |
43 |
--action addCapability --type "Docker" --value "/zdocker" --agent "zcapabilities" |
44 |
--action addCapability --type "Perforce" --value "/zperforce" |
45 |
--action addCapability --type "Perforce" --value "/zperforce" --agent "zcapabilities" |
46 |
--action addCapability --type "custom" --value "xxx" --agent "zcapabilities" --name "z custom 1" |
47 |
--action addCapability --type "custom" --value "xxx" --name "z custom 1" |
48 |
--action addCapability --type "executable:Ant" --value "/ant" --agent "zcapabilities" --name "z Ant" |
49 |
--action addCapability --type "executable:Ant" --value "/ant" --name "z Ant" |
50 |
--action addCapability --type "executable:Gant" --value "/local" --agent "zcapabilities" --name "z agent gant" |
51 |
--action addCapability --type "executable:Gradle Wrapper" --value "/gw" --agent "zcapabilities" --name "z GW" |
52 |
--action addCapability --type "executable:Gradle Wrapper" --value "/gw" --name "z GW" |
53 |
--action addCapability --type "git" --value "/zgitssh" --agent "zcapabilities" --options "ssh" |
54 |
--action addCapability --type "git" --value "/zgitssh" --options "ssh" |
55 |
--action addCapability --type "jdk" --value "/jdk" --agent "zcapabilities" --name "z JDK" |
56 |
--action addCapability --type "jdk" --value "/jdk" --name "z JDK" |
57 |
--action addCapability --type "mercurial" --value "/zhgssh" --agent "zcapabilities" --options "ssh" |
58 |
--action addCapability --type "mercurial" --value "/zhgssh" --options "ssh" |
59 |
--action addComment --build "XXX-DEF" --comment "This is a comment added by automation" |
60 |
--action addComment --build "XXX-DEF" --number "172" --file "./src/itest/bamboo/resources/data.txt" --findReplace "xxx:yyy" |
61 |
--action addEnvironment --deploymentProject "Deploy ZDEPLOY8704468-BASE" --name "DEV" |
62 |
--action addEnvironment --deploymentProject "Deploy ZDEPLOY8704468-BASE" --name "QA" --description "Environment description" |
63 |
--action addEnvironment --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1" --name "QA" |
64 |
--action addEnvironmentNotification --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --event "Deployment finished" --recipientType "CLI" --field "cliAction = -a getClientInfo" |
65 |
--action addEnvironmentNotification --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --event "Deployment started and finished" --recipientType "CLI" --field "cliAction = -a getClientInfo" |
66 |
--action addEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --requirement "system.builder.ant.Ant" |
67 |
--action addEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --requirement "xxx" --type "EQUALS" --value "yyy" |
68 |
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "DEV" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit -99" |
69 |
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --taskKey "GROOVY" --fields "label:Groovy,buildJdk:JDK,scriptLocation:INLINE" --field "scriptBody = 0" |
70 |
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = sleep 10 && echo xxx > out.txt" |
71 |
--action addEnvironmentTask --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1" --environment "QA" --taskKey "SCRIPT" --field1 scriptLocation --value1 INLINE --field2 scriptBody --value2 "echo xxx > out.txt" |
72 |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --stage "FIRST" --type "After successful stage" --description "for branch" --branch "2.5.0" --verbose |
73 |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --type "After successful deployment" --triggeringEnvironment "DEV" |
74 |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --type "After successful stage" --stage "FIRST" --disable |
75 |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --type "AfterSuccessfulPlan" |
76 |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --type "Scheduled" --description "scheduled trigger" --schedule "1 0 0 ? * *" |
77 |
--action addEnvironmentVariables --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --fields "Zv.a:value a,Zv.b:value b" --field "Zv.1=value 1 8704468" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZPLANpassword=XXX" --replace |
78 |
--action addGroup --group "group1" |
79 |
--action addGroup --group "group1" --continue |
80 |
--action addJob --plan "ZCREATE8659066-AA" --description "My job 1 description" --stage "My stage 1" --job "my job another" |
81 |
--action addJob --plan "ZCREATE8659066-AA" --job "REMOVE" --stage "My stage 1" |
82 |
--action addJob --plan "ZCREATE8659066-AA" --name "myjob 1" --stage "My stage 1" --job "myjob" |
83 |
--action addJob --plan "ZCREATE8659066-BB" --job "JOB" --stage "Stage 1" |
84 |
--action addJob --plan "ZCREATE8659066-CC" --job "JOBDocker" --stage "Default Stage" --type "Docker" --docker "myDocker" |
85 |
--action addLabels --build "XXX-DEF" --labels "testlabel1, testlabel2" |
86 |
--action addLabels --build "XXX-DEF" --number -1 |
87 |
--action addLabels --build "XXX-DEF" --number -1 --labels "testlabel1 testlabel2" |
88 |
--action addLabels --plan "XXX-DEF" --labels "testlabel1 testlabel2" |
89 |
--action addNotification --plan "ZCREATE8659066-NOTIFICATIONS" --event "Job Queued Without Capable Agents" --recipientType "CLI" --field "cliAction = -a getClientInfo" |
90 |
--action addRepository --name "global (delete me)" --repositoryKey "GIT" --credentials "bitbucket-cloud-read-only" --continue |
91 |
--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'" |
92 |
--action addRepository --plan "ZBAMBOOCLI8550152-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'" |
93 |
--action addRepository --plan "ZCREATE8659066-AA" --name "example" --description "example" |
94 |
--action addRequirement --plan "ZCLI-REQUIREMENTS" --job "JOB1" --requirement "Ant" |
95 |
--action addRequirement --plan "ZCLI-REQUIREMENTS" --job "JOB1" --requirement "my-custom-requirement" --type "equal" --value "mine" |
96 |
--action addRequirement --plan "ZCLI-REQUIREMENTS" --job "JOB1" --requirement "system.builder.gant.Gant" |
97 |
--action addStage --plan "ZCREATE8659066-AA" --name "My stage 2" --description "My stage description" |
98 |
--action addStage --plan "ZCREATE8659066-AA" --stage "My stage 1" --description "My stage description" |
99 |
--action addStage --plan "ZCREATE8659066-BB" --stage "Stage 1" |
100 |
--action addTask --plan "ZBAMBOOCLI8550152-checkout1" --job "JOB1" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \\${bamboo.exitCode}'; exit \\${bamboo.exitCode} " |
101 |
--action addTask --plan "ZBAMBOOCLI8550152-checkout1" --job "JOB1" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "task description" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \\${bamboo.exitCode}'; exit \\${bamboo.exitCode} " |
102 |
--action addTask --plan "ZCLI-TASKS" --job "JOB2" --taskKey "ARTIFACT_DOWNLOAD" --field "sourcePlanKey=ZCLI-TASKS" |
103 |
--action addTask --plan "ZCLI-TASKS" --job "JOB2" --taskKey "MAVEN_POM_EXTRACTOR" |
104 |
--action addTask --plan "ZCREATE8659066-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} " |
105 |
--action addTask --plan "ZCREATE8659066-AA" --job "myjobanother" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field "scriptLocation=INLINE" --field "scriptBody = echo 'exitCode: \\${bamboo.exitCode}'; exit \\${bamboo.exitCode} " |
106 |
--action addTask --plan "ZCREATE8659066-BB" --job "JOB" --description "Fail" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 1" --disable |
107 |
--action addTask --plan "ZCREATE8659066-BB" --job "JOB" --description "Long" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = sleep 30s exit 1" --disable |
108 |
--action addTask --plan "ZCREATE8659066-BB" --job "JOB" --description "Success" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 0" |
109 |
--action addTask --plan "ZEXPORT8609263-Export" --job "JOB1" --taskKey "ARTIFACT_DOWNLOAD" --field "sourcePlanKey=ZEXPORT8609263-Export" --field "artifactId_1=out.txt" |
110 |
--action addTrigger --plan "ZCREATE8659066-AA" --type "Polling" |
111 |
--action addTrigger --plan "ZCREATE8659066-AA" --type "Polling" --description "polling trigger interval" --repository "example" --schedule "3600" |
112 |
--action addTrigger --plan "ZCREATE8659066-AA" --type "Polling" --description "polling trigger scheduled" --repository "example" --schedule "2 0 0 ? * *" |
113 |
--action addTrigger --plan "ZCREATE8659066-AA" --type "Remote" --description "remote trigger restricted" --repository "example" --ipRestriction "172.16.9.25,172.16.9.26" |
114 |
--action addTrigger --plan "ZCREATE8659066-AA" --type "Remote" --description "remote trigger" --repository "example" |
115 |
--action addTrigger --plan "ZCREATE8659066-AA" --type "RemoteBitbucketServer" |
116 |
--action addTrigger --plan "ZCREATE8659066-AA" --type "Scheduled" --description "scheduled trigger" --schedule "1 0 0 ? * *" |
117 |
--action addTrigger --plan "ZCREATE8659066-AA" --type "Scheduled" --schedule "9:35" --successfulPlans "XXX-DEF,YYY-DEF" |
118 |
--action addUser --userId "user1" --userEmail "automation+user1@appfire.com" --group "bamboo-admin" --continue |
119 |
--action addUser --userId "user1" --userEmail "automation+user1@appfire.com" --userFullName "User 1" --group "bamboo-admin" |
120 |
--action addVariables --fields "Zv.a:value a,Zv.b:value b" --field "Zv.1=value 1 8659182" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZGLOBALpassword=XXX" --replace |
121 |
--action addVariables --plan "ZCLI-VARIABLES" --fields "Zv.a:value a,Zv.b:value b" --field "Zv.1=value 1 8659182" --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'" --field "ZPLANpassword=XXX" --replace |
122 |
--action cloneEnvironment --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --name "QACLONE" --description "clone of QA" |
123 |
--action clonePlan --build "ZTEMPLATE-checkout1" --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/clonePlancheckout1.txt" --toPlan "ZBAMBOOCLI8550152-checkout1" --name "Clone of checkout1" --description "Created based on ZTEMPLATE-checkout1" |
124 |
--action clonePlan --build "ZTEMPLATE-checkout1" --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/clonePlancheckout1Disable.txt" --toPlan "ZBAMBOOCLI8550152-checkout1Disable" --disable |
125 |
--action clonePlan --build "ZTEMPLATE-notask" --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/clonePlannotask.txt" --toPlan "ZBAMBOOCLI8550152-notask" --name "Clone of notask" --description "Created based on ZTEMPLATE-notask" |
126 |
--action clonePlan --build "ZTEMPLATE-notask" --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/clonePlannotaskDisable.txt" --toPlan "ZBAMBOOCLI8550152-notaskDisable" --disable |
127 |
--action clonePlan --plan "ZTEMPLATE-checkout1" --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/clonePlanRemoveTesting.txt" --toPlan "ZBAMBOOCLI8550152-RemoveTesting" --name "Remove testing" |
128 |
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI8550152CLONE" |
129 |
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI8550152CLONEDisable" --disable |
130 |
--action createDeploymentProject --plan "ZDEPLOY8704468-BASE" --name "Deploy ZDEPLOY8704468-BASE" --description "Description for deploy" |
131 |
--action createDeploymentProject --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --name "Deploy ZTEMPLATE-CHECKOUT1" |
132 |
--action createPlan --plan "ZCREATE8659066-AA" --projectName "ZCREATE8659066 created project" |
133 |
--action createPlan --plan "ZCREATE8659066-BB" --name "Simple plan BB" --description "Simple plan BB description" |
134 |
--action createPlan --plan "ZCREATE8659066-CC" --options "addDefaultJob" |
135 |
--action createPlan --plan "ZCREATE8659066-EMPTY" --projectName "ZCREATE8659066 created project" --replace --options "clear" |
136 |
--action createProject --project "ZPROJECTS8617770" --name "zprojects8617770" --description "Project description" |
137 |
--action deleteDeploymentProject --deploymentProject "1234567890" --continue |
138 |
--action deployEnvironment --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --version "1.0.0" --replace |
139 |
--action deployEnvironment --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --version "1.0.0" --wait |
140 |
--action deployEnvironment --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1" --environment "QA" --version "1.0.0" |
141 |
--action disableAgent --agent "Z Added 2" |
142 |
--action disableJob --plan "ZCREATE8659066-AA" --job "@all" --stage "My stage 1" |
143 |
--action disableJob --plan "ZCREATE8659066-AA" --job "myjob" |
144 |
--action disablePlan --build "ZBAMBOOCLI8550152-checkout1" |
145 |
--action disablePlan --build "ZBAMBOOCLI8550152-notask" |
146 |
--action disableProject --project "ZBAMBOOCLI8550152" |
147 |
--action enableAgent --agent "Z Added 2" |
148 |
--action enableJob --plan "ZCREATE8659066-AA" --job "MYJOB" |
149 |
--action enableJob --plan "ZCREATE8659066-AA" --job "myjob" |
150 |
--action enablePlan --build "ZBAMBOOCLI8550152-checkout1" |
151 |
--action enablePlan --build "ZBAMBOOCLI8550152-notask" |
152 |
--action enableProject --project "ZBAMBOOCLI8550152" |
153 |
--action exportDeploymentProject --file "/var/atlassian/bamboo/xml-data/build-dir/78577666/CLI-BAMBOO691-DEPLOY/build/output/deploy/exportDeploymentProject.txt" --deploymentProject "Deploy ZDEPLOY8704468-BASE" --dateFormat "yyyy.MM.dd" |
154 |
--action exportEnvironment --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --dateFormat "yyyy-MM-dd" |
155 |
--action exportJob --plan "ZEXPORT8609263-Export" --job "JOB1" --dateFormat "yyyy-MM-dd" |
156 |
--action exportPlan --file "/var/atlassian/bamboo/xml-data/build-dir/688131/CLI-BAMBOO691-EXPORT/build/output/export/exportPlanCli.txt" --plan "ZEXPORT8609263-Export" --dateFormat "yyyy-MM-dd" |
157 |
--action exportPlan --file "/var/atlassian/bamboo/xml-data/build-dir/688131/CLI-BAMBOO691-EXPORT/build/output/export/exportPlanJava.txt" --plan "ZEXPORT8609263-Export" --type "java" --dateFormat "yyyy-MM-dd" |
158 |
--action exportPlan --plan "ZCLI-REQUIREMENTS" --job "JOB1" --file "/var/atlassian/bamboo/xml-data/build-dir/688135/CLI-BAMBOO691-REQUIREMENTS/build/output/requirements/exportPlan.txt" |
159 |
--action exportPlan --plan "ZEXPORT8609263-Export" --type "java" |
160 |
--action getAgentAssignmentList --agent "zdeploy" --regex ".*ZDEPLOY8704468.*" |
161 |
--action getAgentList |
162 |
--action getAgentList --excludeDisabled --outputFormat 2 |
163 |
--action getAgentList --outputFormat 2 |
164 |
--action getAgentList --outputFormat 999 |
165 |
--action getAgentList --regex "Z Added 3" --columns "id" |
166 |
--action getApp --app "@default" |
167 |
--action getApplicationLinkList |
168 |
--action getApplicationLinkList --outputFormat 999 |
169 |
--action getApplicationLinkList --type "bitbucket" |
170 |
--action getArtifact --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/getArtifact.txt" --build "XXX-DEF" --artifact "license" --job "JOB1" |
171 |
--action getArtifact --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/getArtifactJobAll.txt" --build "XXX-DEF" --artifact "license" --job "@ALL" |
172 |
--action getArtifact --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/getArtifactWithPath.txt" --build "XXX-DEF" --artifact "src/test/gradle/cli.gradle" --replace |
173 |
--action getArtifact --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/src" --build "XXX-DEF" --artifact "src" --replace --options "mkdir" |
174 |
--action getArtifact --job "JOB1" --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/getArtifactWithResultName.txt" --build "XXX-DEF-172" --artifact "license" |
175 |
--action getArtifactDefinitionList --plan "ZCREATE8659066-AA" |
176 |
--action getArtifactList --build "XXX-DEF" |
177 |
--action getArtifactList --build "XXX-DEF" --job "@all" --regex "lic.*" |
178 |
--action getArtifactList --build "XXX-DEF" --job "JOB1" |
179 |
--action getBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" |
180 |
--action getBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "Release 2.6.0" |
181 |
--action getBranchList --plan "ZTEMPLATE-CHECKOUT1" |
182 |
--action getBranchList --plan "ZTEMPLATE-CHECKOUT1" --regex ".*2.5.0" |
183 |
--action getBranchingOptions --plan "ZCLI-BRANCHING" |
184 |
--action getBranchingOptions --plan "ZCLI-BRANCHING" --verbose |
185 |
--action getBranchingOptions --plan "ZCLI-BRANCHING2" |
186 |
--action getBuild --build "XXX-DEF" --dateFormat "yyyy-MM-dd HH:mm:ss" |
187 |
--action getBuild --build "XXX-DEF-172" |
188 |
--action getBuild --build "ZCREATE8659066-BB-3" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" |
189 |
--action getBuildList --plan "ZCLI-BUILDLIST" --limit 1 --outputFormat 999 --issues "NOTFOUND-123" |
190 |
--action getBuildList --plan "ZCLI-BUILDLIST" --limit 1 --outputFormat 999 --labels "not_found" |
191 |
--action getBuildList --plan "ZCLI-BUILDLIST" --limit 1 --outputFormat 999 --labels "not_found,testlabel1" |
192 |
--action getBuildList --plan "ZCLI-BUILDLIST" --outputFormat 999 --columns "plan,duration description,labels,issues" |
193 |
--action getBuildList --plan "ZCREATE8659066-BB" |
194 |
--action getBuildList --plan "ZCREATE8659066-BB" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --outputFormat 999 --columns "build,number,state,started,completed" |
195 |
--action getBuildList --plan "ZCREATE8659066-BB" --field1 "STARTED" --value1 "2019-12-19T23:18:36.168-0600" --outputFormat 2 --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" |
196 |
--action getBuildList --plan "ZCREATE8659066-BB" --field1 "notState" --value1 "UNKNOWN" |
197 |
--action getBuildList --plan "ZCREATE8659066-BB" --field1 "sTaTe" --value1 "successful" |
198 |
--action getBuildList --plan "ZCREATE8659066-BB" --field1 "started" --value1 "-24h" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose |
199 |
--action getBuildList --plan "ZCREATE8659066-BB" --field1 "started" --value1 "2019-12-19T23:10:59.076-0600" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" |
200 |
--action getBuildList --plan "ZCREATE8659066-BB" --field1 "started" --value1 "today" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose |
201 |
--action getBuildList --plan "ZCREATE8659066-BB" --outputFormat 999 |
202 |
--action getBuildList --plan "ZCREATE8659066-BB" --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss" |
203 |
--action getBuildList --plan "ZCREATE8659066-EMPTY" |
204 |
--action getBuildList --plan "ZLONGRUNNING-AA" |
205 |
--action getBuildLog --build "ZCREATE8659066-BB-JOB" |
206 |
--action getBuildLog --build "ZCREATE8659066-BB-JOB" --findReplaceRegex ".*?\\t.*?\\t(.*):\\$1" |
207 |
--action getBuildLog --build "ZCREATE8659066-BB-JOB" --regex "command.*" |
208 |
--action getBuildLog --plan "ZCREATE8659066-BB" --job "JOB" --limit 10 |
209 |
--action getBuildQueueList |
210 |
--action getBuildQueueList --plan "ZBUILDQUEUE-QUEUED" |
211 |
--action getBuildQueueList --plan "ZBUILDQUEUE-QUEUED-JOB" |
212 |
--action getBuildQueueList --project "ZBUILDQUEUE" |
213 |
--action getBuildQueueList --regex "ZBUILDQUEUE.*" |
214 |
--action getCapabilityList |
215 |
--action getCapabilityList --agent "@all" |
216 |
--action getCapabilityList --agent "zcapabilities" |
217 |
--action getCapabilityList --options "includeUnreferenced" --regex ".*Maven.*" |
218 |
--action getClientInfo |
219 |
--action getCommentList --build "XXX-DEF" --number "172" --dateFormat "yyyy-MM-dd HH:mm:ss" |
220 |
--action getDeploymentProject --deploymentProject "Deploy ZDEPLOY8704468-BASE" |
221 |
--action getDeploymentProjectList |
222 |
--action getEnvironment --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" |
223 |
--action getEnvironmentList --deploymentProject "Deploy ZDEPLOY8704468-BASE" |
224 |
--action getEnvironmentNotificationList --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" |
225 |
--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" |
226 |
--action getEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --id "117899564" |
227 |
--action getEnvironmentTaskList --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" |
228 |
--action getEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --name "After successful deployment" |
229 |
--action getEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --name "Scheduled" |
230 |
--action getEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" |
231 |
--action getEnvironmentVariableList --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" |
232 |
--action getJob --plan "ZCREATE8659066-CC" --job "JOB1" |
233 |
--action getJob --plan "ZCREATE8659066-CC" --job "JOBDocker" |
234 |
--action getJobList --plan "ZCREATE8659066-AA" --job "@all" --stage "My stage 1" --columns "enabled,type" |
235 |
--action getJobList --plan "ZCREATE8659066-CC" |
236 |
--action getJobList --plan "ZCREATE8659066SCRIPT-PLAN" |
237 |
--action getJobList --plan "ZCREATE8659066SCRIPT-PLAN" --regex "TEST2.*" |
238 |
--action getJobList --plan "ZCREATE8659066SCRIPT-PLAN" --regex "TEST2.*" --columns "stage,job" --outputType "table" |
239 |
--action getLabelList --build "XXX-DEF" --number -1 |
240 |
--action getLabelList --plan "XXX-DEF" |
241 |
--action getLatestBuildNumber --build "XXX-DEF" |
242 |
--action getLatestBuildNumber --plan "ZLONGRUNNING-AA" |
243 |
--action getNotificationList --plan "ZCREATE8659066-NOTIFICATIONS" |
244 |
--action getPlan --plan "ZBAMBOOCLI8550152-checkout1" --verbose |
245 |
--action getPlan --plan "ZBAMBOOCLI8550152-checkout1Disable" |
246 |
--action getPlan --plan "ZBAMBOOCLI8550152CLONE-checkout1" |
247 |
--action getPlan --project "ZBAMBOOCLI8550152CLONE" --plan "ZBAMBOOCLI8550152CLONE-CHECKOUT1" |
248 |
--action getPlanList --project "@all" --excludeDisabled --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss" |
249 |
--action getPlanList --project "@all" --favorite |
250 |
--action getPlanList --project "@all" --file "/var/atlassian/bamboo/xml-data/build-dir/688134/CLI-BAMBOO691-CREATE/build/output/create/getPlanList.txt" |
251 |
--action getPlanList --project "XXX" --excludeDisabled |
252 |
--action getPlanList --project "XXX" --excludeEnabled |
253 |
--action getPlanList --project "ZCREATE8659066SCRIPT" |
254 |
--action getPlanList --project "ZCREATE8659066SCRIPT" --field1 "notstate" --value1 "successful" |
255 |
--action getPlanList --project "ZCREATE8659066SCRIPT" --field1 "state" --value1 "failed" |
256 |
--action getPlanList --project "ZMOVE8552816" |
257 |
--action getPlanList --project "ZMOVE8552816XX" |
258 |
--action getPlanList --project "ZTEMPLATE" --regex "ZTEMPLATE-CHECKOUT1.*" --options "includeBranchPlans" |
259 |
--action getProject --project "ZPROJECTS8617770" |
260 |
--action getProjectList |
261 |
--action getProjectList --project "ZPROJECTS8617770" |
262 |
--action getRepository --plan "ZCREATE8659066-AA" --name "example" |
263 |
--action getRepository --plan "ZTEMPLATE-checkout1" --repository "groovy-task" --outputFormat 999 |
264 |
--action getRepositoryList |
265 |
--action getRepositoryList --plan "ZBAMBOOCLI8550152-checkout1" |
266 |
--action getRepositoryList --plan "ZCREATE8659066-RepositoryOrdering" |
267 |
--action getRequirementList --plan "ZCLI-REQUIREMENTS" --job "JOB1" |
268 |
--action getServerInfo |
269 |
--action getServerInfo --outputFormat 3 |
270 |
--action getServerInfo --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss" |
271 |
--action getStage --plan "ZCREATE8659066SCRIPT-PLAN" --stage "B updated" |
272 |
--action getStage --plan "ZCREATE8659066SCRIPT-PLAN" --stage "B" |
273 |
--action getStageList --plan "ZCREATE8659066SCRIPT-PLAN" |
274 |
--action getStageList --plan "ZCREATE8659066SCRIPT-PLAN" --regex "A.*" |
275 |
--action getStageList --project "ZCREATE8659066SCRIPT" --plan "ZCREATE8659066SCRIPT-PLAN" |
276 |
--action getTask --plan "ZCLI-TASKS" --job "JOB" --task "@all" |
277 |
--action getTask --plan "ZCLI-TASKS" --job "JOB" --task 1 |
278 |
--action getTaskList --plan "ZCLI-TASKS" --job "JOB" |
279 |
--action getTaskList --plan "ZCREATE8659066-BB" --job "JOB" |
280 |
--action getTaskTypeList |
281 |
--action getTrigger --plan "ZCREATE8659066-AA" --name "Scheduled" |
282 |
--action getTriggerList --plan "ZCREATE8659066-AA" |
283 |
--action getTriggerList --plan "ZCREATE8659066-AA" --regex ".*scheduled.*" |
284 |
--action getUserList |
285 |
--action getUserList --group "bamboo-admin" |
286 |
--action getUserList --regex "a.*" --limit 1 |
287 |
--action getVariableList |
288 |
--action getVariableList --plan "ZCLI-VARIABLES" |
289 |
--action installApp --app "@default" --options "simulate" |
290 |
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "DEV" --after "QA" |
291 |
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QACLONE" |
292 |
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QACLONE" --after "@last" |
293 |
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QACLONE" --after "DEV" |
294 |
--action moveEnvironment --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QACLONE" --before "DEV" |
295 |
--action moveJob --plan "ZCREATE8659066SCRIPT-PLAN" --job "TEST2" --stage "B updated" |
296 |
--action moveJob --plan "ZCREATE8659066SCRIPT-PLAN" --job "TEST2" --stage "C" --autoStage |
297 |
--action movePlans --plan "ZMOVE8552816-Base1" --toProject "ZMOVE8552816XX" |
298 |
--action movePlans --project "ZMOVE8552816" --regex ".*[23]" --toProject "ZMOVE8552816XX" |
299 |
--action moveStage --plan "ZCREATE8659066SCRIPT-PLAN" --stage "A" --after "B updated" |
300 |
--action moveStage --plan "ZCREATE8659066SCRIPT-PLAN" --stage "FIRST" |
301 |
--action moveTask --plan "ZCLI-TASKS" --job "JOB" --task "1" --final |
302 |
--action moveTask --plan "ZCLI-TASKS" --job "JOB" --task "Script" |
303 |
--action moveTask --plan "ZCLI-TASKS" --job "JOB" --task 3 --final --after 5 |
304 |
--action orderRepository --plan "ZCREATE8659066-RepositoryOrdering" --repository "example2" |
305 |
--action orderRepository --plan "ZCREATE8659066-RepositoryOrdering" --repository "example2" --after "cli" |
306 |
--action pauseServer |
307 |
--action queueBuild --build "XXX-DEF" --wait |
308 |
--action queueBuild --build "XXX-FAIL" --wait --continue |
309 |
--action queueBuild --build "ZBAMBOOCLI8550152-checkout1" --wait --continue |
310 |
--action queueBuild --build "ZBAMBOOCLI8550152-checkout1" --wait --timeout 90 --field "exitCode=0" --verbose |
311 |
--action queueBuild --build "ZBAMBOOCLI8550152-checkout1" --wait --timeout 90 --fields "exitCode: 0" --verbose |
312 |
--action queueBuild --build "ZBAMBOOCLI8550152-notask" --wait --continue |
313 |
--action queueBuild --plan "ZCREATE8659066-BB" --continue |
314 |
--action queueBuild --plan "ZCREATE8659066-BB" --field1 "started" --value1 "2019-12-19T23:10:59.076-0600" --field2 "state" --value2 "SUCCESSFUL" |
315 |
--action queueBuild --plan "ZCREATE8659066-BB" --field1 "started" --value1 "XXX-DEF" |
316 |
--action queueBuild --plan "ZCREATE8659066-BB" --field1 "started" --value1 "ZCREATE8659066-BB-1" |
317 |
--action queueBuild --plan "ZCREATE8659066-BB" --wait --continue |
318 |
--action queueBuild --plan "ZCREATE8659066-EMPTY" --wait --continue |
319 |
--action queueBuild --plan "ZDEPLOY8704468-BASE" --wait |
320 |
--action queueBuild --plan "ZLONGRUNNING-AA" |
321 |
--action queueBuild --plan "ZLONGRUNNING-AA" --wait --stage "@all" |
322 |
--action queueBuild --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --wait |
323 |
--action queueBuildFromList --list "ZCREATE8659066-BB" --field1 "started" --value1 "2019-12-19T23:10:59.076-0600" |
324 |
--action queueBuildFromList --project "@all" --labels "NOT_FOUND" --simulate |
325 |
--action queueBuildFromList --project "@all" --labels "testlabel1" --simulate |
326 |
--action removeAgent --agent "Z Added 2" |
327 |
--action removeAgent --agent "Z Added 2" --continue |
328 |
--action removeAgent --id "118390800" |
329 |
--action removeAgent --id "118390800" --continue |
330 |
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE8659066" |
331 |
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE8659066-AA" |
332 |
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE8659066-AA" --continue |
333 |
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE8659066-AA-myJob" |
334 |
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE8659066-AA-myJob" --continue |
335 |
--action removeArtifact --plan "ZCREATE8659066-AA" --job "MYJOB" --artifact "remove me" |
336 |
--action removeBuildHistory --build "ZCREATE8659066-BB" --number 1 |
337 |
--action removeEnvironmentNotification --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --event "Deployment started and finished" --recipientType "CLI" |
338 |
--action removeEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --id "117899564" |
339 |
--action removeEnvironmentTask --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --task "Artifact download" |
340 |
--action removeEnvironmentVariables --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --field1 "@all" |
341 |
--action removeJob --plan "ZCREATE8659066-AA" --job "REMOVE" |
342 |
--action removeLabels --build "XXX-DEF" --labels "test.*" |
343 |
--action removeLabels --build "XXX-DEF" --number -1 --labels ".*" |
344 |
--action removeLabels --build "XXX-DEF" --number -1 --labels "testlabel1, testlabel2, notfound" --continue |
345 |
--action removeLabels --plan "XXX-DEF" --labels ".*" |
346 |
--action removeNotification --plan "ZCREATE8659066-NOTIFICATIONS" --event "Job Queued Without Capable Agents" --recipientType "CLI" |
347 |
--action removeRepository --id "117834010" |
348 |
--action removeRepository --plan "ZBAMBOOCLI8550152-checkout1" --id "117834007" |
349 |
--action removeRepository --plan "ZCREATE8659066SCRIPT-PLAN" --name "NOT_FOUND" --continue |
350 |
--action removeTask --plan "ZBAMBOOCLI8550152-RemoveTesting" --job "JOB1" --task "@all" |
351 |
--action removeTask --plan "ZBAMBOOCLI8550152-checkout1" --job "JOB1" --id "2" |
352 |
--action removeTrigger --plan "ZCREATE8659066-AA" --id "-1" |
353 |
--action removeTrigger --plan "ZCREATE8659066-AA" --id "2" |
354 |
--action removeTrigger --plan "ZCREATE8659066-AA" --id "2" --continue |
355 |
--action removeTrigger --plan "ZCREATE8659066-AA" --name "@all" |
356 |
--action removeTrigger --plan "ZCREATE8659066-AA" --name "Repository polling" |
357 |
--action removeUser --userId "NOT_FOUND" |
358 |
--action removeVariables --plan "ZCLI-VARIABLES" --fields "@all" |
359 |
--action renderRequest --build "XXX-DEF" --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/renderRequestBuild.txt" |
360 |
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/renderRequestConfig.txt" --request "/config" |
361 |
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/renderRequestJob.txt" |
362 |
--action renderRequest --file "/var/atlassian/bamboo/xml-data/build-dir/688134/CLI-BAMBOO691-CREATE/build/output/create/verifyTriggers.txt" --request "chain/admin/config/editChainTriggers.action" --requestParameters "buildKey=ZCREATE8659066-AA" |
363 |
--action renderRequest --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/renderRequestConfig2.txt" --request "/browse/XXX-DEF-JOB1/config" |
364 |
--action renderRequest --plan "ZBAMBOOCLI8550152-checkout1" --job "JOB1" --file "/var/atlassian/bamboo/xml-data/build-dir/78577665/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/renderRequestBuildResultcheckout1.txt" --request "-2/log" |
365 |
--action renderRequest --verbose --quiet --request "/chain/admin/config/editChainRepository.action?buildKey=XXX-DEF" --findReplaceRegex ".*(repositoryId=\\d+).*:\\$1" |
366 |
--action restartBuild --plan "ZLONGRUNNING-AA" --stage "@ALL" --wait |
367 |
--action restartBuild --plan "ZLONGRUNNING-AA" --stage "THIRD" --wait |
368 |
--action restartBuild --plan "ZLONGRUNNING-AA" --wait |
369 |
--action resumeServer |
370 |
--action run |
371 |
--action run -i "-a getApp --app @default" |
372 |
--action run < ./src/itest/bamboo/resources/run.txt |
373 |
--action run --continue |
374 |
--action run --file "-" |
375 |
--action run --file "./src/itest/bamboo/resources/create-plan-standard-tasks.txt" --findReplace "%project%:ZCREATE8659066,%plan%:STANDARDTASKSFROMLIST" |
376 |
--action run --file "./src/itest/bamboo/resources/create-plan.txt" --findReplace "%PLAN%:ZCREATE8659066SCRIPT-PLAN,%PLAN_NAME%:Plan created by script,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 8659066,%STAGE_DESCRIPTION%:First stage" |
377 |
--action run --file "./src/itest/bamboo/resources/developer.txt" --findReplace "%PLAN%:ZDEVELOPER8621812SCRIPT-PLAN,%PLAN_NAME%:Plan created by script by developer,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 8621812,%STAGE_DESCRIPTION%:First stage,%AGENT%:Z Added 1" |
378 |
--action run --file "./src/itest/bamboo/resources/exportPlanCli.txt" --type "cli" --findReplace "999999:86092630099" --dateFormat "yyyy-MM-dd" |
379 |
--action run --file "./src/itest/bamboo/resources/exportPlanNotifications.txt" --findReplace "%plan%:XXX-Notifications" |
380 |
--action run --file "./src/itest/bamboo/resources/renderRequest.txt" --findReplace "@build@:XXX-DEF" |
381 |
--action run --file "./src/itest/bamboo/resources/replace-plan1.txt" --findReplace "%PLAN%:ZREPLACE8663212SCRIPT-PLAN,%PLAN_NAME%:Plan created by script for replace,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 8663212,%STAGE_DESCRIPTION%:First stage,%AGENT%:zreplace1" |
382 |
--action run --file "./src/itest/bamboo/resources/replace-plan2.txt" --findReplace "%PLAN%:ZREPLACE8663212SCRIPT-PLAN,%PLAN_NAME%:Plan created by script for replace,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 8663212,%STAGE_DESCRIPTION%:First stage,%AGENT%:zreplace1" |
383 |
--action run --file "./src/itest/bamboo/resources/run.txt" |
384 |
--action run --file "/var/atlassian/bamboo/xml-data/build-dir/688131/CLI-BAMBOO691-EXPORT/build/output/export/exportPlanCli.txt" --type "cli" --findReplace "8609263:860926300" --dateFormat "yyyy-MM-dd" |
385 |
--action run --file "/var/atlassian/bamboo/xml-data/build-dir/688135/CLI-BAMBOO691-REQUIREMENTS/build/output/requirements/exportPlan.txt" |
386 |
--action run --file "/var/atlassian/bamboo/xml-data/build-dir/78577666/CLI-BAMBOO691-DEPLOY/build/output/deploy/exportDeploymentProject.txt" --findReplace "--name \\"Deploy ZDEPLOY8704468-BASE\\":--name \\"Import Deploy ZDEPLOY8704468-BASE\\"" |
387 |
--action run --input "-a addVariables --field \\"aaa=AAA\\" --replace" --input "-a getVariableList --reference bamboo. -f \\"\\"" --input "-a getClientInfo --comment @bamboo.aaa@" |
388 |
--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" |
389 |
--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" |
390 |
--action run --input "-a createPlan --plan ZCREATE8659066-RepositoryOrdering --repository example --options addDefaultJob,removeTrigger" --input "-a addRepository --plan @plan@ --name example2" --input "-a addRepository --plan @plan@ --name cli" |
391 |
--action run --input "-a createPlan --plan ZEXPORT8609263-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 addArtifact --plan @plan@ --job @job@ --artifact out.txt --copyPattern out.txt --shared" --input "-a addArtifact --plan @plan@ --job @job@ --artifact out2.txt --copyPattern out2.txt --required" --input "-a addTask --plan @plan@ --job @job@ --taskKey CHECKOUT" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field \\"scriptLocation = INLINE\\" --field \\"scriptBody = echo xxx > out.txt \\n echo yyy > out2.txt\\"" --input "-a addTask --plan @plan@ --job @job@ --taskKey CLI_BAMBOO --field scriptLocation=INLINE --field \\"scriptBody=--help\\"" --input "-a addTask --plan @plan@ --job @job@ --taskKey ARTIFACT_DOWNLOAD --field sourcePlanKey=@plan@ --field artifactId_1=out.txt" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --final --field scriptLocation=INLINE --field scriptBody=0" |
392 |
--action run --input "-a createPlan --plan ZJOBS-AA --replace --options addDefaultJob" --input "-a addJob --plan @plan@ --stage \\"@stage@\\" --job JOB2 --disable --type DOCKER --docker xxx" --input "-a getPlan --plan @plan@" --input "-a getStage --plan @plan@ --stage \\"@stage@\\"" --input "-a getJob --plan @plan@ --job JOB2" --input "-a getJobList --plan @plan@ --columns \\"stage,job,job name,full key,type,docker\\" --outputFormat 999 --outputType text" |
393 |
--action run --input "-a createPlan --plan ZLONGRUNNING-AA --replace --options addDefaultJob" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \\"scriptBody=sleep 20s\\" " --input "-a addStage --plan @plan@ --stage SECOND --manual" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB2" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \\"scriptBody=exit 0\\" " --input "-a addStage --plan @plan@ --stage THIRD --manual" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB3" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \\"scriptBody=exit 0\\" " --input "-a addStage --plan @plan@ --stage FOURTH --manual" --input "-a addJob --plan @plan@ --stage @stage@ --job JOB4" --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \\"scriptBody=exit 0\\" " |
394 |
--action run --input "-a createPlan --plan \\"ZCREATE8659066-add default job\\" --options addDefaultJob" --input "-a addTask --plan @plan@ --job @job@ --taskKey CLEAN" --input "-a updatePlan --plan @plan@ --description \\"Update with a description\\"" --input "-a getPlan --plan @plan@" |
395 |
--action run --input "upm -a getAppList" |
396 |
--action run --verbose |
397 |
--action runFromAgentList --common "-a getServerInfo --comment ~agent: @agent@, id: @agentId@~" --regex "Z Added .*" --special " ~" |
398 |
--action runFromBuildList --plan "ZCLI-BUILDLIST" --limit 1 --labels "testlabel1" --common "-a addLabels --build @build@ --labels testlabel1" |
399 |
--action runFromBuildList --plan "ZCREATE8659066-BB" --field "endedBefore=2019-12-19 23:17:57.978" --dateFormat "yyyy-MM-dd HH:mm:ss.SSS" --common "-a removeBuildHistory --build @build@" |
400 |
--action runFromCapabilityList --regex "system.jdk.*" --common "-a updateCapability --capability \\"@capability@\\"" |
401 |
--action runFromDeploymentProjectList --common "-a getClientInfo --options ~deploymentProject: @deploymentProject@, id: @deploymentProjectId@~" --special " # ~" |
402 |
--action runFromEnvironmentList --deploymentProject "Deploy ZDEPLOY8704468-BASE" --common "-a getEnvironment --deploymentProject ~Deploy ZDEPLOY8704468-BASE~ --environment @environmentId@" --special " ~" |
403 |
--action runFromEnvironmentRequirementList --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --common "-a getClientInfo --value @requirementId@" |
404 |
--action runFromEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --common "-a getEnvironmentTrigger --deploymentProject ~Deploy ZDEPLOY8704468-BASE~ --environment QA --id @triggerId@" --special " ~" |
405 |
--action runFromEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --regex ".*deployment" --common "-a removeEnvironmentTrigger --deploymentProject ~Deploy ZDEPLOY8704468-BASE~ --environment QA --id @triggerId@" --special " ~" |
406 |
--action runFromJobList --plan "ZCREATE8659066SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~" |
407 |
--action runFromJobList --plan "ZCREATE8659066SCRIPT-PLAN" --stage "A" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~" |
408 |
--action runFromList --list "A,B" --clearFileBeforeAppend --input "-a getProjectList --limit 2 --file /var/atlassian/bamboo/xml-data/build-dir/688132/CLI-BAMBOO691-RUNNER/build/output/runner/runFromListAppendAndColumn.txt --append --columns 1,2" |
409 |
--action runFromList --list "Client, Server" --common "-a get@entry@Info" |
410 |
--action runFromList --list "org.*,com.*" --regex "@entry@" --common "-a getAppList --regex \\"@entry@\\"" |
411 |
--action runFromPlanList --project "@aLL" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@~" --special " ~" --limit 7 |
412 |
--action runFromPlanList --project "ZCREATE8659066SCRIPT" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@~" --special " ~" |
413 |
--action runFromProjectList --common "-a getServerInfo --comment ~project: @project@, name: @projectName@~" --limit 2 --special " ~" |
414 |
--action runFromRepositoryList --common "-a getServerInfo --comment ~repository: @repository@, id: @repositoryId@~" --regex ".*example.*" --special " ~" |
415 |
--action runFromRequirementList --plan "ZCLI-REQUIREMENTS" --job "JOB1" --common "-a getClientInfo --value @requirementId@" |
416 |
--action runFromSql --file "./src/itest/bamboo/resources/run.sql" --host "postgres.examplegear.com" --port "50940" --driver "postgresql" --dbUser "automation" --database "test" --dbPassword "automation" |
417 |
--action runFromStageList --plan "ZCREATE8659066SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@~" --special " ~" |
418 |
--action runFromTaskList --plan "ZCREATE8659066SCRIPT-PLAN" --job "JOB" --common "-a getTask --plan @plan@ --job @job@ --task @taskId@" |
419 |
--action runFromTriggerList --plan "ZCREATE8659066-AA" --common "-a getTrigger --plan ZCREATE8659066-AA --id @triggerId@" |
420 |
--action runFromTriggerList --plan "ZCREATE8659066-AA" --regex "Repository.*" --limit 1 --common "-a removeTrigger --plan ZCREATE8659066-AA --id @triggerId@" |
421 |
--action runFromUserList --regex "a.*" --common "-a getClientInfo --comment @userId@" |
422 |
--action setDependencyOptions --plan "ZCREATE8659066-AA" --childPlans "ZCREATE8659066-BB, ZCREATE8659066-EMPTY" |
423 |
--action setFavoritePlan --plan "ZCREATE8659066-AA" |
424 |
--action unsetFavoritePlan --plan "ZCREATE8659066-AA" |
425 |
--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" |
426 |
--action updateBranchingOptions --plan "ZCLI-BRANCHING2" --field "defaultNotificationStrategy=notifyCommitters" --field "branchTriggering=inherited" |
427 |
--action updateCapability --capability "Docker" --value "/zdocker" |
428 |
--action updateCapability --capability "Docker" --value "/zdocker" --agent "zcapabilities" |
429 |
--action updateCapability --capability "Perforce Executable" --value "/zperforce" |
430 |
--action updateCapability --capability "Perforce Executable" --value "/zperforce" --agent "zcapabilities" |
431 |
--action updateCapability --capability "system.git.executable.ssh" --value "/zgitssh" --agent "zcapabilities" --options "ssh" |
432 |
--action updateCapability --capability "system.git.executable.ssh" --value "/zgitssh" --options "ssh" |
433 |
--action updateCapability --capability "system.hg.executable.ssh" --value "/zhgssh" --agent "zcapabilities" --options "ssh" |
434 |
--action updateCapability --capability "system.hg.executable.ssh" --value "/zhgssh" --options "ssh" |
435 |
--action updateCapability --capability "z Ant" --value "/ant" --agent "zcapabilities" --name "z Ant" |
436 |
--action updateCapability --capability "z Ant" --value "/ant" --name "z Ant" |
437 |
--action updateCapability --capability "z GW" --value "/gw" --agent "zcapabilities" --name "z GW" |
438 |
--action updateCapability --capability "z GW" --value "/gw" --name "z GW" |
439 |
--action updateCapability --capability "z JDK" --value "/jdk" --agent "zcapabilities" --name "z JDK" |
440 |
--action updateCapability --capability "z JDK" --value "/jdk" --name "z JDK" |
441 |
--action updateCapability --capability "z agent gant" --value "/local" --agent "zcapabilities" --name "z agent gant" |
442 |
--action updateCapability --capability "z custom 1" --value "xxx" --agent "zcapabilities" --name "z custom 1" |
443 |
--action updateCapability --capability "z custom 1" --value "xxx" --name "z custom 1" |
444 |
--action updateEnvironmentRequirement --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --id "117899564" --type "MATCHES" --value "zzz" |
445 |
--action updateEnvironmentTask --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --task "Groovy" --fields "label:Groovy,buildJdk:JDK,scriptLocation:INLINE" --field "scriptBody = 0 // updated" |
446 |
--action updateEnvironmentVariables --deploymentProject "Deploy ZDEPLOY8704468-BASE" --environment "QA" --append --field "Zv.a = ' APPENDED_TEXT WITH BLANK'" --field "Zv.1 = APPENDED_TEXT" |
447 |
--action updatePlan --plan "ZCREATE8659066-AA" --description "Updated" |
448 |
--action updateStage --plan "ZCREATE8659066SCRIPT-PLAN" --stage "B updated" |
449 |
--action updateStage --plan "ZCREATE8659066SCRIPT-PLAN" --stage "B" --manual --final --name "B updated" --description "Updated description" |
450 |
--action updateTask --plan "ZBAMBOOCLI8550152-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" |
451 |
--action updateTask --plan "ZCREATE8659066-BB" --job "JOB" --description "Fail" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit 1" --id "3" |
452 |
--action updateTask --plan "ZCREATE8659066-BB" --job "JOB" --description "Long" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = sleep 30s exit 1" --id "2" |
453 |
--action updateVariables --plan "ZCLI-VARIABLES" --append --field "Zv.a = ' APPENDED_TEXT WITH BLANK'" --field "Zv.1 = APPENDED_TEXT" |
454 |
--action updateVariables --plan "ZCLI-VARIABLES" --append --field "Zv.a" --findReplace "value aaa:modified value aaa" |
455 |
--action validateLicense |
456 |
--action verifyBuild --build "XXX-DEF-172" --wait |
457 |
--action verifyBuild --build "ZBAMBOOCLI8550152-checkout1" |
458 |
--action verifyBuild --plan "ZLONGRUNNING-AA" --wait --timeout 40 |
Log a request with our support team.
Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.