Examples - 7.0.0

Related information for 7.0.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 5306133"

4

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

5

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

6

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

7

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

8

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

9

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

10

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

11

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

12

--action addArtifact  --plan "ZCREATE5306133-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 "938"  --file "src/itest/resources/data.txt"  --findReplace "xxx:yyy"

17

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

18

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

19

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

20

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

21

--action addEnvironmentTask  --deploymentProject "Deploy ZDEPLOY4967581-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 ZDEPLOY4967581-BASE"  --environment "QA"  --stage "FIRST"  --type "After successful stage"  --description "for branch"  --branch "2.5.0"  --verbose

24

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

25

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

26

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

27

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

28

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

29

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

30

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

31

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

32

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

33

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

34

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

35

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

36

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

37

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

38

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

39

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

40

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

41

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

42

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

43

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

44

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

45

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

46

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

47

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

48

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

49

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

50

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

51

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

52

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

53

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

54

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

55

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

56

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

57

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

58

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

59

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

60

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

61

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

62

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

63

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

64

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

65

--action cloneProject  --project "ZTEMPLATE"  --toProject "ZBAMBOOCLI5133088CLONE"

66

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

67

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

68

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

69

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

70

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

71

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

72

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

73

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

74

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

75

--action deletePlan  --build "ZBAMBOOCLI5133088-notask"  --verbose

76

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

77

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

78

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

79

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

80

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

81

--action disablePlan  --build "ZBAMBOOCLI5133088-checkout1"

82

--action disablePlan  --build "ZBAMBOOCLI5133088-notask"

83

--action disableProject  --project "ZBAMBOOCLI5133088"

84

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

85

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

86

--action enablePlan  --build "ZBAMBOOCLI5133088-checkout1"

87

--action enablePlan  --build "ZBAMBOOCLI5133088-notask"

88

--action enableProject  --project "ZBAMBOOCLI5133088"

89

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

90

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

91

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

92

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

93

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

94

--action getAgentList

95

--action getAgentList  --outputFormat 2

96

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

97

--action getArtifactDefinitionList  --plan "ZCREATE5306133-AA"

98

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

99

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

100

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

101

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

102

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

103

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

104

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

105

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

106

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

107

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

108

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

109

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

110

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

111

--action getBuild  --build "XXX-DEF-938"

112

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

113

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

114

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

115

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

116

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

117

--action getBuildList  --plan "ZCREATE5306133-BB"

118

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

119

--action getBuildList  --plan "ZCREATE5306133-BB"  --field1 "started"  --value1 "2017-09-08T13:28:26.138-0500"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

120

--action getBuildList  --plan "ZCREATE5306133-BB"  --field1 "STARTED"  --value1 "2017-09-08T13:30:48.031-0500"  --outputFormat 2  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

121

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

122

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

123

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

124

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

125

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

126

--action getBuildList  --plan "ZCREATE5306133-EMPTY"

127

--action getBuildList  --plan "ZCREATE5306133SCRIPT-LONGRUNNING"

128

--action getBuildQueueList

129

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

130

--action getBuildQueueList  --project "ZBAMBOOCLI5133088"

131

--action getClientInfo

132

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

133

--action getDeploymentProject  --deploymentProject "Deploy ZDEPLOY4967581-BASE"

134

--action getDeploymentProjectList

135

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

136

--action getEnvironmentList  --deploymentProject "Deploy ZDEPLOY4967581-BASE"

137

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

138

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

139

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

140

--action getJobList  --plan "ZCREATE5306133SCRIPT-PLAN"

141

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

142

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

143

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

144

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

145

--action getLatestBuildNumber  --plan "ZCREATE5306133SCRIPT-LONGRUNNING"

146

--action getNotificationList  --plan "ZCREATE5306133-NOTIFICATIONS"

147

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

148

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

149

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

150

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

151

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

152

--action getPlanList  --project "ZCREATE5306133SCRIPT"

153

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

154

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

155

--action getPlan  --plan "ZBAMBOOCLI5133088-checkout1Disable"

156

--action getPlan  --plan "ZBAMBOOCLI5133088-checkout1"  --verbose

157

--action getPlan  --plan "ZBAMBOOCLI5133088CLONE-checkout1"

158

--action getPlan  --project "ZBAMBOOCLI5133088CLONE"  --plan "ZBAMBOOCLI5133088CLONE-CHECKOUT1"

159

--action getProjectList

160

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

161

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

162

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

163

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

164

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

165

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

166

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

167

--action getRepositoryList

168

--action getRepositoryList  --plan "ZBAMBOOCLI5133088-checkout1"

169

--action getRepositoryList  --plan "ZCREATE5306133-RepositoryOrdering"

170

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

171

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

172

--action getServerInfo

173

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

174

--action getStageList  --plan "ZCREATE5306133SCRIPT-PLAN"

175

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

176

--action getStageList  --project "ZCREATE5306133SCRIPT"  --plan "ZCREATE5306133SCRIPT-PLAN"

177

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

178

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

179

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

180

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

181

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

182

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

183

--action getTaskTypeList

184

--action getTriggerList  --plan "ZCREATE5306133-AA"

185

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

186

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

187

--action getVariableList

188

--action getVariableList  --plan "ZBAMBOOCLI5133088-RemoveTesting"

189

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

190

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

191

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

192

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

193

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

194

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

195

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

196

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

197

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

198

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

199

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

200

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

201

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

202

--action queueBuildFromList  --list "ZCREATE5306133-BB"  --field1 "started"  --value1 "2017-09-08T13:28:26.138-0500"

203

--action queueBuild  --plan "ZCREATE5306133-BB"  --continue

204

--action queueBuild  --plan "ZCREATE5306133-BB"  --field1 "started"  --value1 "2017-09-08T13:28:26.138-0500"  --field2 "state"  --value2 "SUCCESSFUL"

205

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

206

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

207

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

208

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

209

--action queueBuild  --plan "ZDEPLOY4967581-BASE"  --wait

210

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

211

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

212

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

213

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

214

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

215

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

216

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

217

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

218

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

219

--action removeAgent  --id "81756398"

220

--action removeAgent  --id "81756398"  --continue

221

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

222

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

223

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

224

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

225

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

226

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

227

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

228

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

229

--action removeRepository  --id "80808996"

230

--action removeRepository  --plan "ZBAMBOOCLI5133088-checkout1"  --id "80808995"

231

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

232

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

233

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

234

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

235

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

236

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

237

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

238

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

239

--action removeVariables  --plan "ZBAMBOOCLI5133088-RemoveTesting"  --fields "@all"

240

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

241

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

242

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

243

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

244

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

245

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

246

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

247

--action restartBuild  --plan "ZCREATE5306133SCRIPT-LONGRUNNING"  --wait

248

--action run

249

--action run  --continue

250

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

251

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

252

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

253

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

254

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

255

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

256

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

257

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

258

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

259

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

260

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

261

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

262

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

263

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

264

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

265

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

266

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

267

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

268

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

269

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

270

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

271

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

272

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

273

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

274

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

275

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

276

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

277

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

278

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

279

--action run  --verbose

280

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

281

--action setFavoritePlan  --plan "ZCREATE5306133-AA"

282

--action stopBuild  --plan "ZCREATE5306133SCRIPT-LONGRUNNING"

283

--action unsetFavoritePlan  --plan "ZCREATE5306133-AA"

284

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

285

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

286

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

287

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

288

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

289

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

290

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

291

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

292

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

293

--action validateLicense

294

--action verifyBuild  --build "XXX-DEF-938"

295

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