Examples - 7.3.0

Related information for 7.3.0

Examples

 

Command

1

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

2

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

3

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

4

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

5

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

6

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

7

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

8

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

9

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

10

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

11

--action addArtifact  --plan "ZCREATE9491277-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 "997"  --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 ZDEPLOY9116870-BASE"  --name "DEV"

21

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

22

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

23

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

24

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

27

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

28

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

29

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

30

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

31

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

32

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

33

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

34

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

35

--action addJob  --plan "ZCREATE9491277-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.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'"

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 "ZBAMBOOCLI9290077-checkout1"  --repositoryKey "GIT"  --name "groovy"  --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'"

44

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

45

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

46

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

47

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

48

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

49

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

50

--action addTask  --plan "ZBAMBOOCLI9290077-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 "ZBAMBOOCLI9290077-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 "ZCREATE9491277-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 "ZCREATE9491277-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 "ZCREATE9491277-BB"  --job "JOB1"  --description "Fail"  --taskKey "SCRIPT"  --field1 "scriptLocation"  --value1 "INLINE"  --field2 "scriptBody"  --value2 "exit -1"  --disable

55

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

56

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

57

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

58

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

59

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

60

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

61

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

62

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

63

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

64

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

65

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

66

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

67

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

68

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

69

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

70

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

71

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

72

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

73

--action cloneProject  --project "ZTEMPLATE"  --toProject "ZBAMBOOCLI9290077CLONE"

74

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

75

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

76

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

77

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

78

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

79

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

80

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

81

--action createProject  --project "ZPROJECTS9116475"  --name "zprojects9116475"  --description "Project description"

82

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

83

--action deletePlan  --build "ZBAMBOOCLI9290077-notask"  --verbose

84

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

85

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

86

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

87

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

88

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

89

--action disablePlan  --build "ZBAMBOOCLI9290077-checkout1"

90

--action disablePlan  --build "ZBAMBOOCLI9290077-notask"

91

--action disableProject  --project "ZBAMBOOCLI9290077"

92

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

93

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

94

--action enablePlan  --build "ZBAMBOOCLI9290077-checkout1"

95

--action enablePlan  --build "ZBAMBOOCLI9290077-notask"

96

--action enableProject  --project "ZBAMBOOCLI9290077"

97

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

98

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

99

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

100

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

101

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

102

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

103

--action getAgentList

104

--action getAgentList  --outputFormat 2

105

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

106

--action getArtifactDefinitionList  --plan "ZCREATE9491277-AA"

107

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

108

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

109

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

110

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

111

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

112

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

113

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

114

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

115

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

116

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

117

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

118

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

119

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

120

--action getBuild  --build "XXX-DEF-997"

121

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

122

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

123

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

124

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

125

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

126

--action getBuildList  --plan "ZCREATE9491277-BB"

127

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

128

--action getBuildList  --plan "ZCREATE9491277-BB"  --field1 "started"  --value1 "2017-11-28T19:38:11.282-0600"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

129

--action getBuildList  --plan "ZCREATE9491277-BB"  --field1 "STARTED"  --value1 "2017-11-28T19:40:47.057-0600"  --outputFormat 2  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

130

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

131

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

132

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

133

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

134

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

135

--action getBuildList  --plan "ZCREATE9491277-EMPTY"

136

--action getBuildList  --plan "ZCREATE9491277SCRIPT-LONGRUNNING"

137

--action getBuildQueueList

138

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

139

--action getBuildQueueList  --project "ZBAMBOOCLI9290077"

140

--action getClientInfo

141

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

142

--action getCredentialsList

143

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

144

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

145

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

146

--action getCredentialsList  --regex "zUpdated"

147

--action getDeploymentProject  --deploymentProject "Deploy ZDEPLOY9116870-BASE"

148

--action getDeploymentProjectList

149

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

150

--action getEnvironmentList  --deploymentProject "Deploy ZDEPLOY9116870-BASE"

151

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

152

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

153

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

154

--action getJobList  --plan "ZCREATE9491277SCRIPT-PLAN"

155

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

156

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

157

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

158

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

159

--action getLatestBuildNumber  --plan "ZCREATE9491277SCRIPT-LONGRUNNING"

160

--action getNotificationList  --plan "ZCREATE9491277-NOTIFICATIONS"

161

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

162

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

163

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

164

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

165

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

166

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

167

--action getPlanList  --project "ZCREATE9491277SCRIPT"

168

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

169

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

170

--action getPlan  --plan "ZBAMBOOCLI9290077-checkout1Disable"

171

--action getPlan  --plan "ZBAMBOOCLI9290077-checkout1"  --verbose

172

--action getPlan  --plan "ZBAMBOOCLI9290077CLONE-checkout1"

173

--action getPlan  --project "ZBAMBOOCLI9290077CLONE"  --plan "ZBAMBOOCLI9290077CLONE-CHECKOUT1"

174

--action getProjectList

175

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

176

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

177

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

178

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

179

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

180

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

181

--action getProjectList  --project "ZPROJECTS9116475"

182

--action getProject  --project "ZPROJECTS9116475"

183

--action getRepositoryList

184

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

185

--action getRepositoryList  --plan "ZBAMBOOCLI9290077-checkout1"

186

--action getRepositoryList  --plan "ZCREATE9491277-RepositoryOrdering"

187

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

188

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

189

--action getRepository  --repository "zrepositories bitbucketCloud"

190

--action getRepository  --repository "zrepositories git"

191

--action getRepository  --repository "zrepositories hg"

192

--action getServerInfo

193

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

194

--action getStageList  --plan "ZCREATE9491277SCRIPT-PLAN"

195

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

196

--action getStageList  --project "ZCREATE9491277SCRIPT"  --plan "ZCREATE9491277SCRIPT-PLAN"

197

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

198

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

199

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

200

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

201

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

202

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

203

--action getTaskTypeList

204

--action getTriggerList  --plan "ZCREATE9491277-AA"

205

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

206

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

207

--action getVariableList

208

--action getVariableList  --plan "ZBAMBOOCLI9290077-RemoveTesting"

209

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

210

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

211

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

212

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

213

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

214

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

215

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

216

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

217

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

218

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

219

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

220

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

221

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

222

--action queueBuildFromList  --list "ZCREATE9491277-BB"  --field1 "started"  --value1 "2017-11-28T19:38:11.282-0600"

223

--action queueBuild  --plan "ZCREATE9491277-BB"  --continue

224

--action queueBuild  --plan "ZCREATE9491277-BB"  --field1 "started"  --value1 "2017-11-28T19:38:11.282-0600"  --field2 "state"  --value2 "SUCCESSFUL"

225

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

226

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

227

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

228

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

229

--action queueBuild  --plan "ZDEPLOY9116870-BASE"  --wait

230

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

231

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

232

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

233

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

234

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

235

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

236

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

237

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

238

--action removeAgent  --id "87556163"

239

--action removeAgent  --id "87556163"  --continue

240

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

241

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

242

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

243

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

244

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

245

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

246

--action removeRepository  --id "86606367"

247

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

248

--action removeRepository  --plan "ZBAMBOOCLI9290077-checkout1"  --id "86606366"

249

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

250

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

251

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

252

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

253

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

254

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

255

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

256

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

257

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

258

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

259

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

260

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

261

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

262

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

263

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

264

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

265

--action restartBuild  --plan "ZCREATE9491277SCRIPT-LONGRUNNING"  --wait

266

--action run

267

--action run  --continue

268

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

269

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

270

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

271

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

272

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

273

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

274

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

275

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

276

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

277

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

278

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

279

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

280

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

281

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

282

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

283

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

284

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

285

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

286

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

287

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

288

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

289

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

290

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

291

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

292

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

293

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

294

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

295

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

296

--action run  --verbose

297

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

298

--action setFavoritePlan  --plan "ZCREATE9491277-AA"

299

--action stopBuild  --plan "ZCREATE9491277SCRIPT-LONGRUNNING"

300

--action testRepository  --repository "zrepositories bitbucketCloud"

301

--action testRepository  --repository "zrepositories git"

302

--action testRepository  --repository "zrepositories hg"

303

--action unsetFavoritePlan  --plan "ZCREATE9491277-AA"

304

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

305

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

306

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

307

--action updateRepository  --repository "zrepositories bitbucketCloud"

308

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

309

--action updateRepository  --repository "zrepositories git"

310

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

311

--action updateRepository  --repository "zrepositories hg"

312

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

313

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

314

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

315

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

316

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

317

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

318

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

319

--action validateLicense

320

--action verifyBuild  --build "XXX-DEF-997"

321

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