Examples - 8.2.0

Related information for 8.2.0

Examples

 

Command

1

--action addAgent  --agent "Z Added 1"  --continue

2

--action addAgent  --agent "Z Added 1"  --description "Agent added by 0958619"

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 "ZCREATE0958619"

7

--action addAgentAssignment  --agent "Z Added 1"  --assignment "ZCREATE0958619-AA"

8

--action addAgentAssignment  --agent "Z Added 1"  --assignment "ZCREATE0958619-AA-MYJOB"

9

--action addArtifact  --plan "ZCREATE0958619-AA"  --job "myjob"  --artifact "jar"  --location "target"  --copyPattern "**/*.jar"  --shared

10

--action addArtifact  --plan "ZCREATE0958619-AA"  --job "myjob"  --artifact "remove me"  --location "target"  --copyPattern "**/*.jar"

11

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch "2.5.0"  --continue

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 addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 1

15

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 10

16

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 11

17

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 12

18

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 13

19

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 14

20

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 15

21

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 16

22

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 17

23

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 18

24

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 19

25

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 2

26

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 20

27

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 21

28

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 22

29

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 23

30

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 24

31

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 25

32

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 3

33

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 4

34

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 5

35

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 6

36

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 7

37

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 8

38

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 9

39

--action addComment  --build "XXX-DEF"  --comment "This is a comment added by automation"

40

--action addComment  --build "XXX-DEF"  --number "77"  --file "src/itest/resources/data.txt"  --findReplace "xxx:yyy"

41

--action addEnvironment  --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1"  --name "QA"

42

--action addEnvironmentTask  --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1"  --environment "QA"  --taskKey "SCRIPT"  --field1 scriptLocation --value1 INLINE --field2 scriptBody --value2 "echo xxx > out.txt"

43

--action addGroup  --group "group1"

44

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

45

--action addJob  --plan "ZCREATE0958619-AA"  --description "My job 1 description"  --stage "My stage 1"  --job "my job another"

46

--action addJob  --plan "ZCREATE0958619-AA"  --job "REMOVE"  --stage "My stage 1"

47

--action addJob  --plan "ZCREATE0958619-AA"  --name "my job 1"  --stage "My stage 1"  --job "myjob"

48

--action addJob  --plan "ZCREATE0958619-BB"  --job "JOB1"  --stage "Stage 1"

49

--action addLabels  --build "XXX-DEF"  --labels "testlabel1, testlabel2"

50

--action addLabels  --build "XXX-DEF"  --number -1

51

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

52

--action addLabels  --plan "XXX-DEF"  --labels "testlabel1 testlabel2"

53

--action addNotification  --plan "ZCREATE0958619-NOTIFICATIONS"  --event "Job Queued Without Capable Agents"  --recipientType "CLI"  --field "cliAction = -a getClientInfo"

54

--action addRepository  --name "global (delete me)"  --repositoryKey "GIT"  --credentials "bitbucket-cloud-read-only"  --continue

55

--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'"

56

--action addRepository  --plan "ZBAMBOOCLI0824107-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'"

57

--action addRepository  --plan "ZCREATE0958619-AA"  --name "example"  --description "example"

58

--action addStage  --plan "ZCREATE0958619-AA"  --name "My stage 2"  --description "My stage description"

59

--action addStage  --plan "ZCREATE0958619-AA"  --stage "My stage 1"  --description "My stage description"

60

--action addStage  --plan "ZCREATE0958619-BB"  --stage "Stage 1"

61

--action addTask  --plan "ZBAMBOOCLI0824107-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} "

62

--action addTask  --plan "ZBAMBOOCLI0824107-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} "

63

--action addTask  --plan "ZCLI-TASKS"  --job "JOB2"  --taskKey "ARTIFACT_DOWNLOAD"  --field "sourcePlanKey=ZCLI-TASKS"

64

--action addTask  --plan "ZCLI-TASKS"  --job "JOB2"  --taskKey "MAVEN_POM_EXTRACTOR"

65

--action addTask  --plan "ZCREATE0958619-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} "

66

--action addTask  --plan "ZCREATE0958619-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} "

67

--action addTask  --plan "ZCREATE0958619-BB"  --job "JOB1"  --description "Fail"  --taskKey "SCRIPT"  --field1 "scriptLocation"  --value1 "INLINE"  --field2 "scriptBody"  --value2 "exit 1"  --disable

68

--action addTask  --plan "ZCREATE0958619-BB"  --job "JOB1"  --description "Long"  --taskKey "SCRIPT"  --field1 "scriptLocation"  --value1 "INLINE"  --field2 "scriptBody"  --value2 "sleep 30s 
 exit 1"  --disable

69

--action addTask  --plan "ZCREATE0958619-BB"  --job "JOB1"  --description "Success"  --taskKey "SCRIPT"  --field1 "scriptLocation"  --value1 "INLINE"  --field2 "scriptBody"  --value2 "exit 0"

70

--action addTrigger  --plan "ZCREATE0958619-AA"  --type "Polling"

71

--action addTrigger  --plan "ZCREATE0958619-AA"  --type "Polling"  --description "polling trigger interval"  --repository "example"  --schedule "3600"

72

--action addTrigger  --plan "ZCREATE0958619-AA"  --type "Polling"  --description "polling trigger scheduled"  --repository "example"  --schedule "2 0 0 ? * *"

73

--action addTrigger  --plan "ZCREATE0958619-AA"  --type "Remote"  --description "remote trigger restricted"  --repository "example"  --ipRestriction "172.16.9.25,172.16.9.26"

74

--action addTrigger  --plan "ZCREATE0958619-AA"  --type "Remote"  --description "remote trigger"  --repository "example"

75

--action addTrigger  --plan "ZCREATE0958619-AA"  --type "RemoteBitbucketServer"

76

--action addTrigger  --plan "ZCREATE0958619-AA"  --type "Scheduled"  --description "scheduled trigger"  --schedule "1 0 0 ? * *"

77

--action addTrigger  --plan "ZCREATE0958619-AA"  --type "Scheduled"  --schedule "9:35"  --successfulPlans "XXX-DEF,YYY-DEF"

78

--action addUser  --userId "user1"  --userEmail "automation+user1@appfire.com"  --group "bamboo-admin"

79

--action addUser  --userId "user1"  --userEmail "automation+user1@appfire.com"  --group "bamboo-admin"  --continue

80

--action clonePlan  --build "ZTEMPLATE-checkout1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/clonePlancheckout1.txt"  --toPlan "ZBAMBOOCLI0824107-checkout1"  --name "Clone of checkout1"  --description "Created based on ZTEMPLATE-checkout1"

81

--action clonePlan  --build "ZTEMPLATE-notask"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/clonePlannotask.txt"  --toPlan "ZBAMBOOCLI0824107-notask"  --name "Clone of notask"  --description "Created based on ZTEMPLATE-notask"

82

--action clonePlan  --plan "ZTEMPLATE-checkout1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/clonePlanRemoveTesting.txt"  --toPlan "ZBAMBOOCLI0824107-RemoveTesting"  --name "Remove testing"

83

--action cloneProject  --project "ZTEMPLATE"  --toProject "ZBAMBOOCLI0824107CLONE"

84

--action createDeploymentProject  --plan "ZTEMPLATE-CHECKOUT1"  --branch "2.5.0"  --name "Deploy ZTEMPLATE-CHECKOUT1"

85

--action createOrUpdatePlan  --plan "ZCREATE0958619-AA"  --description "Updated"

86

--action createOrUpdatePlan  --plan "ZCREATE0958619-EMPTY"  --projectName "ZCREATE0958619 created project"

87

--action createPlan  --plan "ZCREATE0958619-AA"  --projectName "ZCREATE0958619 created project"

88

--action createPlan  --plan "ZCREATE0958619-BB"  --name "Simple plan BB"  --description "Simple plan BB description"

89

--action deployEnvironment  --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1"  --environment "QA"  --version "1.0.0"

90

--action disableAgent  --agent "Z Added 2"

91

--action disableJob  --plan "ZCREATE0958619-AA"  --job "@all"  --stage "My stage 1"

92

--action disableJob  --plan "ZCREATE0958619-AA"  --job "myjob"

93

--action disablePlan  --build "ZBAMBOOCLI0824107-checkout1"

94

--action disablePlan  --build "ZBAMBOOCLI0824107-notask"

95

--action disableProject  --project "ZBAMBOOCLI0824107"

96

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

97

--action enableJob  --plan "ZCREATE0958619-AA"  --job "myjob"

98

--action enablePlan  --build "ZBAMBOOCLI0824107-checkout1"

99

--action enablePlan  --build "ZBAMBOOCLI0824107-notask"

100

--action enableProject  --project "ZBAMBOOCLI0824107"

101

--action getAgentList

102

--action getAgentList  --excludeDisabled  --outputFormat 2

103

--action getAgentList  --outputFormat 2

104

--action getAgentList  --outputFormat 999

105

--action getAgentList  --regex "Z Added 3"  --columns "id"

106

--action getApplicationLinkList

107

--action getApplicationLinkList  --outputFormat 999

108

--action getApplicationLinkList  --type "bitbucket"

109

--action getArtifact  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/getArtifact.txt"  --build "XXX-DEF"  --artifact "license"  --job "JOB1"

110

--action getArtifact  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/getArtifactJobAll.txt"  --build "XXX-DEF"  --artifact "license"  --job "@ALL"

111

--action getArtifact  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/getArtifactWithPath.txt"  --build "XXX-DEF"  --artifact "src/itest/groovy/cli.gant"

112

--action getArtifact  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/src"  --build "XXX-DEF"  --artifact "src"  --replace  --options "mkdir"

113

--action getArtifact  --job "JOB1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/getArtifactWithResultName.txt"  --build "XXX-DEF-77"  --artifact "license"

114

--action getArtifactDefinitionList  --plan "ZCREATE0958619-AA"

115

--action getArtifactList  --build "XXX-DEF"

116

--action getArtifactList  --build "XXX-DEF"  --job "@all"  --regex "lic.*"

117

--action getArtifactList  --build "XXX-DEF"  --job "JOB1"

118

--action getBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch "2.5.0"

119

--action getBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch "Release 2.6.0"

120

--action getBranchList  --plan "ZTEMPLATE-CHECKOUT1"

121

--action getBranchList  --plan "ZTEMPLATE-CHECKOUT1"  --regex ".*2.5.0"

122

--action getBuild  --build "XXX-DEF"  --dateFormat "yyyy-MM-dd HH:mm:ss"

123

--action getBuild  --build "XXX-DEF-77"

124

--action getBuild  --build "ZCREATE0958619-BB-3"  --dateFormat "yyyy-MM-dd HH:mm:ss.SSS"

125

--action getBuildList  --plan "ZCREATE0958619-BB"

126

--action getBuildList  --plan "ZCREATE0958619-BB"  --dateFormat "yyyy-MM-dd HH:mm:ss.SSS"  --outputFormat 999  --columns "build,number,state,started,completed"

127

--action getBuildList  --plan "ZCREATE0958619-BB"  --field1 "STARTED"  --value1 "2019-02-14T10:17:00.867-0600"  --outputFormat 2  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

128

--action getBuildList  --plan "ZCREATE0958619-BB"  --field1 "notState"  --value1 "UNKNOWN"

129

--action getBuildList  --plan "ZCREATE0958619-BB"  --field1 "sTaTe"  --value1 "successful"

130

--action getBuildList  --plan "ZCREATE0958619-BB"  --field1 "started"  --value1 "-24h"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"  --verbose

131

--action getBuildList  --plan "ZCREATE0958619-BB"  --field1 "started"  --value1 "2019-02-14T10:15:58.623-0600"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

132

--action getBuildList  --plan "ZCREATE0958619-BB"  --field1 "started"  --value1 "today"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"  --verbose

133

--action getBuildList  --plan "ZCREATE0958619-BB"  --outputFormat 999

134

--action getBuildList  --plan "ZCREATE0958619-BB"  --outputFormat 999  --dateFormat "yyyy-MM-dd HH:mm:ss"

135

--action getBuildList  --plan "ZCREATE0958619-EMPTY"

136

--action getBuildList  --plan "ZLONGRUNNING-AA"

137

--action getBuildQueueList

138

--action getBuildQueueList  --build "XXX-DEF"

139

--action getBuildQueueList  --project "ZBAMBOOCLI0824107"

140

--action getClientInfo

141

--action getCommentList  --build "XXX-DEF"  --number "77"

142

--action getJob  --plan "ZCREATE0958619-BB"  --job "JOB1"

143

--action getJobList  --plan "ZCREATE0958619SCRIPT-PLAN"

144

--action getJobList  --plan "ZCREATE0958619SCRIPT-PLAN"  --regex "TEST2.*"

145

--action getLabelList  --build "XXX-DEF"  --number -1

146

--action getLabelList  --plan "XXX-DEF"

147

--action getLatestBuildNumber  --build "XXX-DEF"

148

--action getLatestBuildNumber  --plan "ZLONGRUNNING-AA"

149

--action getNotificationList  --plan "ZCREATE0958619-NOTIFICATIONS"

150

--action getPlan  --plan "ZBAMBOOCLI0824107-checkout1"  --verbose

151

--action getPlan  --plan "ZBAMBOOCLI0824107CLONE-checkout1"

152

--action getPlan  --project "ZBAMBOOCLI0824107CLONE"  --plan "ZBAMBOOCLI0824107CLONE-CHECKOUT1"

153

--action getPlanList  --project "@all"  --excludeDisabled  --outputFormat 999  --dateFormat "yyyy-MM-dd HH:mm:ss"

154

--action getPlanList  --project "@all"  --favorite

155

--action getPlanList  --project "@all"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-CREATE/build/output/create/getPlanList.txt"

156

--action getPlanList  --project "XXX"  --excludeDisabled

157

--action getPlanList  --project "XXX"  --excludeEnabled

158

--action getPlanList  --project "ZCREATE0958619SCRIPT"

159

--action getPlanList  --project "ZCREATE0958619SCRIPT"  --field1 "notstate"  --value1 "successful"

160

--action getPlanList  --project "ZCREATE0958619SCRIPT"  --field1 "state"  --value1 "failed"

161

--action getPlanList  --project "ZTEMPLATE"  --regex "ZTEMPLATE-CHECKOUT1.*"  --options "includeBranchPlans"

162

--action getProjectList

163

--action getProjectList  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/deleteProjects.txt"  --regex "ZBAMBOOCLI.*"  --columns "key"

164

--action getProjectList  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-CREATE/build/output/create/deleteProjects.txt"  --regex "ZCREATE.*"  --columns "key"

165

--action getProjectList  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-DEVELOPER/build/output/developer/deleteProjects.txt"  --regex "ZDEVELOPER.*"  --columns "key"

166

--action getProjectList  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-REPLACE/build/output/replace/deleteProjects.txt"  --regex "ZREPLACE.*"  --columns "key"

167

--action getRepository  --plan "ZCREATE0958619-AA"  --name "example"

168

--action getRepository  --plan "ZTEMPLATE-checkout1"  --repository "groovy-task"  --outputFormat 999

169

--action getRepositoryList

170

--action getRepositoryList  --plan "ZBAMBOOCLI0824107-checkout1"

171

--action getRepositoryList  --plan "ZCREATE0958619-RepositoryOrdering"

172

--action getServerInfo

173

--action getServerInfo  --outputFormat 3

174

--action getServerInfo  --outputFormat 999  --dateFormat "yyyy-MM-dd HH:mm:ss"

175

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

176

--action getStage  --plan "ZCREATE0958619SCRIPT-PLAN"  --stage "B"

177

--action getStageList  --plan "ZCREATE0958619SCRIPT-PLAN"

178

--action getStageList  --plan "ZCREATE0958619SCRIPT-PLAN"  --regex "A.*"

179

--action getStageList  --project "ZCREATE0958619SCRIPT"  --plan "ZCREATE0958619SCRIPT-PLAN"

180

--action getTask  --plan "ZCLI-TASKS"  --job "JOB1"  --task "@all"

181

--action getTask  --plan "ZCLI-TASKS"  --job "JOB1"  --task 1

182

--action getTaskList  --plan "ZCLI-TASKS"  --job "JOB1"

183

--action getTaskList  --plan "ZCREATE0958619-BB"  --job "JOB1"

184

--action getTaskTypeList

185

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

186

--action getTriggerList  --plan "ZCREATE0958619-AA"

187

--action getTriggerList  --plan "ZCREATE0958619-AA"  --regex ".*scheduled.*"

188

--action getUserList

189

--action getUserList  --regex "a.*"  --limit 1

190

--action moveStage  --plan "ZCREATE0958619SCRIPT-PLAN"  --stage "A"  --after "B updated"

191

--action moveStage  --plan "ZCREATE0958619SCRIPT-PLAN"  --stage "FIRST"

192

--action moveTask  --plan "ZCLI-TASKS"  --job "JOB1"  --task "1"  --final

193

--action moveTask  --plan "ZCLI-TASKS"  --job "JOB1"  --task "Script"

194

--action moveTask  --plan "ZCLI-TASKS"  --job "JOB1"  --task 3  --final  --after 5

195

--action orderRepository  --plan "ZCREATE0958619-RepositoryOrdering"  --repository "example2"

196

--action orderRepository  --plan "ZCREATE0958619-RepositoryOrdering"  --repository "example2"  --after "cli"

197

--action pauseServer

198

--action queueBuild  --build "XXX-DEF"  --wait

199

--action queueBuild  --build "XXX-FAIL"  --wait  --continue

200

--action queueBuild  --build "ZBAMBOOCLI0824107-checkout1"  --wait  --continue

201

--action queueBuild  --build "ZBAMBOOCLI0824107-checkout1"  --wait  --timeout 90  --field "exitCode=0"  --verbose

202

--action queueBuild  --build "ZBAMBOOCLI0824107-checkout1"  --wait  --timeout 90  --fields "exitCode: 0"  --verbose

203

--action queueBuild  --build "ZBAMBOOCLI0824107-notask"  --wait  --continue

204

--action queueBuild  --plan "ZCREATE0958619-BB"  --continue

205

--action queueBuild  --plan "ZCREATE0958619-BB"  --field1 "started"  --value1 "2019-02-14T10:15:58.623-0600"  --field2 "state"  --value2 "SUCCESSFUL"

206

--action queueBuild  --plan "ZCREATE0958619-BB"  --field1 "started"  --value1 "XXX-DEF"

207

--action queueBuild  --plan "ZCREATE0958619-BB"  --field1 "started"  --value1 "ZCREATE0958619-BB-1"

208

--action queueBuild  --plan "ZCREATE0958619-BB"  --wait  --continue

209

--action queueBuild  --plan "ZCREATE0958619-EMPTY"  --wait  --continue

210

--action queueBuild  --plan "ZLONGRUNNING-AA"

211

--action queueBuild  --plan "ZLONGRUNNING-AA"  --wait  --stage "@all"

212

--action queueBuild  --plan "ZTEMPLATE-CHECKOUT1"  --branch "2.5.0"  --wait

213

--action queueBuildFromList  --list "ZCREATE0958619-BB"  --field1 "started"  --value1 "2019-02-14T10:15:58.623-0600"

214

--action queueBuildFromList  --project "@all"  --labels "NOT_FOUND"  --simulate

215

--action queueBuildFromList  --project "@all"  --labels "testlabel1"  --simulate

216

--action removeAgent  --agent "Z Added 2"

217

--action removeAgent  --agent "Z Added 2"  --continue

218

--action removeAgent  --id "109805595"

219

--action removeAgent  --id "109805595"  --continue

220

--action removeAgentAssignment  --agent "Z Added 1"  --assignment "ZCREATE0958619"

221

--action removeAgentAssignment  --agent "Z Added 1"  --assignment "ZCREATE0958619-AA"

222

--action removeAgentAssignment  --agent "Z Added 1"  --assignment "ZCREATE0958619-AA"  --continue

223

--action removeAgentAssignment  --agent "Z Added 1"  --assignment "ZCREATE0958619-AA-myJob"

224

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

225

--action removeArtifact  --plan "ZCREATE0958619-AA"  --job "myjob"  --artifact "remove me"

226

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

227

--action removeJob  --plan "ZCREATE0958619-AA"  --job "REMOVE"

228

--action removeLabels  --build "XXX-DEF"  --labels "test.*"

229

--action removeLabels  --build "XXX-DEF"  --number -1  --labels ".*"

230

--action removeLabels  --build "XXX-DEF"  --number -1  --labels "testlabel1, testlabel2, notfound"  --continue

231

--action removeLabels  --plan "XXX-DEF"  --labels ".*"

232

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

233

--action removeRepository  --id "108986956"

234

--action removeRepository  --plan "ZBAMBOOCLI0824107-checkout1"  --id "108986955"

235

--action removeRepository  --plan "ZCREATE0958619SCRIPT-PLAN"  --name "NOT_FOUND"  --continue

236

--action removeTask  --plan "ZBAMBOOCLI0824107-RemoveTesting"  --job "JOB1"  --task "@all"

237

--action removeTask  --plan "ZBAMBOOCLI0824107-checkout1"  --job "JOB1"  --id "2"

238

--action removeTrigger  --plan "ZCREATE0958619-AA"  --id "-1"

239

--action removeTrigger  --plan "ZCREATE0958619-AA"  --id "2"

240

--action removeTrigger  --plan "ZCREATE0958619-AA"  --id "2"  --continue

241

--action removeTrigger  --plan "ZCREATE0958619-AA"  --name "@all"

242

--action removeTrigger  --plan "ZCREATE0958619-AA"  --name "Repository polling"

243

--action removeUser  --userId "NOT_FOUND"

244

--action renderRequest  --build "XXX-DEF"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/renderRequestBuild.txt"

245

--action renderRequest  --build "XXX-DEF"  --job "JOB1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/renderRequestConfig.txt"  --request "/config"

246

--action renderRequest  --build "XXX-DEF"  --job "JOB1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/renderRequestJob.txt"

247

--action renderRequest  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/renderRequestConfig2.txt"  --request "/browse/XXX-DEF-JOB1/config"

248

--action renderRequest  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-CREATE/build/output/create/verifyTriggers.txt"  --request "chain/admin/config/editChainTriggers.action"  --requestParameters "buildKey=ZCREATE0958619-AA"

249

--action renderRequest  --plan "ZBAMBOOCLI0824107-checkout1"  --job "JOB1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-BAMBOOCLI/build/output/bamboocli/renderRequestBuildResultcheckout1.txt"  --request "-2/log"

250

--action renderRequest  --verbose  --quiet  --request "/chain/admin/config/editChainRepository.action?buildKey=XXX-DEF"  --findReplaceRegex ".*(repositoryId=\\d+).*:\\$1"

251

--action restartBuild  --plan "ZLONGRUNNING-AA"  --stage "@ALL"  --wait

252

--action restartBuild  --plan "ZLONGRUNNING-AA"  --stage "THIRD"  --wait

253

--action restartBuild  --plan "ZLONGRUNNING-AA"  --wait

254

--action resumeServer

255

--action run

256

--action run       < src/itest/resources/run.txt

257

--action run  --continue

258

--action run  --file "-"

259

--action run  --file "src/itest/resources/create-plan-standard-tasks.txt"  --findReplace "%project%:ZCREATE0958619,%plan%:STANDARDTASKSFROMLIST"

260

--action run  --file "src/itest/resources/create-plan.txt"  --findReplace "%PLAN%:ZCREATE0958619SCRIPT-PLAN,%PLAN_NAME%:Plan created by script,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 0958619,%STAGE_DESCRIPTION%:First stage"

261

--action run  --file "src/itest/resources/developer.txt"  --findReplace "%PLAN%:ZDEVELOPER1099116SCRIPT-PLAN,%PLAN_NAME%:Plan created by script,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 1099116,%STAGE_DESCRIPTION%:First stage,%AGENT%:Z Added 1"

262

--action run  --file "src/itest/resources/renderRequest.txt"  --findReplace "@build@:XXX-DEF"

263

--action run  --file "src/itest/resources/replace-plan1.txt"  --findReplace "%PLAN%:ZREPLACE1098592SCRIPT-PLAN,%PLAN_NAME%:Plan created by script,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 1098592,%STAGE_DESCRIPTION%:First stage,%AGENT%:Z Added 1"

264

--action run  --file "src/itest/resources/replace-plan2.txt"  --findReplace "%PLAN%:ZREPLACE1098592SCRIPT-PLAN,%PLAN_NAME%:Plan created by script,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 1098592,%STAGE_DESCRIPTION%:First stage,%AGENT%:Z Added 1"

265

--action run  --file "src/itest/resources/run.txt"

266

--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 JOB1"  --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"

267

--action run  --input "-a createPlan --plan ZLONGRUNNING-AA --replace"  --input "-a addStage  --plan @plan@ --stage FIRST"  --input "-a addJob  --plan @plan@ --stage @stage@ --job JOB1"  --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\\" "

268

--action run  --input "upm -a getAddonList"

269

--action runFromAgentList  --common "-a getServerInfo --comment ~agent: @agent@, id: @agentId@~"  --regex "Z Added .*"  --special "    ~"

270

--action runFromBuildList  --plan "ZCREATE0958619-BB"  --field "endedBefore=2019-02-14 10:16:47.552"  --dateFormat "yyyy-MM-dd HH:mm:ss.SSS"  --common "-a removeBuildHistory --build @build@"

271

--action runFromJobList  --plan "ZCREATE0958619SCRIPT-PLAN"  --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~"  --special "    ~"

272

--action runFromJobList  --plan "ZCREATE0958619SCRIPT-PLAN"  --stage "A"  --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@, stageId: @stageId@, stage: @stage@, job: @job@, jobName: @jobName@~"  --special "    ~"

273

--action runFromList  --list "A,B"  --clearFileBeforeAppend  --input "-a getProjectList --limit 2 --file /var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO671-RUNNER/build/output/runner/runFromListAppendAndColumn.txt --append --columns 1,2"

274

--action runFromList  --list "Client, Server"  --common "-a get@entry@Info"

275

--action runFromList  --list "org.*,com.*"  --regex "@entry@"  --common "-a getAddonList --regex \\"@entry@\\""

276

--action runFromPlanList  --project "@aLL"  --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@~"  --special "    ~"  --limit 7

277

--action runFromPlanList  --project "ZCREATE0958619SCRIPT"  --common "-a getServerInfo --comment ~project: @project@, name: @projectName@, plan: @plan@, name: @planName@~"  --special "    ~"

278

--action runFromProjectList  --common "-a getServerInfo --comment ~project: @project@, name: @projectName@~"  --limit 2  --special "    ~"

279

--action runFromRepositoryList  --common "-a getServerInfo --comment ~repository: @repository@, id: @repositoryId@~"  --regex ".*example.*"  --special "    ~"

280

--action runFromSql  --file "src/itest/resources/run.sql"  --host "postgres"  --port "5432"  --driver "postgresql"  --database "test"  --dbPassword "automation"

281

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

282

--action runFromTaskList  --plan "ZCREATE0958619SCRIPT-PLAN"  --job "JOB1"  --common "-a getTask --plan @plan@ --job @job@ --task @taskId@"

283

--action runFromTriggerList  --plan "ZCREATE0958619-AA"  --common "-a getTrigger --plan ZCREATE0958619-AA --id @triggerId@"

284

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

285

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

286

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

287

--action setFavoritePlan  --plan "ZCREATE0958619-AA"

288

--action unsetFavoritePlan  --plan "ZCREATE0958619-AA"

289

--action updateStage  --plan "ZCREATE0958619SCRIPT-PLAN"  --stage "B updated"

290

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

291

--action updateTask  --plan "ZBAMBOOCLI0824107-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"

292

--action updateTask  --plan "ZCREATE0958619-BB"  --job "JOB1"  --description "Fail"  --taskKey "SCRIPT"  --field1 "scriptLocation"  --value1 "INLINE"  --field2 "scriptBody"  --value2 "exit 1"  --id "3"

293

--action updateTask  --plan "ZCREATE0958619-BB"  --job "JOB1"  --description "Long"  --taskKey "SCRIPT"  --field1 "scriptLocation"  --value1 "INLINE"  --field2 "scriptBody"  --value2 "sleep 30s 
 exit 1"  --id "2"

294

--action validateLicense

295

--action verifyBuild  --build "XXX-DEF-77"  --wait

296

--action verifyBuild  --build "ZBAMBOOCLI0824107-checkout1"

297

--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.