Examples - 7.8.0

Related information for 7.8.0

Examples

 

Command

1

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

2

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

3

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

4

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

5

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

6

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

7

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

8

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

9

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

10

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

11

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

12

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 1

13

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 10

14

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 11

15

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 12

16

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 13

17

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 14

18

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 15

19

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 16

20

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 17

21

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 18

22

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 19

23

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 2

24

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 20

25

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 21

26

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 22

27

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 23

28

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 24

29

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 25

30

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

31

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

32

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 3

33

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 4

34

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 5

35

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 6

36

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 7

37

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 8

38

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch 9

39

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

40

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

41

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

42

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

43

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

44

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

45

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

46

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

47

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

48

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

49

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

50

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

51

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

52

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

53

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

54

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

55

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

56

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

57

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

58

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

59

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

60

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

61

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

62

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

63

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

64

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

65

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

66

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

67

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

68

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

69

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

70

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

71

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

72

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

73

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

74

--action addGroup  --group "group1"

75

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

76

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

77

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

78

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

79

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

80

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

81

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

82

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

83

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

84

--action addRepository  --name "global (delete me)"  --repositoryKey "GIT"  --fields "repository.git.repositoryUrl:'https://code.examplegear.com/scm/public/groovy-2.1.2.git',repository.git.authenticationType:NONE,repository.git.username:,repository.git.password:,repository.git.branch:master,repository.git.commandTimeout:2,selectedWebRepositoryViewer:'bamboo.webrepositoryviewer.provided:noRepositoryViewer'"

85

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

86

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

87

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

88

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

89

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

90

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

91

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

92

--action addTask  --plan "ZBAMBOOCLI6254653-checkout1"  --job "JOB1"  --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script"  --description "initial description before update"  --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv"  --field1 "scriptLocation"  --value1 "INLINE"  --field2 "scriptBody"  --value2 "echo 'exitCode: \\${bamboo.exitCode}'; exit \\${bamboo.exitCode} "

93

--action addTask  --plan "ZBAMBOOCLI6254653-checkout1"  --job "JOB1"  --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script"  --description "task description"  --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv"  --field1 "scriptLocation"  --value1 "INLINE"  --field2 "scriptBody"  --value2 "echo 'exitCode: \\${bamboo.exitCode}'; exit \\${bamboo.exitCode} "

94

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

95

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

96

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

97

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

98

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

99

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

100

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

101

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

102

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

103

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

104

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

105

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

106

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

107

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

108

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

109

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

110

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

111

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

112

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

113

--action cloneProject  --project "ZTEMPLATE"  --toProject "ZBAMBOOCLI6254653CLONE"

114

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

115

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

116

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

117

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

118

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

119

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

120

--action createProject  --project "ZPROJECTS5920228"  --name "zprojects5920228"  --description "Project description"

121

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

122

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

123

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

124

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

125

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

126

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

127

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

128

--action disablePlan  --build "ZBAMBOOCLI6254653-checkout1"

129

--action disablePlan  --build "ZBAMBOOCLI6254653-notask"

130

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

131

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

132

--action enablePlan  --build "ZBAMBOOCLI6254653-checkout1"

133

--action enablePlan  --build "ZBAMBOOCLI6254653-notask"

134

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

135

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

136

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

137

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

138

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

139

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

140

--action getAgentList

141

--action getAgentList  --outputFormat 2

142

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

143

--action getApplicationLinkList

144

--action getApplicationLinkList  --outputFormat 999

145

--action getApplicationLinkList  --type "bitbucket"

146

--action getArtifactDefinitionList  --plan "ZCREATE6401942-AA"

147

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

148

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

149

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

150

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

151

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

152

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

153

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

154

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

155

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

156

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

157

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

158

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

159

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

160

--action getBuild  --build "XXX-DEF-969"

161

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

162

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

163

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

164

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

165

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

166

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

167

--action getBuildList  --plan "ZCREATE6401942-BB"

168

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

169

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

170

--action getBuildList  --plan "ZCREATE6401942-BB"  --field1 "started"  --value1 "2018-04-02T19:46:41.946-0500"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

171

--action getBuildList  --plan "ZCREATE6401942-BB"  --field1 "STARTED"  --value1 "2018-04-02T19:49:22.003-0500"  --outputFormat 2  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

172

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

173

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

174

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

175

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

176

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

177

--action getBuildList  --plan "ZCREATE6401942-EMPTY"

178

--action getBuildList  --plan "ZCREATE6401942SCRIPT-LONGRUNNING"

179

--action getBuildQueueList

180

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

181

--action getBuildQueueList  --project "ZBAMBOOCLI6254653"

182

--action getCapabilityList

183

--action getCapabilityList  --agent "@all"

184

--action getCapabilityList  --agent "zcapabilities"

185

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

186

--action getClientInfo

187

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

188

--action getCredentialsList

189

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

190

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

191

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

192

--action getCredentialsList  --regex "zUpdated"

193

--action getDeploymentProject  --deploymentProject "Deploy ZDEPLOY5921020-BASE"

194

--action getDeploymentProjectList

195

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

196

--action getEnvironmentList  --deploymentProject "Deploy ZDEPLOY5921020-BASE"

197

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

198

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

199

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

200

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

201

--action getJobList  --plan "ZCREATE6401942SCRIPT-PLAN"

202

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

203

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

204

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

205

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

206

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

207

--action getLatestBuildNumber  --plan "ZCREATE6401942SCRIPT-LONGRUNNING"

208

--action getNotificationList  --plan "ZCREATE6401942-NOTIFICATIONS"

209

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

210

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

211

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

212

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

213

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

214

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

215

--action getPlanList  --project "ZCREATE6401942SCRIPT"

216

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

217

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

218

--action getPlan  --plan "ZBAMBOOCLI6254653-checkout1"  --verbose

219

--action getPlan  --plan "ZBAMBOOCLI6254653CLONE-checkout1"

220

--action getPlan  --project "ZBAMBOOCLI6254653CLONE"  --plan "ZBAMBOOCLI6254653CLONE-CHECKOUT1"

221

--action getProjectList

222

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

223

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

224

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

225

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

226

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

227

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

228

--action getProjectList  --project "ZPROJECTS5920228"

229

--action getProject  --project "ZPROJECTS5920228"

230

--action getRepositoryList

231

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

232

--action getRepositoryList  --plan "ZBAMBOOCLI6254653-checkout1"

233

--action getRepositoryList  --plan "ZCREATE6401942-RepositoryOrdering"

234

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

235

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

236

--action getRepository  --repository "zrepositories bitbucketCloud"

237

--action getRepository  --repository "zrepositories git"

238

--action getRepository  --repository "zrepositories hg"

239

--action getServerInfo

240

--action getServerInfo  --outputFormat 3

241

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

242

--action getStageList  --plan "ZCREATE6401942SCRIPT-PLAN"

243

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

244

--action getStageList  --project "ZCREATE6401942SCRIPT"  --plan "ZCREATE6401942SCRIPT-PLAN"

245

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

246

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

247

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

248

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

249

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

250

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

251

--action getTaskTypeList

252

--action getTriggerList  --plan "ZCREATE6401942-AA"

253

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

254

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

255

--action getUserList

256

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

257

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

258

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

259

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

260

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

261

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

262

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

263

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

264

--action pauseServer

265

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

266

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

267

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

268

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

269

--action queueBuildFromList  --list "ZCREATE6401942-BB"  --field1 "started"  --value1 "2018-04-02T19:46:41.946-0500"

270

--action queueBuild  --plan "ZCREATE6401942-BB"  --continue

271

--action queueBuild  --plan "ZCREATE6401942-BB"  --field1 "started"  --value1 "2018-04-02T19:46:41.946-0500"  --field2 "state"  --value2 "SUCCESSFUL"

272

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

273

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

274

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

275

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

276

--action queueBuild  --plan "ZDEPLOY5921020-BASE"  --wait

277

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

278

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

279

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

280

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

281

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

282

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

283

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

284

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

285

--action removeAgent  --id "84902011"

286

--action removeAgent  --id "84902011"  --continue

287

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

288

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

289

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

290

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

291

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

292

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

293

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

294

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

295

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

296

--action removeRepository  --id "83953466"

297

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

298

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

299

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

300

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

301

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

302

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

303

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

304

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

305

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

306

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

307

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

308

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

309

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

310

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

311

--action restartBuild  --plan "ZCREATE6401942SCRIPT-LONGRUNNING"  --wait

312

--action resumeServer

313

--action run

314

--action run  --continue

315

--action run  --file "-"

316

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

317

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

318

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

319

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

320

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

321

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

322

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

323

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

324

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

325

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

326

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

327

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

328

--action runFromBuildList  --plan "ZCREATE6401942-BB"  --field "endedBefore=2018-04-02 19:49:02.270"  --dateFormat "yyyy-MM-dd HH:mm:ss.SSS"  --common "-a removeBuildHistory --build @build@"

329

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

330

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

331

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

332

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

333

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

334

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

335

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

336

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

337

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

338

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

339

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

340

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

341

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

342

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

343

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

344

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

345

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

346

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

347

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

348

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

349

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

350

--action run  --verbose

351

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

352

--action setFavoritePlan  --plan "ZCREATE6401942-AA"

353

--action stopBuild  --plan "ZCREATE6401942SCRIPT-LONGRUNNING"

354

--action testRepository  --repository "zrepositories bitbucketCloud"

355

--action testRepository  --repository "zrepositories git"

356

--action testRepository  --repository "zrepositories hg"

357

--action unsetFavoritePlan  --plan "ZCREATE6401942-AA"

358

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

359

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

360

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

361

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

362

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

363

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

364

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

365

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

366

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

367

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

368

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

369

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

370

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

371

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

372

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

373

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

374

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

375

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

376

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

377

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

378

--action updateRepository  --repository "zrepositories bitbucketCloud"

379

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

380

--action updateRepository  --repository "zrepositories git"

381

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

382

--action updateRepository  --repository "zrepositories hg"

383

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

384

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

385

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

386

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

387

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

388

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

389

--action validateLicense

390

--action verifyBuild  --build "XXX-DEF-969"

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.