Examples - 6.8.0

Related information for 6.8.0

Examples

 

Command

1

--action addAgent  --agent "Z1"  --continue

2

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

3

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

4

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

5

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

6

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

7

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

8

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

9

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

10

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

11

--action addArtifact  --plan "ZCREATE3305014-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 addComment  --build "XXX-DEF"  --comment "This is a comment added by automation"

15

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

16

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

17

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

18

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

19

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

20

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

21

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

22

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

23

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

24

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

25

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

26

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

27

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

28

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

29

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

30

--action addLabels  --labels "morelabel1"  --searchLabels "testlabel1 testlabel2"

31

--action addRepository  --name "global (delete me)"  --repositoryKey "GIT"  --fields "repository.git.repositoryUrl:'https://code.appfire.com/scm/public/groovy-2.1.2.git'"  --replace

32

--action addRepository  --name "global (delete me)"  --repositoryKey "GIT"  --fields "repository.git.repositoryUrl:'https://code.appfire.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'"

33

--action addRepository  --plan "ZBAMBOOCLI3134448-checkout1"  --repositoryKey "GIT"  --name "groovy"  --fields "repository.git.repositoryUrl:'https://code.appfire.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'"

34

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

35

--action addRequirement  --plan "ZBAMBOOCLI3134448-checkout1"  --job "JOB1"  --requirement "my-custom-requirement"  --type "equal"  --value "mine"

36

--action addRequirement  --plan "ZBAMBOOCLI3134448-checkout1"  --job "JOB1"  --requirement "system.builder.ant.Ant"

37

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

38

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

39

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

40

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

41

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

42

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

43

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

44

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

45

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

46

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

47

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

48

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

49

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

50

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

51

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

52

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

53

--action addTrigger  --plan "ZCREATE3305014-AA"  --type "Scheduled"  --schedule "9:35"

54

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

55

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

56

--action clonePlan  --build "ZTEMPLATE-checkout1"  --file "target/output/bamboocli/clonePlancheckout1Disable.txt"  --toPlan "ZBAMBOOCLI3134448-checkout1Disable"  --disable

57

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

58

--action clonePlan  --build "ZTEMPLATE-notask"  --file "target/output/bamboocli/clonePlannotaskDisable.txt"  --toPlan "ZBAMBOOCLI3134448-notaskDisable"  --disable

59

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

60

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

61

--action cloneProject  --project "ZTEMPLATE"  --toProject "ZBAMBOOCLI3134448CLONE"

62

--action cloneProject  --project "ZTEMPLATE"  --toProject "ZBAMBOOCLI3134448CLONEDisable"  --disable

63

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

64

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

65

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

66

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

67

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

68

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

69

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

70

--action deleteDeploymentProject  --deploymentProject "Deploy ZTEMPLATE-CHECKOUT1"

71

--action deletePlan  --build "ZBAMBOOCLI3134448-notask"  --verbose

72

--action deployEnvironment  --deploymentProject "Deploy ZDEPLOY2953177-BASE"  --environment "QA"  --version "1.0.0"

73

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

74

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

75

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

76

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

77

--action disablePlan  --build "ZBAMBOOCLI3134448-checkout1"

78

--action disablePlan  --build "ZBAMBOOCLI3134448-notask"

79

--action disableProject  --project "ZBAMBOOCLI3134448"

80

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

81

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

82

--action enablePlan  --build "ZBAMBOOCLI3134448-checkout1"

83

--action enablePlan  --build "ZBAMBOOCLI3134448-notask"

84

--action enableProject  --project "ZBAMBOOCLI3134448"

85

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

86

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

87

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

88

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

89

--action getAgentList

90

--action getAgentList  --outputFormat 2

91

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

92

--action getArtifactDefinitionList  --plan "ZCREATE3305014-AA"

93

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

94

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

95

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

96

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

97

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

98

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

99

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

100

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

101

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

102

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

103

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

104

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

105

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

106

--action getBuild  --build "XXX-DEF-845"

107

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

108

--action getBuildList  --plan "ZCREATE3305014-BB"

109

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

110

--action getBuildList  --plan "ZCREATE3305014-BB"  --field1 "started"  --value1 "2017-07-17T09:55:05.020-0500"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

111

--action getBuildList  --plan "ZCREATE3305014-BB"  --field1 "STARTED"  --value1 "2017-07-17T09:57:26.161-0500"  --outputFormat 2  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

112

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

113

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

114

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

115

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

116

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

117

--action getBuildList  --plan "ZCREATE3305014-EMPTY"

118

--action getBuildList  --plan "ZCREATE3305014SCRIPT-LONGRUNNING"

119

--action getBuildQueueList

120

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

121

--action getBuildQueueList  --project "ZBAMBOOCLI3134448"

122

--action getClientInfo

123

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

124

--action getDeploymentProject  --deploymentProject "Deploy ZDEPLOY2953177-BASE"

125

--action getDeploymentProjectList

126

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

127

--action getEnvironmentList  --deploymentProject "Deploy ZDEPLOY2953177-BASE"

128

--action getJobList  --plan "ZCREATE3305014SCRIPT-PLAN"

129

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

130

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

131

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

132

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

133

--action getLatestBuildNumber  --plan "ZCREATE3305014SCRIPT-LONGRUNNING"

134

--action getNotificationList  --plan "ZCREATE3305014-NOTIFICATIONS"

135

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

136

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

137

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

138

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

139

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

140

--action getPlanList  --project "ZCREATE3305014SCRIPT"

141

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

142

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

143

--action getPlan  --plan "ZBAMBOOCLI3134448-checkout1Disable"

144

--action getPlan  --plan "ZBAMBOOCLI3134448-checkout1"  --verbose

145

--action getPlan  --plan "ZBAMBOOCLI3134448CLONE-checkout1"

146

--action getPlan  --project "ZBAMBOOCLI3134448CLONE"  --plan "ZBAMBOOCLI3134448CLONE-CHECKOUT1"

147

--action getProjectList

148

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

149

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

150

--action getProjectList  --file "target/output/deploy/deleteProjects.txt"  --regex "ZDEPLOY.*"  --columns "key"

151

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

152

--action getProjectList  --file "target/output/export/deleteProjects.txt"  --regex "ZEXPORT.*"  --columns "key"

153

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

154

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

155

--action getRepositoryList

156

--action getRepositoryList  --plan "ZBAMBOOCLI3134448-checkout1"

157

--action getRepositoryList  --plan "ZCREATE3305014-RepositoryOrdering"

158

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

159

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

160

--action getServerInfo

161

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

162

--action getStageList  --plan "ZCREATE3305014SCRIPT-PLAN"

163

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

164

--action getStageList  --project "ZCREATE3305014SCRIPT"  --plan "ZCREATE3305014SCRIPT-PLAN"

165

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

166

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

167

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

168

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

169

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

170

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

171

--action getTaskTypeList

172

--action getVariableList

173

--action getVariableList  --plan "ZBAMBOOCLI3134448-RemoveTesting"

174

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

175

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

176

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

177

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

178

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

179

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

180

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

181

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

182

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

183

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

184

--action queueBuild  --build "ZBAMBOOCLI3134448-checkout1"  --wait  --timeout 90  --field1 "exitCode"  --value1 "0"  --verbose

185

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

186

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

187

--action queueBuildFromList  --list "ZCREATE3305014-BB"  --field1 "started"  --value1 "2017-07-17T09:55:05.020-0500"

188

--action queueBuild  --plan "ZCREATE3305014-BB"  --continue

189

--action queueBuild  --plan "ZCREATE3305014-BB"  --field1 "started"  --value1 "2017-07-17T09:55:05.020-0500"  --field2 "state"  --value2 "SUCCESSFUL"

190

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

191

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

192

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

193

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

194

--action queueBuild  --plan "ZDEPLOY2953177-BASE"  --wait

195

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

196

--action removeAgent  --agent "Z Added 1"  --verbose

197

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

198

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

199

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

200

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

201

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

202

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

203

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

204

--action removeAgent  --id "81559564"

205

--action removeAgent  --id "81559564"  --continue

206

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

207

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

208

--action removeBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch "@all"

209

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

210

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

211

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

212

--action removeLabels  --build "XXX-DEF"  --number -1  --labels "notfound"

213

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

214

--action removeLabels  --labels "morelabel1"  --searchLabels "testlabel1,testlabel2"

215

--action removeRepository  --id "80543886"

216

--action removeRepository  --plan "ZBAMBOOCLI3134448-checkout1"  --id "80543885"

217

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

218

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

219

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

220

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

221

--action removeTrigger  --plan "ZCREATE3305014-AA"  --id "2"  --verbose

222

--action removeVariables  --plan "ZBAMBOOCLI3134448-RemoveTesting"  --field1 "@all"  --value1 "xx"

223

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

224

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

225

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

226

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

227

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

228

--action renderRequest  --plan "ZBAMBOOCLI3134448-checkout1"  --job "JOB1"  --file "target/output/bamboocli/renderRequestBuildResultcheckout1.txt"  --request "-2/log"

229

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

230

--action restartBuild  --plan "ZCREATE3305014SCRIPT-LONGRUNNING"  --wait

231

--action run

232

--action run  --continue

233

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

234

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

235

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

236

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

237

--action run  --file "src/itest/resources/exportPlanCli.txt"  --plan "ztemplate-checkout1"  --type "cli"  --dateFormat "yyyy-MM-dd"

238

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

239

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

240

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

241

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

242

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

243

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

244

--action runFromDeploymentProjectList  --regex ".*ZDEPLOY\\d+.*"  --common "-a deleteDeploymentProject --deploymentProject @deploymentProjectId@"

245

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

246

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

247

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

248

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

249

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

250

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

251

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

252

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

253

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

254

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

255

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

256

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

257

--action run  --verbose

258

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

259

--action setFavoritePlan  --plan "ZCREATE3305014-AA"

260

--action stopBuild  --plan "ZCREATE3305014SCRIPT-LONGRUNNING"

261

--action unsetFavoritePlan  --plan "ZCREATE3305014-AA"

262

--action updateRepository  --id "80543886"  --name "global updated (delete me)"  --fields "repository.git.repositoryUrl:'https://code.appfire.com/scm/public/groovy-2.1.2.git'"

263

--action updateRepository  --plan "ZBAMBOOCLI3134448-checkout1"  --id "80543885"  --name "groovy updated"  --fields "repository.git.repositoryUrl:'https://code.appfire.com/scm/public/groovy-2.1.2.git'"

264

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

265

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

266

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

267

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

268

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

269

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

270

--action validateLicense

271

--action verifyBuild  --build "XXX-DEF-845"

272

--action verifyBuild  --build "ZBAMBOOCLI3134448-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.