Examples - 7.9.0

Related information for 7.9.0

Examples

 

Command

1

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

2

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

3

--action addAgent  --agent "Z Added 2"

4

--action addAgent  --agent "Z Added 3"

5

--action addAgentAssignment  --agent "Z Added 1"  --assignment "ZCREATE4291357"

6

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

7

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

8

--action addAgentAssignment  --agent "Z1"  --assignment "Deploy ZDEPLOY4065944-BASE"  --type "DEPLOYMENT_PROJECT"

9

--action addAgentAssignment  --agent "Z1"  --assignment "Deploy ZDEPLOY4065944-BASE:QA"  --type "ENVIRONMENT"

10

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

11

--action addArtifact  --plan "ZCREATE4291357-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 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 addCapability  --type "Docker"  --value "/zdocker"

40

--action addCapability  --type "Docker"  --value "/zdocker"  --agent "zcapabilities"

41

--action addCapability  --type "Perforce"  --value "/zperforce"

42

--action addCapability  --type "Perforce"  --value "/zperforce"  --agent "zcapabilities"

43

--action addCapability  --type "custom"  --value "xxx"  --agent "zcapabilities"  --name "z custom 1"

44

--action addCapability  --type "custom"  --value "xxx"  --name "z custom 1"

45

--action addCapability  --type "executable:Ant"  --value "/ant"  --agent "zcapabilities"  --name "z Ant"

46

--action addCapability  --type "executable:Ant"  --value "/ant"  --name "z Ant"

47

--action addCapability  --type "executable:Gant"  --value "/local"  --agent "zcapabilities"  --name "z agent gant"

48

--action addCapability  --type "executable:Gradle Wrapper"  --value "/gw"  --agent "zcapabilities"  --name "z GW"

49

--action addCapability  --type "executable:Gradle Wrapper"  --value "/gw"  --name "z GW"

50

--action addCapability  --type "git"  --value "/zgitssh"  --agent "zcapabilities"  --options "ssh"

51

--action addCapability  --type "git"  --value "/zgitssh"  --options "ssh"

52

--action addCapability  --type "jdk"  --value "/jdk"  --agent "zcapabilities"  --name "z JDK"

53

--action addCapability  --type "jdk"  --value "/jdk"  --name "z JDK"

54

--action addCapability  --type "mercurial"  --value "/zhgssh"  --agent "zcapabilities"  --options "ssh"

55

--action addCapability  --type "mercurial"  --value "/zhgssh"  --options "ssh"

56

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

57

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

58

--action addCredentials  --credentials "zUpdated"  --userId "updatedUser"  --userPassword "bbb"  --replace

59

--action addCredentials  --name "zForUpdate"  --userId "z1"  --userPassword "yyy"

60

--action addCredentials  --name "zssh"  --file "src/itest/resources/ssh.txt"  --sshParaphrase "xxx"

61

--action addCredentials  --name "zuser"  --userId "z1"  --userPassword "xxx"

62

--action addEnvironment  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --name "DEV"

63

--action addEnvironment  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --name "QA"  --description "Environment description"

64

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

65

--action addEnvironmentNotification  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --event "Deployment finished"  --recipientType "CLI"  --field "cliAction = -a getClientInfo"

66

--action addEnvironmentNotification  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --event "Deployment started and finished"  --recipientType "CLI"  --field "cliAction = -a getClientInfo"

67

--action addEnvironmentTask  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "DEV"  --taskKey "SCRIPT"  --field "scriptLocation = INLINE" --field "scriptBody = exit -99"

68

--action addEnvironmentTask  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --taskKey "SCRIPT"  --field "scriptLocation = INLINE" --field "scriptBody = sleep 10 && echo xxx > out.txt"

69

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

70

--action addEnvironmentTrigger  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --stage "FIRST"  --type "After successful stage"  --description "for branch"  --branch "2.5.0"  --verbose

71

--action addEnvironmentTrigger  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --type "After successful deployment"  --triggeringEnvironment "DEV"

72

--action addEnvironmentTrigger  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --type "After successful stage"  --stage "FIRST"  --disable

73

--action addEnvironmentTrigger  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --type "AfterSuccessfulPlan"

74

--action addEnvironmentTrigger  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --type "Scheduled"  --description "scheduled trigger"  --schedule "1 0 0 ? * *"

75

--action addEnvironmentVariables  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --fields "Zv.a:value a,Zv.b:value b"  --field1 "Zv.1"  --value1 "value 1 4065944"  --field2 "Zv_2"  --value2 "value 2 :;<>,.?/~#$%^&*()_+'"  --field3 "ZPLANpassword"  --value3 "XXX"  --replace

76

--action addGroup  --group "group1"

77

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

78

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

79

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

80

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

81

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

82

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

83

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

84

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

85

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

86

--action addRepository  --name "global (delete me)"  --repositoryKey "GIT"  --continue

87

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

88

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

89

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

90

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

91

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

92

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

93

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

94

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

95

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

96

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

97

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

98

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

99

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

100

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

101

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

102

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

103

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

104

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

105

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

106

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

107

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

108

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

109

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

110

--action addVariables  --fields "Zv.a:value a,Zv.b:value b"  --field1 "Zv.1"  --value1 "value 1 4048674"  --field2 "Zv_2"  --value2 "value 2 :;<>,.?/~#$%^&*()_+'"  --field3 "ZGLOBALpassword"  --value3 "XXX"  --replace

111

--action addVariables  --plan "ZCLI-VARIABLES"  --fields "Zv.a:value a,Zv.b:value b"  --field1 "Zv.1"  --value1 "value 1 4048674"  --field2 "Zv_2"  --value2 "value 2 :;<>,.?/~#$%^&*()_+'"  --field3 "ZPLANpassword"  --value3 "XXX"  --replace

112

--action clonePlan  --build "ZTEMPLATE-checkout1"  --file "target/output/bamboocli/clonePlancheckout1.txt"  --toPlan "ZBAMBOOCLI4226183-checkout1"  --name "Clone of checkout1"  --description "Created based on ZTEMPLATE-checkout1"

113

--action clonePlan  --build "ZTEMPLATE-notask"  --file "target/output/bamboocli/clonePlannotask.txt"  --toPlan "ZBAMBOOCLI4226183-notask"  --name "Clone of notask"  --description "Created based on ZTEMPLATE-notask"

114

--action clonePlan  --plan "ZTEMPLATE-checkout1"  --file "target/output/bamboocli/clonePlanRemoveTesting.txt"  --toPlan "ZBAMBOOCLI4226183-RemoveTesting"  --name "Remove testing"

115

--action cloneProject  --project "ZTEMPLATE"  --toProject "ZBAMBOOCLI4226183CLONE"

116

--action createDeploymentProject  --plan "ZDEPLOY4065944-BASE"  --name "Deploy ZDEPLOY4065944-BASE"  --description "Description for deploy"

117

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

118

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

119

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

120

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

121

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

122

--action createProject  --project "ZPROJECTS4059462"  --name "zprojects4059462"  --description "Project description"

123

--action deleteDeploymentProject  --deploymentProject "1234567890"  --continue

124

--action deployEnvironment  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --version "1.0.0"  --replace

125

--action deployEnvironment  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --version "1.0.0"  --wait

126

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

127

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

128

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

129

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

130

--action disablePlan  --build "ZBAMBOOCLI4226183-checkout1"

131

--action disablePlan  --build "ZBAMBOOCLI4226183-notask"

132

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

133

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

134

--action enablePlan  --build "ZBAMBOOCLI4226183-checkout1"

135

--action enablePlan  --build "ZBAMBOOCLI4226183-notask"

136

--action exportJob  --plan "ZEXPORT4081783-Base"  --job "JOB1"  --dateFormat "yyyy-MM-dd"

137

--action exportPlan  --file "target/output/export/exportPlanCli.txt"  --plan "ZEXPORT4081783-Base"  --dateFormat "yyyy-MM-dd"

138

--action exportPlan  --file "target/output/export/exportPlanCliUpdate.txt"  --plan "ZEXPORT4081783-Base"  --dateFormat "yyyy-MM-dd"  --options "update"

139

--action exportPlan  --file "target/output/export/exportPlanJava.txt"  --plan "ZEXPORT4081783-Base"  --type "java"  --dateFormat "yyyy-MM-dd"

140

--action exportPlan  --plan "ztemplate-checkout1"  --type "cli"  --dateFormat "yyyy-MM-dd"

141

--action getAgentAssignmentList  --agent "Z1"  --regex ".*ZDEPLOY4065944.*"

142

--action getAgentList

143

--action getAgentList  --outputFormat 2

144

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

145

--action getApplicationLinkList

146

--action getApplicationLinkList  --outputFormat 999

147

--action getApplicationLinkList  --type "bitbucket"

148

--action getArtifact  --file "target/output/bamboocli"  --build "XXX-DEF"  --artifact "src"  --replace

149

--action getArtifact  --file "target/output/bamboocli"  --build "XXX-DEF"  --artifact "src/main"  --replace

150

--action getArtifact  --file "target/output/bamboocli/getArtifact.txt"  --build "XXX-DEF"  --artifact "license"  --job "JOB1"

151

--action getArtifact  --file "target/output/bamboocli/getArtifactJobAll.txt"  --build "XXX-DEF"  --artifact "license"  --job "@ALL"

152

--action getArtifact  --file "target/output/bamboocli/getArtifactWithPath.txt"  --build "XXX-DEF"  --artifact "src/itest/groovy/cli.gant"

153

--action getArtifact  --job "JOB1"  --file "target/output/bamboocli/getArtifactWithResultName.txt"  --build "XXX-DEF-10"  --artifact "license"

154

--action getArtifactDefinitionList  --plan "ZCREATE4291357-AA"

155

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

156

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

157

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

158

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

159

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

160

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

161

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

162

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

163

--action getBuild  --build "XXX-DEF-10"

164

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

165

--action getBuildList  --build "XXX-DEF"  --limit 1  --outputFormat 999

166

--action getBuildList  --build "XXX-DEF"  --limit 1  --outputFormat 999  --issues "NOTFOUND-123"

167

--action getBuildList  --build "XXX-DEF"  --limit 1  --outputFormat 999  --labels "not_found"

168

--action getBuildList  --build "XXX-DEF"  --limit 1  --outputFormat 999  --labels "not_found,testlabel1"

169

--action getBuildList  --plan "ZCREATE4291357-BB"

170

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

171

--action getBuildList  --plan "ZCREATE4291357-BB"  --field1 "STARTED"  --value1 "2018-06-29T21:06:00.913-0500"  --outputFormat 2  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

172

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

173

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

174

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

175

--action getBuildList  --plan "ZCREATE4291357-BB"  --field1 "started"  --value1 "2018-06-29T21:04:51.371-0500"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

176

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

177

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

178

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

179

--action getBuildList  --plan "ZCREATE4291357-EMPTY"

180

--action getBuildList  --plan "ZCREATE4291357SCRIPT-LONGRUNNING"

181

--action getBuildQueueList

182

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

183

--action getBuildQueueList  --project "ZBAMBOOCLI4226183"

184

--action getCapabilityList

185

--action getCapabilityList  --agent "@all"

186

--action getCapabilityList  --agent "zcapabilities"

187

--action getCapabilityList  --options "includeUnreferenced"  --regex ".*Maven.*"

188

--action getClientInfo

189

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

190

--action getCredentialsList

191

--action getCredentialsList  --regex "zUpdated"

192

--action getCredentialsList  --regex "zrepositories credentials for bitbucketCloud .*"

193

--action getCredentialsList  --regex "zrepositories credentials for git .*"

194

--action getCredentialsList  --regex "zrepositories credentials for hg .*"

195

--action getDeploymentProject  --deploymentProject "Deploy ZDEPLOY4065944-BASE"

196

--action getDeploymentProjectList

197

--action getEnvironment  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"

198

--action getEnvironmentList  --deploymentProject "Deploy ZDEPLOY4065944-BASE"

199

--action getEnvironmentNotificationList  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"

200

--action getEnvironmentTaskList  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"

201

--action getEnvironmentTrigger  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --name "Scheduled"

202

--action getEnvironmentTriggerList  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"

203

--action getEnvironmentVariableList  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"

204

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

205

--action getJobList  --plan "ZCREATE4291357SCRIPT-PLAN"

206

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

207

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

208

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

209

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

210

--action getLatestBuildNumber  --plan "ZCREATE4291357SCRIPT-LONGRUNNING"

211

--action getNotificationList  --plan "ZCREATE4291357-NOTIFICATIONS"

212

--action getPlan  --plan "ZBAMBOOCLI4226183-checkout1"  --verbose

213

--action getPlan  --plan "ZBAMBOOCLI4226183CLONE-checkout1"

214

--action getPlan  --project "ZBAMBOOCLI4226183CLONE"  --plan "ZBAMBOOCLI4226183CLONE-CHECKOUT1"

215

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

216

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

217

--action getPlanList  --project "@all"  --file "target/output/create/getPlanList.txt"

218

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

219

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

220

--action getPlanList  --project "ZCREATE4291357SCRIPT"

221

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

222

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

223

--action getProject  --project "ZPROJECTS4059462"

224

--action getProjectList

225

--action getProjectList  --file "target/output/bamboocli/deleteProjects.txt"  --regex "ZBAMBOOCLI.*"  --columns "key"

226

--action getProjectList  --file "target/output/create/deleteProjects.txt"  --regex "ZCREATE.*"  --columns "key"

227

--action getProjectList  --file "target/output/developer/deleteProjects.txt"  --regex "ZDEVELOPER.*"  --columns "key"

228

--action getProjectList  --file "target/output/projects/deleteProjects.txt"  --regex "ZPROJECTS.*"  --columns "key"

229

--action getProjectList  --file "target/output/replace/deleteProjects.txt"  --regex "ZREPLACE.*"  --columns "key"

230

--action getProjectList  --file "target/output/tasks/deleteProjects.txt"  --regex "ZTASKS.*"  --columns "key"

231

--action getProjectList  --project "ZPROJECTS4059462"

232

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

233

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

234

--action getRepositoryList

235

--action getRepositoryList  --plan "ZBAMBOOCLI4226183-checkout1"

236

--action getRepositoryList  --plan "ZCREATE4291357-RepositoryOrdering"

237

--action getServerInfo

238

--action getServerInfo  --outputFormat 3

239

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

240

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

241

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

242

--action getStageList  --plan "ZCREATE4291357SCRIPT-PLAN"

243

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

244

--action getStageList  --project "ZCREATE4291357SCRIPT"  --plan "ZCREATE4291357SCRIPT-PLAN"

245

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

246

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

247

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

248

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

249

--action getTaskTypeList

250

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

251

--action getTriggerList  --plan "ZCREATE4291357-AA"

252

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

253

--action getUserList

254

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

255

--action getVariableList

256

--action getVariableList  --plan "ZCLI-VARIABLES"

257

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

258

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

259

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

260

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

261

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

262

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

263

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

264

--action pauseServer

265

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

266

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

267

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

268

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

269

--action queueBuild  --plan "ZCREATE4291357-BB"  --continue

270

--action queueBuild  --plan "ZCREATE4291357-BB"  --field1 "started"  --value1 "2018-06-29T21:04:51.371-0500"  --field2 "state"  --value2 "SUCCESSFUL"

271

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

272

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

273

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

274

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

275

--action queueBuild  --plan "ZDEPLOY4065944-BASE"  --wait

276

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

277

--action queueBuildFromList  --list "ZCREATE4291357-BB"  --field1 "started"  --value1 "2018-06-29T21:04:51.371-0500"

278

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

279

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

280

--action removeAgent  --id "97124356"

281

--action removeAgent  --id "97124356"  --continue

282

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

283

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

284

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

285

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

286

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

287

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

288

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

289

--action removeEnvironmentNotification  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --event "Deployment started and finished"  --recipientType "CLI"

290

--action removeEnvironmentTask  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --task "Artifact download"

291

--action removeEnvironmentVariables  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --field1 "@all"

292

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

293

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

294

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

295

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

296

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

297

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

298

--action removeRepository  --id "96501805"

299

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

300

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

301

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

302

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

303

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

304

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

305

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

306

--action removeUser  --userId "NOT_FOUND"

307

--action removeVariables  --plan "ZCLI-VARIABLES"  --fields "@all"

308

--action renderRequest  --build "XXX-DEF"  --file "target/output/bamboocli/renderRequestBuild.txt"

309

--action renderRequest  --build "XXX-DEF"  --job "JOB1"  --file "target/output/bamboocli/renderRequestConfig.txt"  --request "/config"

310

--action renderRequest  --build "XXX-DEF"  --job "JOB1"  --file "target/output/bamboocli/renderRequestJob.txt"

311

--action renderRequest  --file "target/output/bamboocli/renderRequestConfig2.txt"  --request "/browse/XXX-DEF-JOB1/config"

312

--action renderRequest  --file "target/output/create/verifyTriggers.txt"  --request "chain/admin/config/editChainTriggers.action"  --requestParameters "buildKey=ZCREATE4291357-AA"

313

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

314

--action restartBuild  --plan "ZCREATE4291357SCRIPT-LONGRUNNING"  --wait

315

--action resumeServer

316

--action run

317

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

318

--action run  --continue

319

--action run  --file "-"

320

--action run  --file "src/itest/resources/create-plan-long-running.txt"  --findReplace "%PLAN%:ZCREATE4291357SCRIPT-LONGRUNNING,%SLEEP%:15"

321

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

322

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

323

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

324

--action run  --file "src/itest/resources/exportPlanCli.txt"  --type "cli"  --findReplace "%plan%:XXX-CLIRESTORE"  --dateFormat "yyyy-MM-dd"

325

--action run  --file "src/itest/resources/exportPlanNotifications.txt"  --findReplace "%plan%:XXX-Notifications"

326

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

327

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

328

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

329

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

330

--action run  --input "-a addVariables --field \\"aaa=AAA\\" --replace"  --input "-a getVariableList --reference bamboo. -f \\"\\""  --input "-a getClientInfo --comment @bamboo.aaa@"

331

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

332

--action run  --verbose

333

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

334

--action runFromBuildList  --build "XXX-DEF"  --limit 1  --labels "testlabel1"  --common "-a addLabels --build @build@ --labels testlabel1"

335

--action runFromBuildList  --plan "ZCREATE4291357-BB"  --field "endedBefore=2018-06-29 21:05:47.708"  --dateFormat "yyyy-MM-dd HH:mm:ss.SSS"  --common "-a removeBuildHistory --build @build@"

336

--action runFromCapabilityList  --regex "system.jdk.*"  --common "-a updateCapability --capability \\"@capability@\\""

337

--action runFromDeploymentProjectList  --common "-a getClientInfo --options ~deploymentProject: @deploymentProject@, id: @deploymentProjectId@~"  --special " #  ~"

338

--action runFromEnvironmentList  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --common "-a getEnvironment --deploymentProject ~Deploy ZDEPLOY4065944-BASE~ --environment @environmentId@"  --special "    ~"

339

--action runFromEnvironmentTriggerList  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --common "-a getEnvironmentTrigger --deploymentProject ~Deploy ZDEPLOY4065944-BASE~ --environment QA --id @triggerId@"  --special "    ~"

340

--action runFromEnvironmentTriggerList  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --regex ".*deployment"  --common "-a removeEnvironmentTrigger --deploymentProject ~Deploy ZDEPLOY4065944-BASE~ --environment QA --id @triggerId@"  --special "    ~"

341

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

342

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

343

--action runFromList  --list "A,B"  --clearFileBeforeAppend  --file "-"

344

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

345

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

346

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

347

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

348

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

349

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

350

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

351

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

352

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

353

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

354

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

355

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

356

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

357

--action setFavoritePlan  --plan "ZCREATE4291357-AA"

358

--action stopBuild  --plan "ZCREATE4291357SCRIPT-LONGRUNNING"

359

--action unsetFavoritePlan  --plan "ZCREATE4291357-AA"

360

--action updateCapability  --capability "Docker"  --value "/zdocker"

361

--action updateCapability  --capability "Docker"  --value "/zdocker"  --agent "zcapabilities"

362

--action updateCapability  --capability "Perforce Executable"  --value "/zperforce"

363

--action updateCapability  --capability "Perforce Executable"  --value "/zperforce"  --agent "zcapabilities"

364

--action updateCapability  --capability "system.git.executable.ssh"  --value "/zgitssh"  --agent "zcapabilities"  --options "ssh"

365

--action updateCapability  --capability "system.git.executable.ssh"  --value "/zgitssh"  --options "ssh"

366

--action updateCapability  --capability "system.hg.executable.ssh"  --value "/zhgssh"  --agent "zcapabilities"  --options "ssh"

367

--action updateCapability  --capability "system.hg.executable.ssh"  --value "/zhgssh"  --options "ssh"

368

--action updateCapability  --capability "z Ant"  --value "/ant"  --agent "zcapabilities"  --name "z Ant"

369

--action updateCapability  --capability "z Ant"  --value "/ant"  --name "z Ant"

370

--action updateCapability  --capability "z GW"  --value "/gw"  --agent "zcapabilities"  --name "z GW"

371

--action updateCapability  --capability "z GW"  --value "/gw"  --name "z GW"

372

--action updateCapability  --capability "z JDK"  --value "/jdk"  --agent "zcapabilities"  --name "z JDK"

373

--action updateCapability  --capability "z JDK"  --value "/jdk"  --name "z JDK"

374

--action updateCapability  --capability "z agent gant"  --value "/local"  --agent "zcapabilities"  --name "z agent gant"

375

--action updateCapability  --capability "z custom 1"  --value "xxx"  --agent "zcapabilities"  --name "z custom 1"

376

--action updateCapability  --capability "z custom 1"  --value "xxx"  --name "z custom 1"

377

--action updateCredentials  --credentials "zForUpdate"  --name "zUpdated"  --userId "updatedUser"

378

--action updateCredentials  --credentials "zUpdated"  --userPassword "aaaaaaa"

379

--action updateEnvironmentVariables  --deploymentProject "Deploy ZDEPLOY4065944-BASE"  --environment "QA"  --append  --field "Zv.a = ' APPENDED_TEXT WITH BLANK'" --field "Zv.1 = APPENDED_TEXT"

380

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

381

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

382

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

383

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

384

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

385

--action updateVariables  --plan "ZCLI-VARIABLES"  --append  --field "Zv.a = ' APPENDED_TEXT WITH BLANK'" --field "Zv.1 = APPENDED_TEXT"

386

--action updateVariables  --plan "ZCLI-VARIABLES"  --append  --field "Zv.a"  --findReplace "value aaa:modified value aaa"

387

--action validateLicense

388

--action verifyBuild  --build "XXX-DEF-10"

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.