Examples - 7.4.0
Related information for 7.4.0
Examples
|
Command |
---|---|
1 |
--action addAgent --agent "Z Added 1" --continue |
2 |
--action addAgent --agent "Z Added 1" --description "Agent added by 3350251" |
3 |
--action addAgent --agent "Z Added 2" |
4 |
--action addAgent --agent "Z Added 3" |
5 |
--action addAgentAssignment --agent "Z1" --assignment "Deploy ZDEPLOY2980897-BASE:QA" --type "ENVIRONMENT" |
6 |
--action addAgentAssignment --agent "Z1" --assignment "Deploy ZDEPLOY2980897-BASE" --type "DEPLOYMENT_PROJECT" |
7 |
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE3350251" |
8 |
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE3350251-AA" |
9 |
--action addAgentAssignment --agent "Z Added 1" --assignment "ZCREATE3350251-AA-MYJOB" |
10 |
--action addArtifact --plan "ZCREATE3350251-AA" --job "myjob" --artifact "jar" --location "target" --copyPattern "**/*.jar" --shared |
11 |
--action addArtifact --plan "ZCREATE3350251-AA" --job "myjob" --artifact "remove me" --location "target" --copyPattern "**/*.jar" |
12 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --description "Branch for tag 2.5.0" --enable |
13 |
--action addBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "2.6.0" --name "Release 2.6.0" |
14 |
--action addCapability --type "custom" --value "xxx" --agent "zcapabilities" --name "z custom 1" |
15 |
--action addCapability --type "custom" --value "xxx" --name "z custom 1" |
16 |
--action addCapability --type "Docker" --value "/zdocker" |
17 |
--action addCapability --type "Docker" --value "/zdocker" --agent "zcapabilities" |
18 |
--action addCapability --type "executable:Ant" --value "/ant" --agent "zcapabilities" --name "z Ant" |
19 |
--action addCapability --type "executable:Ant" --value "/ant" --name "z Ant" |
20 |
--action addCapability --type "executable:Gant" --value "/local" --agent "zcapabilities" --name "z agent gant" |
21 |
--action addCapability --type "executable:Gradle Wrapper" --value "/gw" --agent "zcapabilities" --name "z GW" |
22 |
--action addCapability --type "executable:Gradle Wrapper" --value "/gw" --name "z GW" |
23 |
--action addCapability --type "git" --value "/zgitssh" --agent "zcapabilities" --options "ssh" |
24 |
--action addCapability --type "git" --value "/zgitssh" --options "ssh" |
25 |
--action addCapability --type "jdk" --value "/jdk" --agent "zcapabilities" --name "z JDK" |
26 |
--action addCapability --type "jdk" --value "/jdk" --name "z JDK" |
27 |
--action addCapability --type "mercurial" --value "/zhgssh" --agent "zcapabilities" --options "ssh" |
28 |
--action addCapability --type "mercurial" --value "/zhgssh" --options "ssh" |
29 |
--action addCapability --type "Perforce" --value "/zperforce" |
30 |
--action addCapability --type "Perforce" --value "/zperforce" --agent "zcapabilities" |
31 |
--action addComment --build "XXX-DEF" --comment "This is a comment added by automation" |
32 |
--action addComment --build "XXX-DEF" --number "1011" --file "src/itest/resources/data.txt" --findReplace "xxx:yyy" |
33 |
--action addCredentials --credentials "zUpdated" --userId "updatedUser" --userPassword "bbb" --replace |
34 |
--action addCredentials --name "zForUpdate" --userId "z1" --userPassword "yyy" |
35 |
--action addCredentials --name "zssh" --file "src/itest/resources/ssh.txt" --sshParaphrase "xxx" |
36 |
--action addCredentials --name "zuser" --userId "z1" --userPassword "xxx" |
37 |
--action addEnvironment --deploymentProject "Deploy ZDEPLOY2980897-BASE" --name "DEV" |
38 |
--action addEnvironment --deploymentProject "Deploy ZDEPLOY2980897-BASE" --name "QA" --description "Environment description" |
39 |
--action addEnvironment --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1" --name "QA" |
40 |
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "DEV" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = exit -99" |
41 |
--action addEnvironmentTask --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --taskKey "SCRIPT" --field "scriptLocation = INLINE" --field "scriptBody = sleep 10 && echo xxx > out.txt" |
42 |
--action addEnvironmentTask --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1" --environment "QA" --taskKey "SCRIPT" --field1 scriptLocation --value1 INLINE --field2 scriptBody --value2 "echo xxx > out.txt" |
43 |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --stage "FIRST" --type "After successful stage" --description "for branch" --branch "2.5.0" --verbose |
44 |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --type "After successful deployment" --triggeringEnvironment "DEV" |
45 |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --type "AfterSuccessfulPlan" |
46 |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --type "After successful stage" --stage "FIRST" --disable |
47 |
--action addEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --type "Scheduled" --description "scheduled trigger" --schedule "1 0 0 ? * *" |
48 |
--action addEnvironmentVariables --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --fields "Zv.a:value a,Zv.b:value b" --field1 "Zv.1" --value1 "value 1 2980897" --field2 "Zv_2" --value2 "value 2 :;<>,.?/~#$%^&*()_+'" --field3 "ZPLANpassword" --value3 "XXX" --replace |
49 |
--action addJob --plan "ZCREATE3350251-AA" --description "My job 1 description" --stage "My stage 1" --job "my job another" |
50 |
--action addJob --plan "ZCREATE3350251-AA" --job "REMOVE" --stage "My stage 1" |
51 |
--action addJob --plan "ZCREATE3350251-AA" --name "my job 1" --stage "My stage 1" --job "myjob" |
52 |
--action addJob --plan "ZCREATE3350251-BB" --job "JOB1" --stage "Stage 1" |
53 |
--action addLabels --build "XXX-DEF" --labels "testlabel1, testlabel2" |
54 |
--action addLabels --build "XXX-DEF" --number -1 --labels "testlabel1 testlabel2" |
55 |
--action addRepository --name "global (delete me)" --repositoryKey "GIT" --continue |
56 |
--action addRepository --name "global (delete me)" --repositoryKey "GIT" --fields "repository.git.repositoryUrl:'https://code.examplegear.com/scm/public/groovy-2.1.2.git',repository.git.authenticationType:NONE,repository.git.username:,repository.git.password:,repository.git.branch:master,repository.git.commandTimeout:2,selectedWebRepositoryViewer:'bamboo.webrepositoryviewer.provided:noRepositoryViewer'" |
57 |
--action addRepository --name "zrepositories bitbucketCloud" --repositoryKey "BITBUCKET_CLOUD" --credentials "zrepositories credentials for bitbucketCloud 1" --fields "repository.bitbucket.repository:bob_swift/cli,repository.bitbucket.authenticationType:'PASSWORD'" |
58 |
--action addRepository --name "zrepositories git" --repositoryKey "GIT" --credentials "zrepositories credentials for git 1" --fields "repository.git.repositoryUrl:'https://bitbucket.org/bobswift/log-service',repository.git.authenticationType:'PASSWORD'" --branch "develop" |
59 |
--action addRepository --name "zrepositories hg" --repositoryKey "MERCURIAL" --credentials "zrepositories credentials for hg 1" --fields "repository.hg.repositoryUrl:'https://bitbucket.org/bob_swift/cli',repository.hg.authentication:'PASSWORD'" |
60 |
--action addRepository --plan "ZBAMBOOCLI3175537-checkout1" --repositoryKey "GIT" --name "groovy" --fields "repository.git.repositoryUrl:'https://code.examplegear.com/scm/public/groovy-2.1.2.git',repository.git.authenticationType:NONE,repository.git.username:,repository.git.password:,repository.git.branch:master,repository.git.commandTimeout:2,selectedWebRepositoryViewer:'bamboo.webrepositoryviewer.provided:noRepositoryViewer'" |
61 |
--action addRepository --plan "ZCREATE3350251-AA" --name "example" --description "example" |
62 |
--action addRequirement --plan "ZBAMBOOCLI3175537-checkout1" --job "JOB1" --requirement "my-custom-requirement" --type "equal" --value "mine" |
63 |
--action addRequirement --plan "ZBAMBOOCLI3175537-checkout1" --job "JOB1" --requirement "system.builder.ant.Ant" |
64 |
--action addStage --plan "ZCREATE3350251-AA" --name "My stage 2" --description "My stage description" |
65 |
--action addStage --plan "ZCREATE3350251-AA" --stage "My stage 1" --description "My stage description" |
66 |
--action addStage --plan "ZCREATE3350251-BB" --stage "Stage 1" |
67 |
--action addTask --plan "ZBAMBOOCLI3175537-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} " |
68 |
--action addTask --plan "ZBAMBOOCLI3175537-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} " |
69 |
--action addTask --plan "ZCREATE3350251-AA" --job "myjobanother" --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \\${bamboo.exitCode}'; exit \\${bamboo.exitCode} " |
70 |
--action addTask --plan "ZCREATE3350251-AA" --job "myjob" --taskKey "SCRIPT" --description "initial description before update" --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "echo 'exitCode: \\${bamboo.exitCode}'; exit \\${bamboo.exitCode} " |
71 |
--action addTask --plan "ZCREATE3350251-BB" --job "JOB1" --description "Fail" --taskKey "SCRIPT" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "exit -1" --disable |
72 |
--action addTask --plan "ZCREATE3350251-BB" --job "JOB1" --description "Long" --taskKey "SCRIPT" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "sleep 30s exit -1" --disable |
73 |
--action addTask --plan "ZCREATE3350251-BB" --job "JOB1" --description "Success" --taskKey "SCRIPT" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "exit 0" |
74 |
--action addTask --plan "ZTASKS3122325-TASKS" --job "JOB2" --taskKey "MAVEN_POM_EXTRACTOR" |
75 |
--action addTrigger --plan "ZCREATE3350251-AA" --type "Polling" |
76 |
--action addTrigger --plan "ZCREATE3350251-AA" --type "Polling" --description "polling trigger interval" --repository "example" --schedule "3600" |
77 |
--action addTrigger --plan "ZCREATE3350251-AA" --type "Polling" --description "polling trigger scheduled" --repository "example" --schedule "2 0 0 ? * *" |
78 |
--action addTrigger --plan "ZCREATE3350251-AA" --type "RemoteBitbucketServer" |
79 |
--action addTrigger --plan "ZCREATE3350251-AA" --type "Remote" --description "remote trigger" --repository "example" |
80 |
--action addTrigger --plan "ZCREATE3350251-AA" --type "Remote" --description "remote trigger restricted" --repository "example" --ipRestriction "172.16.9.25,172.16.9.26" |
81 |
--action addTrigger --plan "ZCREATE3350251-AA" --type "Scheduled" --description "scheduled trigger" --schedule "1 0 0 ? * *" |
82 |
--action addTrigger --plan "ZCREATE3350251-AA" --type "Scheduled" --schedule "9:35" --successfulPlans "XXX-DEF,YYY-DEF" |
83 |
--action addVariables --fields "Zv.a:value a,Zv.b:value b" --field1 "Zv.1" --value1 "value 1 3175537" --field2 "Zv_2" --value2 "value 2 :;<>,.?/~#$%^&*()_+'" --field3 "ZGLOBALpassword" --value3 "XXX" --replace |
84 |
--action addVariables --plan "ZBAMBOOCLI3175537-RemoveTesting" --fields "Zv.a:value a,Zv.b:value b" --field1 "Zv.1" --value1 "value 1 3175537" --field2 "Zv_2" --value2 "value 2 :;<>,.?/~#$%^&*()_+'" --field3 "ZPLANpassword" --value3 "XXX" --replace |
85 |
--action clonePlan --build "ZTEMPLATE-checkout1" --file "target/output/bamboocli/clonePlancheckout1Disable.txt" --toPlan "ZBAMBOOCLI3175537-checkout1Disable" --disable |
86 |
--action clonePlan --build "ZTEMPLATE-checkout1" --file "target/output/bamboocli/clonePlancheckout1.txt" --toPlan "ZBAMBOOCLI3175537-checkout1" --name "Clone of checkout1" --description "Created based on ZTEMPLATE-checkout1" |
87 |
--action clonePlan --build "ZTEMPLATE-notask" --file "target/output/bamboocli/clonePlannotaskDisable.txt" --toPlan "ZBAMBOOCLI3175537-notaskDisable" --disable |
88 |
--action clonePlan --build "ZTEMPLATE-notask" --file "target/output/bamboocli/clonePlannotask.txt" --toPlan "ZBAMBOOCLI3175537-notask" --name "Clone of notask" --description "Created based on ZTEMPLATE-notask" |
89 |
--action clonePlan --plan "ZTEMPLATE-checkout1" --file "target/output/bamboocli/clonePlanRemoveTesting.txt" --toPlan "ZBAMBOOCLI3175537-RemoveTesting" --name "Remove testing" |
90 |
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI3175537CLONE" |
91 |
--action cloneProject --project "ZTEMPLATE" --toProject "ZBAMBOOCLI3175537CLONEDisable" --disable |
92 |
--action createDeploymentProject --plan "ZDEPLOY2980897-BASE" --name "Deploy ZDEPLOY2980897-BASE" --description "Description for deploy" |
93 |
--action createDeploymentProject --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --name "Deploy ZTEMPLATE-CHECKOUT1" |
94 |
--action createOrUpdatePlan --plan "ZCREATE3350251-AA" --description "Updated" |
95 |
--action createOrUpdatePlan --plan "ZCREATE3350251-EMPTY" --projectName "ZCREATE3350251 created project" |
96 |
--action createPlan --plan "ZCREATE3350251-AA" --projectName "ZCREATE3350251 created project" |
97 |
--action createPlan --plan "ZCREATE3350251-BB" --name "Simple plan BB" --description "Simple plan BB description" |
98 |
--action createProject --project "ZPROJECTS2980617" --name "zprojects2980617" --description "Project description" |
99 |
--action deleteDeploymentProject --deploymentProject "1234567890" --continue |
100 |
--action deletePlan --build "ZBAMBOOCLI3175537-notask" --verbose |
101 |
--action deployEnvironment --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --version "1.0.0" --replace |
102 |
--action deployEnvironment --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --version "1.0.0" --wait |
103 |
--action deployEnvironment --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1" --environment "QA" --version "1.0.0" |
104 |
--action disableAgent --agent "Z Added 2" |
105 |
--action disableJob --plan "ZCREATE3350251-AA" --job "myjob" |
106 |
--action disablePlan --build "ZBAMBOOCLI3175537-checkout1" |
107 |
--action disablePlan --build "ZBAMBOOCLI3175537-notask" |
108 |
--action disableProject --project "ZBAMBOOCLI3175537" |
109 |
--action enableAgent --agent "Z Added 2" |
110 |
--action enableJob --plan "ZCREATE3350251-AA" --job "myjob" |
111 |
--action enablePlan --build "ZBAMBOOCLI3175537-checkout1" |
112 |
--action enablePlan --build "ZBAMBOOCLI3175537-notask" |
113 |
--action enableProject --project "ZBAMBOOCLI3175537" |
114 |
--action exportJob --plan "ZEXPORT2980489-Base" --job "JOB1" --dateFormat "yyyy-MM-dd" |
115 |
--action exportPlan --file "target/output/export/exportPlanCli.txt" --plan "ZEXPORT2980489-Base" --dateFormat "yyyy-MM-dd" |
116 |
--action exportPlan --file "target/output/export/exportPlanCliUpdate.txt" --plan "ZEXPORT2980489-Base" --dateFormat "yyyy-MM-dd" --options "update" |
117 |
--action exportPlan --file "target/output/export/exportPlanJava.txt" --plan "ZEXPORT2980489-Base" --type "java" --dateFormat "yyyy-MM-dd" |
118 |
--action exportPlan --plan "ztemplate-checkout1" --type "cli" --dateFormat "yyyy-MM-dd" |
119 |
--action getAgentAssignmentList --agent "Z1" --regex ".*ZDEPLOY2980897.*" |
120 |
--action getAgentList |
121 |
--action getAgentList --outputFormat 2 |
122 |
--action getAgentList --regex "Z Added 3" --columns "id" |
123 |
--action getArtifactDefinitionList --plan "ZCREATE3350251-AA" |
124 |
--action getArtifact --file "target/output/bamboocli" --build "XXX-DEF" --artifact "src/main" --replace |
125 |
--action getArtifact --file "target/output/bamboocli" --build "XXX-DEF" --artifact "src" --replace |
126 |
--action getArtifact --file "target/output/bamboocli/getArtifactJobAll.txt" --build "XXX-DEF" --artifact "license" --job "@ALL" |
127 |
--action getArtifact --file "target/output/bamboocli/getArtifact.txt" --build "XXX-DEF" --artifact "license" --job "JOB1" |
128 |
--action getArtifact --file "target/output/bamboocli/getArtifactWithPath.txt" --build "XXX-DEF" --artifact "src/itest/groovy/cli.gant" |
129 |
--action getArtifact --job "JOB1" --file "target/output/bamboocli/getArtifactWithResultName.txt" --build "XXX-DEF-1011" --artifact "license" |
130 |
--action getArtifactList --build "XXX-DEF" |
131 |
--action getArtifactList --build "XXX-DEF" --job "@all" --regex "lic.*" |
132 |
--action getArtifactList --build "XXX-DEF" --job "JOB1" |
133 |
--action getBranchList --plan "ZTEMPLATE-CHECKOUT1" |
134 |
--action getBranchList --plan "ZTEMPLATE-CHECKOUT1" --regex ".*2.5.0" |
135 |
--action getBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" |
136 |
--action getBranch --plan "ZTEMPLATE-CHECKOUT1" --branch "Release 2.6.0" |
137 |
--action getBuild --build "XXX-DEF-1011" |
138 |
--action getBuild --build "XXX-DEF" --dateFormat "yyyy-MM-dd HH:mm:ss" |
139 |
--action getBuildList --build "XXX-DEF" --limit 1 --outputFormat 999 |
140 |
--action getBuildList --build "XXX-DEF" --limit 1 --outputFormat 999 --issues "NOTFOUND-123" |
141 |
--action getBuildList --build "XXX-DEF" --limit 1 --outputFormat 999 --labels "not_found" |
142 |
--action getBuildList --build "XXX-DEF" --limit 1 --outputFormat 999 --labels "not_found,testlabel1" |
143 |
--action getBuildList --plan "ZCREATE3350251-BB" |
144 |
--action getBuildList --plan "ZCREATE3350251-BB" --field1 "notState" --value1 "UNKNOWN" |
145 |
--action getBuildList --plan "ZCREATE3350251-BB" --field1 "started" --value1 "2017-12-19T08:22:30.256-0600" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" |
146 |
--action getBuildList --plan "ZCREATE3350251-BB" --field1 "STARTED" --value1 "2017-12-19T08:25:00.361-0600" --outputFormat 2 --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" |
147 |
--action getBuildList --plan "ZCREATE3350251-BB" --field1 "started" --value1 "-24h" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose |
148 |
--action getBuildList --plan "ZCREATE3350251-BB" --field1 "started" --value1 "today" --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ" --verbose |
149 |
--action getBuildList --plan "ZCREATE3350251-BB" --field1 "sTaTe" --value1 "successful" |
150 |
--action getBuildList --plan "ZCREATE3350251-BB" --outputFormat 999 |
151 |
--action getBuildList --plan "ZCREATE3350251-BB" --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss" |
152 |
--action getBuildList --plan "ZCREATE3350251-EMPTY" |
153 |
--action getBuildList --plan "ZCREATE3350251SCRIPT-LONGRUNNING" |
154 |
--action getBuildQueueList |
155 |
--action getBuildQueueList --build "XXX-DEF" |
156 |
--action getBuildQueueList --project "ZBAMBOOCLI3175537" |
157 |
--action getCapabilityList |
158 |
--action getCapabilityList --agent "@all" |
159 |
--action getCapabilityList --agent "zcapabilities" |
160 |
--action getCapabilityList --options "includeUnreferenced" --regex ".*Maven.*" |
161 |
--action getClientInfo |
162 |
--action getCommentList --build "XXX-DEF" --number "1011" |
163 |
--action getCredentialsList |
164 |
--action getCredentialsList --regex "zrepositories credentials for bitbucketCloud .*" |
165 |
--action getCredentialsList --regex "zrepositories credentials for git .*" |
166 |
--action getCredentialsList --regex "zrepositories credentials for hg .*" |
167 |
--action getCredentialsList --regex "zUpdated" |
168 |
--action getDeploymentProject --deploymentProject "Deploy ZDEPLOY2980897-BASE" |
169 |
--action getDeploymentProjectList |
170 |
--action getEnvironment --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" |
171 |
--action getEnvironmentList --deploymentProject "Deploy ZDEPLOY2980897-BASE" |
172 |
--action getEnvironmentTaskList --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" |
173 |
--action getEnvironmentTrigger --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --name "Scheduled" |
174 |
--action getEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" |
175 |
--action getEnvironmentVariableList --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" |
176 |
--action getJobList --plan "ZCREATE3350251SCRIPT-PLAN" |
177 |
--action getJobList --plan "ZCREATE3350251SCRIPT-PLAN" --regex "TEST2.*" |
178 |
--action getJob --plan "ZCREATE3350251-BB" --job "JOB1" |
179 |
--action getLabelList --build "XXX-DEF" --number -1 |
180 |
--action getLatestBuildNumber --build "XXX-DEF" |
181 |
--action getLatestBuildNumber --plan "ZCREATE3350251SCRIPT-LONGRUNNING" |
182 |
--action getNotificationList --plan "ZCREATE3350251-NOTIFICATIONS" |
183 |
--action getPlanList --project "@all" --excludeDisabled --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss" |
184 |
--action getPlanList --project "@all" --favorite |
185 |
--action getPlanList --project "@all" --file "target/output/create/getPlanList.txt" |
186 |
--action getPlanList --project "XXX" --excludeDisabled |
187 |
--action getPlanList --project "XXX" --excludeEnabled |
188 |
--action getPlanList --project "XXX" --options "usingRepository=zrepositories git" |
189 |
--action getPlanList --project "ZCREATE3350251SCRIPT" |
190 |
--action getPlanList --project "ZCREATE3350251SCRIPT" --field1 "notstate" --value1 "successful" |
191 |
--action getPlanList --project "ZCREATE3350251SCRIPT" --field1 "state" --value1 "failed" |
192 |
--action getPlan --plan "ZBAMBOOCLI3175537-checkout1Disable" |
193 |
--action getPlan --plan "ZBAMBOOCLI3175537-checkout1" --verbose |
194 |
--action getPlan --plan "ZBAMBOOCLI3175537CLONE-checkout1" |
195 |
--action getPlan --project "ZBAMBOOCLI3175537CLONE" --plan "ZBAMBOOCLI3175537CLONE-CHECKOUT1" |
196 |
--action getProjectList |
197 |
--action getProjectList --file "target/output/bamboocli/deleteProjects.txt" --regex "ZBAMBOOCLI.*" --columns "key" |
198 |
--action getProjectList --file "target/output/create/deleteProjects.txt" --regex "ZCREATE.*" --columns "key" |
199 |
--action getProjectList --file "target/output/developer/deleteProjects.txt" --regex "ZDEVELOPER.*" --columns "key" |
200 |
--action getProjectList --file "target/output/projects/deleteProjects.txt" --regex "ZPROJECTS.*" --columns "key" |
201 |
--action getProjectList --file "target/output/replace/deleteProjects.txt" --regex "ZREPLACE.*" --columns "key" |
202 |
--action getProjectList --file "target/output/tasks/deleteProjects.txt" --regex "ZTASKS.*" --columns "key" |
203 |
--action getProjectList --project "ZPROJECTS2980617" |
204 |
--action getProject --project "ZPROJECTS2980617" |
205 |
--action getRepositoryList |
206 |
--action getRepositoryList --plan "XXX-RemoveAndReplace" |
207 |
--action getRepositoryList --plan "ZBAMBOOCLI3175537-checkout1" |
208 |
--action getRepositoryList --plan "ZCREATE3350251-RepositoryOrdering" |
209 |
--action getRepository --plan "ZCREATE3350251-AA" --name "example" |
210 |
--action getRepository --plan "ZTEMPLATE-checkout1" --repository "groovy-task" --outputFormat 999 |
211 |
--action getRepository --repository "zrepositories bitbucketCloud" |
212 |
--action getRepository --repository "zrepositories git" |
213 |
--action getRepository --repository "zrepositories hg" |
214 |
--action getServerInfo |
215 |
--action getServerInfo --outputFormat 999 --dateFormat "yyyy-MM-dd HH:mm:ss" |
216 |
--action getStageList --plan "ZCREATE3350251SCRIPT-PLAN" |
217 |
--action getStageList --plan "ZCREATE3350251SCRIPT-PLAN" --regex "A.*" |
218 |
--action getStageList --project "ZCREATE3350251SCRIPT" --plan "ZCREATE3350251SCRIPT-PLAN" |
219 |
--action getStage --plan "ZCREATE3350251SCRIPT-PLAN" --stage "B" |
220 |
--action getStage --plan "ZCREATE3350251SCRIPT-PLAN" --stage "B updated" |
221 |
--action getTaskList --plan "ZCREATE3350251-BB" --job "JOB1" |
222 |
--action getTaskList --plan "ZTASKS3122325-TASKS" --job "JOB1" |
223 |
--action getTask --plan "ZTASKS3122325-TASKS" --job "JOB1" --task 1 |
224 |
--action getTask --plan "ZTASKS3122325-TASKS" --job "JOB1" --task "@all" |
225 |
--action getTaskTypeList |
226 |
--action getTriggerList --plan "ZCREATE3350251-AA" |
227 |
--action getTriggerList --plan "ZCREATE3350251-AA" --regex ".*scheduled.*" |
228 |
--action getTrigger --plan "ZCREATE3350251-AA" --name "Scheduled" |
229 |
--action getVariableList |
230 |
--action getVariableList --plan "ZBAMBOOCLI3175537-RemoveTesting" |
231 |
--action moveStage --plan "ZCREATE3350251SCRIPT-PLAN" --stage "A" --after "B updated" |
232 |
--action moveStage --plan "ZCREATE3350251SCRIPT-PLAN" --stage "FIRST" |
233 |
--action moveTask --plan "ZTASKS3122325-TASKS" --job "JOB1" --task "1" --final |
234 |
--action moveTask --plan "ZTASKS3122325-TASKS" --job "JOB1" --task 3 --final --after 5 |
235 |
--action moveTask --plan "ZTASKS3122325-TASKS" --job "JOB1" --task "Script" |
236 |
--action orderRepository --plan "ZCREATE3350251-RepositoryOrdering" --repository "example2" |
237 |
--action orderRepository --plan "ZCREATE3350251-RepositoryOrdering" --repository "example2" --after "cli" |
238 |
--action queueBuild --build "XXX-DEF" --wait |
239 |
--action queueBuild --build "XXX-FAIL" --wait --continue |
240 |
--action queueBuild --build "ZBAMBOOCLI3175537-checkout1" --wait --continue |
241 |
--action queueBuild --build "ZBAMBOOCLI3175537-checkout1" --wait --timeout 90 --field1 "exitCode" --value1 "0" --verbose |
242 |
--action queueBuild --build "ZBAMBOOCLI3175537-checkout1" --wait --timeout 90 --fields "exitCode: 0" --verbose |
243 |
--action queueBuild --build "ZBAMBOOCLI3175537-notask" --wait --continue |
244 |
--action queueBuildFromList --list "ZCREATE3350251-BB" --field1 "started" --value1 "2017-12-19T08:22:30.256-0600" |
245 |
--action queueBuild --plan "ZCREATE3350251-BB" --continue |
246 |
--action queueBuild --plan "ZCREATE3350251-BB" --field1 "started" --value1 "2017-12-19T08:22:30.256-0600" --field2 "state" --value2 "SUCCESSFUL" |
247 |
--action queueBuild --plan "ZCREATE3350251-BB" --field1 "started" --value1 "XXX-DEF" |
248 |
--action queueBuild --plan "ZCREATE3350251-BB" --field1 "started" --value1 "ZCREATE3350251-BB-1" |
249 |
--action queueBuild --plan "ZCREATE3350251-BB" --wait --continue |
250 |
--action queueBuild --plan "ZCREATE3350251-EMPTY" --wait --continue |
251 |
--action queueBuild --plan "ZDEPLOY2980897-BASE" --wait |
252 |
--action queueBuild --plan "ZTEMPLATE-CHECKOUT1" --branch "2.5.0" --wait |
253 |
--action removeAgent --agent "Z Added 2" |
254 |
--action removeAgent --agent "Z Added 2" --continue |
255 |
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE3350251" |
256 |
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE3350251-AA" |
257 |
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE3350251-AA" --continue |
258 |
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE3350251-AA-myJob" |
259 |
--action removeAgentAssignment --agent "Z Added 1" --assignment "ZCREATE3350251-AA-myJob" --continue |
260 |
--action removeAgent --id "87556220" |
261 |
--action removeAgent --id "87556220" --continue |
262 |
--action removeArtifact --plan "ZCREATE3350251-AA" --job "myjob" --artifact "remove me" |
263 |
--action removeEnvironmentTask --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --task "Artifact download" |
264 |
--action removeEnvironmentVariables --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --field1 "@all" |
265 |
--action removeJob --plan "ZCREATE3350251-AA" --job "REMOVE" |
266 |
--action removeLabels --build "XXX-DEF" --labels "test.*" |
267 |
--action removeLabels --build "XXX-DEF" --number -1 --labels ".*" |
268 |
--action removeLabels --build "XXX-DEF" --number -1 --labels "testlabel1, testlabel2, notfound" --continue |
269 |
--action removeRepository --id "86606986" |
270 |
--action removeRepository --plan "XXX-RemoveAndReplace" --repository "zrepositories git" --options "replaceRepository=cli" |
271 |
--action removeRepository --plan "ZBAMBOOCLI3175537-checkout1" --id "86606985" |
272 |
--action removeRepository --plan "ZCREATE3350251SCRIPT-PLAN" --name "NOT_FOUND" --continue |
273 |
--action removeTask --plan "ZBAMBOOCLI3175537-checkout1" --job "JOB1" --id "2" |
274 |
--action removeTask --plan "ZBAMBOOCLI3175537-RemoveTesting" --job "JOB1" --task "@all" |
275 |
--action removeTrigger --plan "ZCREATE3350251-AA" --id "-1" |
276 |
--action removeTrigger --plan "ZCREATE3350251-AA" --id "2" |
277 |
--action removeTrigger --plan "ZCREATE3350251-AA" --id "2" --continue |
278 |
--action removeTrigger --plan "ZCREATE3350251-AA" --name "@all" |
279 |
--action removeTrigger --plan "ZCREATE3350251-AA" --name "Repository polling" |
280 |
--action removeVariables --plan "ZBAMBOOCLI3175537-RemoveTesting" --fields "@all" |
281 |
--action renderRequest --build "XXX-DEF" --file "target/output/bamboocli/renderRequestBuild.txt" |
282 |
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "target/output/bamboocli/renderRequestConfig.txt" --request "/config" |
283 |
--action renderRequest --build "XXX-DEF" --job "JOB1" --file "target/output/bamboocli/renderRequestJob.txt" |
284 |
--action renderRequest --file "target/output/bamboocli/renderRequestConfig2.txt" --request "/browse/XXX-DEF-JOB1/config" |
285 |
--action renderRequest --file "target/output/create/verifyTriggers.txt" --request "chain/admin/config/editChainTriggers.action" --requestParameters "buildKey=ZCREATE3350251-AA" |
286 |
--action renderRequest --plan "ZBAMBOOCLI3175537-checkout1" --job "JOB1" --file "target/output/bamboocli/renderRequestBuildResultcheckout1.txt" --request "-2/log" |
287 |
--action renderRequest --verbose --quiet --request "/chain/admin/config/editChainRepository.action?buildKey=XXX-DEF" --findReplaceRegex ".*(repositoryId=\\d+).*:\\$1" |
288 |
--action restartBuild --plan "ZCREATE3350251SCRIPT-LONGRUNNING" --wait |
289 |
--action run |
290 |
--action run --continue |
291 |
--action run --file "src/itest/resources/create-plan-long-running.txt" --findReplace "%PLAN%:ZCREATE3350251SCRIPT-LONGRUNNING,%SLEEP%:15" |
292 |
--action run --file "src/itest/resources/create-plan-standard-tasks.txt" --findReplace "%project%:ZCREATE3350251,%plan%:STANDARDTASKSFROMLIST" |
293 |
--action run --file "src/itest/resources/create-plan.txt" --findReplace "%PLAN%:ZCREATE3350251SCRIPT-PLAN,%PLAN_NAME%:Plan created by script,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 3350251,%STAGE_DESCRIPTION%:First stage" |
294 |
--action run --file "src/itest/resources/developer.txt" --findReplace "%PLAN%:ZDEVELOPER3799574SCRIPT-PLAN,%PLAN_NAME%:Plan created by script,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 3799574,%STAGE_DESCRIPTION%:First stage,%AGENT%:Z Added 1" |
295 |
--action run --file "src/itest/resources/exportPlanCli.txt" --plan "ztemplate-checkout1" --type "cli" --dateFormat "yyyy-MM-dd" |
296 |
--action run --file "src/itest/resources/renderRequest.txt" --findReplace "@build@:XXX-DEF" |
297 |
--action run --file "src/itest/resources/replace-plan1.txt" --findReplace "%PLAN%:ZREPLACE3705559SCRIPT-PLAN,%PLAN_NAME%:Plan created by script,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 3705559,%STAGE_DESCRIPTION%:First stage,%AGENT%:Z Added 1" |
298 |
--action run --file "src/itest/resources/replace-plan2.txt" --findReplace "%PLAN%:ZREPLACE3705559SCRIPT-PLAN,%PLAN_NAME%:Plan created by script,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 3705559,%STAGE_DESCRIPTION%:First stage,%AGENT%:Z Added 1" |
299 |
--action run --file "src/itest/resources/run.txt" |
300 |
--action runFromAgentList --common "-a getServerInfo --comment ~agent: @agent@, id: @agentId@~" --regex "Z Added .*" --special " ~" |
301 |
--action runFromBuildList --build "XXX-DEF" --limit 1 --labels "testlabel1" --common "-a addLabels --build @build@ --labels testlabel1" |
302 |
--action runFromDeploymentProjectList --common "-a getClientInfo --options ~deploymentProject: @deploymentProject@, id: @deploymentProjectId@~" --special " # ~" |
303 |
--action runFromEnvironmentList --deploymentProject "Deploy ZDEPLOY2980897-BASE" --common "-a getEnvironment --deploymentProject ~Deploy ZDEPLOY2980897-BASE~ --environment @environmentId@" --special " ~" |
304 |
--action runFromEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --common "-a getEnvironmentTrigger --deploymentProject ~Deploy ZDEPLOY2980897-BASE~ --environment QA --id @triggerId@" --special " ~" |
305 |
--action runFromEnvironmentTriggerList --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --regex ".*deployment" --common "-a removeEnvironmentTrigger --deploymentProject ~Deploy ZDEPLOY2980897-BASE~ --environment QA --id @triggerId@" --special " ~" |
306 |
--action runFromJobList --plan "ZCREATE3350251SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~" |
307 |
--action runFromJobList --plan "ZCREATE3350251SCRIPT-PLAN" --stage "A" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~" --special " ~" |
308 |
--action runFromList --list "A,B" --clearFileBeforeAppend --file "-" |
309 |
--action runFromList --list "Client, Server" --common "-a get@entry@Info" |
310 |
--action runFromPlanList --project "@aLL" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@~" --special " ~" --limit 7 |
311 |
--action runFromPlanList --project "ZCREATE3350251SCRIPT" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@~" --special " ~" |
312 |
--action runFromProjectList --common "-a getServerInfo --comment ~project: @project@, name: @projectName@~" --limit 2 --special " ~" |
313 |
--action runFromRepositoryList --common "-a getServerInfo --comment ~repository: @repository@, id: @repositoryId@~" --regex ".*example.*" --special " ~" |
314 |
--action runFromSql --file "src/itest/resources/run.sql" --host "localhost" --port "5433" --driver "postgresql" --database "test" --dbPassword "automation" |
315 |
--action runFromStageList --plan "ZCREATE3350251SCRIPT-PLAN" --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@~" --special " ~" |
316 |
--action runFromTriggerList --plan "ZCREATE3350251-AA" --common "-a getTrigger --plan ZCREATE3350251-AA --id @triggerId@" |
317 |
--action runFromTriggerList --plan "ZCREATE3350251-AA" --regex "Repository.*" --limit 1 --common "-a removeTrigger --plan ZCREATE3350251-AA --id @triggerId@" |
318 |
--action run < src/itest/resources/run.txt |
319 |
--action run --verbose |
320 |
--action setDependencyOptions --plan "ZCREATE3350251-AA" --childPlans "ZCREATE3350251-BB, ZCREATE3350251-EMPTY" |
321 |
--action setFavoritePlan --plan "ZCREATE3350251-AA" |
322 |
--action stopBuild --plan "ZCREATE3350251SCRIPT-LONGRUNNING" |
323 |
--action testRepository --repository "zrepositories bitbucketCloud" |
324 |
--action testRepository --repository "zrepositories git" |
325 |
--action testRepository --repository "zrepositories hg" |
326 |
--action unsetFavoritePlan --plan "ZCREATE3350251-AA" |
327 |
--action updateCredentials --credentials "zForUpdate" --name "zUpdated" --userId "updatedUser" |
328 |
--action updateCredentials --credentials "zUpdated" --userPassword "aaaaaaa" |
329 |
--action updateEnvironmentVariables --deploymentProject "Deploy ZDEPLOY2980897-BASE" --environment "QA" --append --field "Zv.a = ' APPENDED_TEXT WITH BLANK'" --field "Zv.1 = APPENDED_TEXT" |
330 |
--action updateRepository --repository "zrepositories bitbucketCloud" |
331 |
--action updateRepository --repository "zrepositories bitbucketCloud" --credentials "zrepositories credentials for bitbucketCloud 2" |
332 |
--action updateRepository --repository "zrepositories git" |
333 |
--action updateRepository --repository "zrepositories git" --credentials "zrepositories credentials for git 2" |
334 |
--action updateRepository --repository "zrepositories hg" |
335 |
--action updateRepository --repository "zrepositories hg" --credentials "zrepositories credentials for hg 2" |
336 |
--action updateStage --plan "ZCREATE3350251SCRIPT-PLAN" --stage "B" --manual --name "B updated" --description "Updated description" |
337 |
--action updateStage --plan "ZCREATE3350251SCRIPT-PLAN" --stage "B updated" |
338 |
--action updateTask --plan "ZBAMBOOCLI3175537-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" |
339 |
--action updateTask --plan "ZCREATE3350251-BB" --job "JOB1" --description "Fail" --taskKey "SCRIPT" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "exit -1" --id "3" |
340 |
--action updateTask --plan "ZCREATE3350251-BB" --job "JOB1" --description "Long" --taskKey "SCRIPT" --field1 "scriptLocation" --value1 "INLINE" --field2 "scriptBody" --value2 "sleep 30s exit -1" --id "2" |
341 |
--action updateVariables --plan "ZBAMBOOCLI3175537-RemoveTesting" --append --field "Zv.a = ' APPENDED_TEXT WITH BLANK'" --field "Zv.1 = APPENDED_TEXT" |
342 |
--action validateLicense |
343 |
--action verifyBuild --build "XXX-DEF-1011" |
344 |
--action verifyBuild --build "ZBAMBOOCLI3175537-checkout1" |
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.