Examples - 6.9.0

Related information for 6.9.0

Examples

 

Command

1

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

2

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

3

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

4

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

5

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

6

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

7

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

8

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

9

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

10

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

11

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

12

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

13

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch "2.5.0"  --description "Branch for tag 2.5.0"  --enable

14

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch "2.6.0"  --name "Release 2.6.0"

15

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

16

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

17

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

18

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

19

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

20

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

21

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

22

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

23

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

24

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

25

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

26

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

27

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

28

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

29

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

30

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

31

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

32

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

33

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

34

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

35

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

36

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

37

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

38

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

39

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

40

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

41

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

42

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

43

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

44

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

45

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

46

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

47

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

48

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

49

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

50

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

51

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

52

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

53

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

54

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

55

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

56

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

57

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

58

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

59

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

60

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

61

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

62

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

63

--action cloneProject  --project "ZTEMPLATE"  --toProject "ZBAMBOOCLI9164632CLONE"

64

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

65

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

66

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

67

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

68

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

69

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

70

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

71

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

72

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

73

--action deletePlan  --build "ZBAMBOOCLI9164632-notask"  --verbose

74

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

75

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

76

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

77

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

78

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

79

--action disablePlan  --build "ZBAMBOOCLI9164632-checkout1"

80

--action disablePlan  --build "ZBAMBOOCLI9164632-notask"

81

--action disableProject  --project "ZBAMBOOCLI9164632"

82

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

83

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

84

--action enablePlan  --build "ZBAMBOOCLI9164632-checkout1"

85

--action enablePlan  --build "ZBAMBOOCLI9164632-notask"

86

--action enableProject  --project "ZBAMBOOCLI9164632"

87

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

88

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

89

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

90

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

91

--action getAgentList

92

--action getAgentList  --outputFormat 2

93

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

94

--action getArtifactDefinitionList  --plan "ZCREATE9378798-AA"

95

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

96

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

97

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

98

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

99

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

100

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

101

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

102

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

103

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

104

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

105

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

106

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

107

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

108

--action getBuild  --build "XXX-DEF-859"

109

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

110

--action getBuildList  --plan "ZCREATE9378798-BB"

111

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

112

--action getBuildList  --plan "ZCREATE9378798-BB"  --field1 "started"  --value1 "2017-07-30T19:02:58.803-0500"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

113

--action getBuildList  --plan "ZCREATE9378798-BB"  --field1 "STARTED"  --value1 "2017-07-30T19:05:35.390-0500"  --outputFormat 2  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

114

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

115

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

116

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

117

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

118

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

119

--action getBuildList  --plan "ZCREATE9378798-EMPTY"

120

--action getBuildList  --plan "ZCREATE9378798SCRIPT-LONGRUNNING"

121

--action getBuildQueueList

122

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

123

--action getBuildQueueList  --project "ZBAMBOOCLI9164632"

124

--action getClientInfo

125

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

126

--action getDeploymentProject  --deploymentProject "Deploy ZDEPLOY8999169-BASE"

127

--action getDeploymentProjectList

128

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

129

--action getEnvironmentList  --deploymentProject "Deploy ZDEPLOY8999169-BASE"

130

--action getJobList  --plan "ZCREATE9378798SCRIPT-PLAN"

131

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

132

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

133

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

134

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

135

--action getLatestBuildNumber  --plan "ZCREATE9378798SCRIPT-LONGRUNNING"

136

--action getNotificationList  --plan "ZCREATE9378798-NOTIFICATIONS"

137

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

138

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

139

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

140

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

141

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

142

--action getPlanList  --project "ZCREATE9378798SCRIPT"

143

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

144

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

145

--action getPlan  --plan "ZBAMBOOCLI9164632-checkout1Disable"

146

--action getPlan  --plan "ZBAMBOOCLI9164632-checkout1"  --verbose

147

--action getPlan  --plan "ZBAMBOOCLI9164632CLONE-checkout1"

148

--action getPlan  --project "ZBAMBOOCLI9164632CLONE"  --plan "ZBAMBOOCLI9164632CLONE-CHECKOUT1"

149

--action getProjectList

150

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

151

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

152

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

153

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

154

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

155

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

156

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

157

--action getRepositoryList

158

--action getRepositoryList  --plan "ZBAMBOOCLI9164632-checkout1"

159

--action getRepositoryList  --plan "ZCREATE9378798-RepositoryOrdering"

160

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

161

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

162

--action getServerInfo

163

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

164

--action getStageList  --plan "ZCREATE9378798SCRIPT-PLAN"

165

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

166

--action getStageList  --project "ZCREATE9378798SCRIPT"  --plan "ZCREATE9378798SCRIPT-PLAN"

167

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

168

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

169

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

170

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

171

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

172

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

173

--action getTaskTypeList

174

--action getVariableList

175

--action getVariableList  --plan "ZBAMBOOCLI9164632-RemoveTesting"

176

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

177

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

178

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

179

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

180

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

181

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

182

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

183

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

184

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

185

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

186

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

187

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

188

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

189

--action queueBuildFromList  --list "ZCREATE9378798-BB"  --field1 "started"  --value1 "2017-07-30T19:02:58.803-0500"

190

--action queueBuild  --plan "ZCREATE9378798-BB"  --continue

191

--action queueBuild  --plan "ZCREATE9378798-BB"  --field1 "started"  --value1 "2017-07-30T19:02:58.803-0500"  --field2 "state"  --value2 "SUCCESSFUL"

192

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

193

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

194

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

195

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

196

--action queueBuild  --plan "ZDEPLOY8999169-BASE"  --wait

197

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

198

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

199

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

200

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

201

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

202

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

203

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

204

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

205

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

206

--action removeAgent  --id "81756214"

207

--action removeAgent  --id "81756214"  --continue

208

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

209

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

210

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

211

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

212

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

213

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

214

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

215

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

216

--action removeRepository  --id "80806589"

217

--action removeRepository  --plan "ZBAMBOOCLI9164632-checkout1"  --id "80806588"

218

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

219

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

220

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

221

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

222

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

223

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

224

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

225

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

226

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

227

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

228

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

229

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

230

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

231

--action restartBuild  --plan "ZCREATE9378798SCRIPT-LONGRUNNING"  --wait

232

--action run

233

--action run  --continue

234

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

235

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

236

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

237

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

238

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

239

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

240

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

241

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

242

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

243

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

244

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

245

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

246

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

247

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

248

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

249

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

250

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

251

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

252

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

253

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

254

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

255

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

256

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

257

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

258

--action run  --verbose

259

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

260

--action setFavoritePlan  --plan "ZCREATE9378798-AA"

261

--action stopBuild  --plan "ZCREATE9378798SCRIPT-LONGRUNNING"

262

--action unsetFavoritePlan  --plan "ZCREATE9378798-AA"

263

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

264

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

265

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

266

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

267

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

268

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

269

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

270

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

271

--action validateLicense

272

--action verifyBuild  --build "XXX-DEF-859"

273

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