Examples - 7.1.0

Related information for 7.1.0

Examples

 

Command

1

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

2

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

3

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

4

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

5

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

6

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

7

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

8

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

9

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

10

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

11

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

12

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

13

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

14

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

15

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

16

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

17

--action addCredentials  --credentials "zrepositories credentials for bitbucketCloud 1"  --userId "bob_swift_automation"  --userPassword "bcT4UQbx2vUxR5LBSCd3yPcA"  --replace

18

--action addCredentials  --credentials "zrepositories credentials for bitbucketCloud 2"  --userId "bob_swift_automation"  --userPassword "bcT4UQbx2vUxR5LBSCd3yPcA"  --replace

19

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

20

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

21

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

22

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

23

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

24

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

25

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

26

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

27

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

28

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

29

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

30

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

31

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

32

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

33

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

34

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

35

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

36

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

37

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

38

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

39

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

40

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

41

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

42

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

43

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

44

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

45

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

46

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

47

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

48

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

49

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

50

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

51

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

52

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

53

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

54

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

55

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

56

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

57

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

58

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

59

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

60

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

61

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

62

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

63

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

64

--action addTrigger  --plan "ZCREATE9839474-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 9699770"  --field2 "Zv_2"  --value2 "value 2 :;<>,.?/~#$%^&*()_+'"  --field3 "ZGLOBALpassword"  --value3 "XXX"  --replace

66

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

67

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

68

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

69

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

70

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

71

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

72

--action cloneProject  --project "ZTEMPLATE"  --toProject "ZBAMBOOCLI9699770CLONE"

73

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

74

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

75

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

76

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

77

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

78

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

79

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

80

--action createProject  --project "ZPROJECTS9439077"  --name "zprojects9439077"  --description "Project description"

81

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

82

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

83

--action deletePlan  --build "ZBAMBOOCLI9699770-notask"  --verbose

84

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

85

--action deployEnvironment  --deploymentProject "Deploy ZDEPLOY9439228-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 "ZCREATE9839474-AA"  --job "myjob"

89

--action disablePlan  --build "ZBAMBOOCLI9699770-checkout1"

90

--action disablePlan  --build "ZBAMBOOCLI9699770-notask"

91

--action disableProject  --project "ZBAMBOOCLI9699770"

92

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

93

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

94

--action enablePlan  --build "ZBAMBOOCLI9699770-checkout1"

95

--action enablePlan  --build "ZBAMBOOCLI9699770-notask"

96

--action enableProject  --project "ZBAMBOOCLI9699770"

97

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

98

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

99

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

100

--action exportPlan  --file "target/output/export/exportPlanJava.txt"  --plan "ZEXPORT9437865-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 ".*ZDEPLOY9439228.*"

103

--action getAgentList

104

--action getAgentList  --outputFormat 2

105

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

106

--action getArtifactDefinitionList  --plan "ZCREATE9839474-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-984"  --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-984"

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

127

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

128

--action getBuildList  --plan "ZCREATE9839474-BB"  --field1 "started"  --value1 "2017-10-03T14:43:59.478-0500"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

129

--action getBuildList  --plan "ZCREATE9839474-BB"  --field1 "STARTED"  --value1 "2017-10-03T14:45:13.341-0500"  --outputFormat 2  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

130

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

131

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

132

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

133

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

134

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

135

--action getBuildList  --plan "ZCREATE9839474-EMPTY"

136

--action getBuildList  --plan "ZCREATE9839474SCRIPT-LONGRUNNING"

137

--action getBuildQueueList

138

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

139

--action getBuildQueueList  --project "ZBAMBOOCLI9699770"

140

--action getClientInfo

141

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

142

--action getCredentialsList

143

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

144

--action getCredentialsList  --regex "zUpdated"

145

--action getDeploymentProject  --deploymentProject "Deploy ZDEPLOY9439228-BASE"

146

--action getDeploymentProjectList

147

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

148

--action getEnvironmentList  --deploymentProject "Deploy ZDEPLOY9439228-BASE"

149

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

150

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

151

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

152

--action getJobList  --plan "ZCREATE9839474SCRIPT-PLAN"

153

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

154

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

155

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

156

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

157

--action getLatestBuildNumber  --plan "ZCREATE9839474SCRIPT-LONGRUNNING"

158

--action getNotificationList  --plan "ZCREATE9839474-NOTIFICATIONS"

159

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

160

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

161

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

162

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

163

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

164

--action getPlanList  --project "ZCREATE9839474SCRIPT"

165

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

166

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

167

--action getPlan  --plan "ZBAMBOOCLI9699770-checkout1Disable"

168

--action getPlan  --plan "ZBAMBOOCLI9699770-checkout1"  --verbose

169

--action getPlan  --plan "ZBAMBOOCLI9699770CLONE-checkout1"

170

--action getPlan  --project "ZBAMBOOCLI9699770CLONE"  --plan "ZBAMBOOCLI9699770CLONE-CHECKOUT1"

171

--action getProjectList

172

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

173

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

174

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

175

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

176

--action getProjectList  --file "target/output/export/deleteProjects.txt"  --regex "ZEXPORT.*"  --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 "ZPROJECTS9439077"

181

--action getProject  --project "ZPROJECTS9439077"

182

--action getRepositoryList

183

--action getRepositoryList  --plan "ZBAMBOOCLI9699770-checkout1"

184

--action getRepositoryList  --plan "ZCREATE9839474-RepositoryOrdering"

185

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

186

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

187

--action getRepository  --repository "zrepositories bitbucketCloud"

188

--action getServerInfo

189

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

190

--action getStageList  --plan "ZCREATE9839474SCRIPT-PLAN"

191

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

192

--action getStageList  --project "ZCREATE9839474SCRIPT"  --plan "ZCREATE9839474SCRIPT-PLAN"

193

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

194

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

195

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

196

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

197

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

198

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

199

--action getTaskTypeList

200

--action getTriggerList  --plan "ZCREATE9839474-AA"

201

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

202

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

203

--action getVariableList

204

--action getVariableList  --plan "ZBAMBOOCLI9699770-RemoveTesting"

205

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

206

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

207

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

208

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

209

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

210

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

211

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

212

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

213

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

214

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

215

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

216

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

217

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

218

--action queueBuildFromList  --list "ZCREATE9839474-BB"  --field1 "started"  --value1 "2017-10-03T14:43:59.478-0500"

219

--action queueBuild  --plan "ZCREATE9839474-BB"  --continue

220

--action queueBuild  --plan "ZCREATE9839474-BB"  --field1 "started"  --value1 "2017-10-03T14:43:59.478-0500"  --field2 "state"  --value2 "SUCCESSFUL"

221

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

222

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

223

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

224

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

225

--action queueBuild  --plan "ZDEPLOY9439228-BASE"  --wait

226

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

227

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

228

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

229

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

230

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

231

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

232

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

233

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

234

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

235

--action removeAgent  --id "83492954"

236

--action removeAgent  --id "83492954"  --continue

237

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

238

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

239

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

240

--action removeCredentials  --credentials "@all"

241

--action removeCredentials  --credentials "zForUpdate"  --continue

242

--action removeCredentials  --credentials "zssh"  --continue

243

--action removeCredentials  --credentials "zUpdated"

244

--action removeCredentials  --credentials "zuser"  --continue

245

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

246

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

247

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

248

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

249

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

250

--action removeRepository  --id "82249041"

251

--action removeRepository  --plan "ZBAMBOOCLI9699770-checkout1"  --id "82249040"

252

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

253

--action removeRepository  --repository "zrepositories bitbucketCloud"

254

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

255

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

256

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

257

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

258

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

259

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

260

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

261

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

262

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

263

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

264

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

265

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

266

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

267

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

268

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

269

--action restartBuild  --plan "ZCREATE9839474SCRIPT-LONGRUNNING"  --wait

270

--action run

271

--action run  --continue

272

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

273

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

274

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

275

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

276

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

277

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

278

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

279

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

280

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

281

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

282

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

283

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

284

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

285

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

286

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

287

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

288

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

289

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

290

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

291

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

292

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

293

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

294

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

295

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

296

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

297

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

298

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

299

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

300

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

301

--action run  --verbose

302

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

303

--action setFavoritePlan  --plan "ZCREATE9839474-AA"

304

--action stopBuild  --plan "ZCREATE9839474SCRIPT-LONGRUNNING"

305

--action testRepository  --repository "zrepositories bitbucketCloud"

306

--action unsetFavoritePlan  --plan "ZCREATE9839474-AA"

307

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

308

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

309

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

310

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

311

--action updateRepository  --name "zrepositories bitbucketCloud"

312

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

313

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

314

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

315

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

316

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

317

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

318

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

319

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

320

--action validateLicense

321

--action verifyBuild  --build "XXX-DEF-984"

322

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