Skip to end of banner
Go to start of banner

Examples - 7.2.0

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Related information for 7.2.0

Examples

 

Command

1

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

2

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

3

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

4

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

5

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

6

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

7

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

8

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

9

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

10

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

11

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

16

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

17

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

18

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

19

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

20

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

21

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

22

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

23

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

24

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

25

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

26

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

27

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

28

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

29

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

30

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

31

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

32

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

33

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

34

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

35

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

36

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

37

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

38

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

39

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

40

--action addRepository  --name "zrepositories bitbucketCloud"  --repositoryKey "BITBUCKET_CLOUD"  --credentials "zrepositories credentials for bitbucketCloud 1"  --fields "repository.bitbucket.repository:bob_swift/cli,repository.bitbucket.authenticationType:'PASSWORD'"

41

--action addRepository  --name "zrepositories git"  --repositoryKey "GIT"  --credentials "zrepositories credentials for git 1"  --fields "repository.git.repositoryUrl:'https://bitbucket.org/bobswift/log-service',repository.git.authenticationType:'PASSWORD'"  --branch "develop"

42

--action addRepository  --name "zrepositories hg"  --repositoryKey "MERCURIAL"  --credentials "zrepositories credentials for hg 1"  --fields "repository.hg.repositoryUrl:'https://bitbucket.org/bob_swift/cli',repository.hg.authentication:'PASSWORD'"

43

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

44

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

45

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

46

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

47

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

48

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

49

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

50

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

51

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

52

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

53

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

54

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

55

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

56

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

57

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

58

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

59

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

60

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

61

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

62

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

63

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

64

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

65

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

66

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

67

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

68

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

69

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

70

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

71

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

72

--action cloneProject  --project "ZTEMPLATE"  --toProject "ZBAMBOOCLI9222962CLONE"

73

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

74

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

75

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

76

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

77

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

78

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

79

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

80

--action createProject  --project "ZPROJECTS9062805"  --name "zprojects9062805"  --description "Project description"

81

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

82

--action deletePlan  --build "ZBAMBOOCLI9222962-notask"  --verbose

83

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

84

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

85

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

86

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

87

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

88

--action disablePlan  --build "ZBAMBOOCLI9222962-checkout1"

89

--action disablePlan  --build "ZBAMBOOCLI9222962-notask"

90

--action disableProject  --project "ZBAMBOOCLI9222962"

91

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

92

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

93

--action enablePlan  --build "ZBAMBOOCLI9222962-checkout1"

94

--action enablePlan  --build "ZBAMBOOCLI9222962-notask"

95

--action enableProject  --project "ZBAMBOOCLI9222962"

96

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

97

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

98

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

99

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

100

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

101

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

102

--action getAgentList

103

--action getAgentList  --outputFormat 2

104

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

105

--action getArtifactDefinitionList  --plan "ZCREATE9398863-AA"

106

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

107

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

108

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

109

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

110

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

111

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

112

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

113

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

114

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

115

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

116

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

117

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

118

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

119

--action getBuild  --build "XXX-DEF-953"

120

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

121

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

122

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

123

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

124

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

125

--action getBuildList  --plan "ZCREATE9398863-BB"

126

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

127

--action getBuildList  --plan "ZCREATE9398863-BB"  --field1 "started"  --value1 "2017-11-03T17:49:58.870-0500"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

128

--action getBuildList  --plan "ZCREATE9398863-BB"  --field1 "STARTED"  --value1 "2017-11-03T17:52:20.267-0500"  --outputFormat 2  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

129

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

130

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

131

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

132

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

133

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

134

--action getBuildList  --plan "ZCREATE9398863-EMPTY"

135

--action getBuildList  --plan "ZCREATE9398863SCRIPT-LONGRUNNING"

136

--action getBuildQueueList

137

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

138

--action getBuildQueueList  --project "ZBAMBOOCLI9222962"

139

--action getClientInfo

140

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

141

--action getCredentialsList

142

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

143

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

144

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

145

--action getCredentialsList  --regex "zUpdated"

146

--action getDeploymentProject  --deploymentProject "Deploy ZDEPLOY9062927-BASE"

147

--action getDeploymentProjectList

148

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

149

--action getEnvironmentList  --deploymentProject "Deploy ZDEPLOY9062927-BASE"

150

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

151

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

152

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

153

--action getJobList  --plan "ZCREATE9398863SCRIPT-PLAN"

154

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

155

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

156

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

157

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

158

--action getLatestBuildNumber  --plan "ZCREATE9398863SCRIPT-LONGRUNNING"

159

--action getNotificationList  --plan "ZCREATE9398863-NOTIFICATIONS"

160

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

161

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

162

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

163

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

164

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

165

--action getPlanList  --project "XXX"  --options "usingRepository=zrepositories git"

166

--action getPlanList  --project "ZCREATE9398863SCRIPT"

167

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

168

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

169

--action getPlan  --plan "ZBAMBOOCLI9222962-checkout1Disable"

170

--action getPlan  --plan "ZBAMBOOCLI9222962-checkout1"  --verbose

171

--action getPlan  --plan "ZBAMBOOCLI9222962CLONE-checkout1"

172

--action getPlan  --project "ZBAMBOOCLI9222962CLONE"  --plan "ZBAMBOOCLI9222962CLONE-CHECKOUT1"

173

--action getProjectList

174

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

175

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

176

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

177

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

178

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

179

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

180

--action getProjectList  --project "ZPROJECTS9062805"

181

--action getProject  --project "ZPROJECTS9062805"

182

--action getRepositoryList

183

--action getRepositoryList  --plan "XXX-RemoveAndReplace"

184

--action getRepositoryList  --plan "ZBAMBOOCLI9222962-checkout1"

185

--action getRepositoryList  --plan "ZCREATE9398863-RepositoryOrdering"

186

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

187

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

188

--action getRepository  --repository "zrepositories bitbucketCloud"

189

--action getRepository  --repository "zrepositories git"

190

--action getRepository  --repository "zrepositories hg"

191

--action getServerInfo

192

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

193

--action getStageList  --plan "ZCREATE9398863SCRIPT-PLAN"

194

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

195

--action getStageList  --project "ZCREATE9398863SCRIPT"  --plan "ZCREATE9398863SCRIPT-PLAN"

196

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

197

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

198

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

199

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

200

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

201

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

202

--action getTaskTypeList

203

--action getTriggerList  --plan "ZCREATE9398863-AA"

204

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

205

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

206

--action getVariableList

207

--action getVariableList  --plan "ZBAMBOOCLI9222962-RemoveTesting"

208

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

209

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

210

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

211

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

212

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

213

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

214

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

215

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

216

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

217

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

218

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

219

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

220

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

221

--action queueBuildFromList  --list "ZCREATE9398863-BB"  --field1 "started"  --value1 "2017-11-03T17:49:58.870-0500"

222

--action queueBuild  --plan "ZCREATE9398863-BB"  --continue

223

--action queueBuild  --plan "ZCREATE9398863-BB"  --field1 "started"  --value1 "2017-11-03T17:49:58.870-0500"  --field2 "state"  --value2 "SUCCESSFUL"

224

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

225

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

226

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

227

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

228

--action queueBuild  --plan "ZDEPLOY9062927-BASE"  --wait

229

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

230

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

231

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

232

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

233

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

234

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

235

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

236

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

237

--action removeAgent  --id "84443209"

238

--action removeAgent  --id "84443209"  --continue

239

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

240

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

241

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

242

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

243

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

244

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

245

--action removeRepository  --id "83559479"

246

--action removeRepository  --plan "XXX-RemoveAndReplace"  --repository "zrepositories git"  --options "replaceRepository=cli"

247

--action removeRepository  --plan "ZBAMBOOCLI9222962-checkout1"  --id "83559478"

248

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

249

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

250

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

251

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

252

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

253

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

254

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

255

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

256

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

257

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

258

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

259

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

260

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

261

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

262

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

263

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

264

--action restartBuild  --plan "ZCREATE9398863SCRIPT-LONGRUNNING"  --wait

265

--action run

266

--action run  --continue

267

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

268

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

269

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

270

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

271

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

272

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

273

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

274

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

275

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

276

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

277

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

278

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

279

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

280

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

281

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

282

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

283

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

284

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

285

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

286

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

287

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

288

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

289

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

290

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

291

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

292

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

293

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

294

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

295

--action run  --verbose

296

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

297

--action setFavoritePlan  --plan "ZCREATE9398863-AA"

298

--action stopBuild  --plan "ZCREATE9398863SCRIPT-LONGRUNNING"

299

--action testRepository  --repository "zrepositories bitbucketCloud"

300

--action testRepository  --repository "zrepositories git"

301

--action testRepository  --repository "zrepositories hg"

302

--action unsetFavoritePlan  --plan "ZCREATE9398863-AA"

303

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

304

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

305

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

306

--action updateRepository  --repository "zrepositories bitbucketCloud"

307

--action updateRepository  --repository "zrepositories bitbucketCloud"  --credentials "zrepositories credentials for bitbucketCloud 2"

308

--action updateRepository  --repository "zrepositories git"

309

--action updateRepository  --repository "zrepositories git"  --credentials "zrepositories credentials for git 2"

310

--action updateRepository  --repository "zrepositories hg"

311

--action updateRepository  --repository "zrepositories hg"  --credentials "zrepositories credentials for hg 2"

312

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

313

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

314

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

315

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

316

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

317

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

318

--action validateLicense

319

--action verifyBuild  --build "XXX-DEF-953"

320

--action verifyBuild  --build "ZBAMBOOCLI9222962-checkout1"

  • No labels