Examples - 8.8.0

Related information for 8.8.0

Examples

 

Command

1

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

2

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

3

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

4

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

5

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

6

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

7

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

8

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

9

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

10

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

11

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

12

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

13

--action addBranch  --plan "ZTEMPLATE-CHECKOUT1"  --branch "2.5.0"  --continue

14

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

15

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

16

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

17

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

18

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

19

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

20

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

21

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

22

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

23

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

24

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

25

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

26

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

27

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

28

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

29

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

30

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

31

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

32

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

33

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

34

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

35

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

36

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

37

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

38

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

39

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

40

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

41

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

42

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

43

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

44

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

45

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

46

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

47

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

48

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

49

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

50

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

51

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

52

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

53

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

54

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

55

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

56

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

57

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

58

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

59

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

60

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

61

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

62

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

63

--action addEnvironmentNotification  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --event "Deployment finished"  --recipientType "CLI"  --field "cliAction = -a getClientInfo"

64

--action addEnvironmentNotification  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --event "Deployment started and finished"  --recipientType "CLI"  --field "cliAction = -a getClientInfo"

65

--action addEnvironmentRequirement  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --requirement "system.builder.ant.Ant"

66

--action addEnvironmentRequirement  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --requirement "xxx"  --type "EQUALS"  --value "yyy"

67

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

68

--action addEnvironmentTask  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --taskKey "GROOVY"  --fields "label:Groovy,buildJdk:JDK,scriptLocation:INLINE"  --field "scriptBody = 0"

69

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

70

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

71

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

72

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

73

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

74

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

75

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

76

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

77

--action addGroup  --group "group1"

78

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

79

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

80

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

81

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

82

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

83

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

84

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

85

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

86

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

87

--action addNotification  --plan "ZCREATE6621212-NOTIFICATIONS"  --event "Job Queued Without Capable Agents"  --recipientType "CLI"  --field "cliAction = -a getClientInfo"

88

--action addRepository  --name "global (delete me)"  --repositoryKey "GIT"  --credentials "bitbucket-cloud-read-only"  --continue

89

--action addRepository  --name "global (delete me)"  --repositoryKey "GIT"  --credentials "bitbucket-cloud-read-only"  --fields "repository.git.repositoryUrl:'https://bitbucket.org/bobswift/groovy',repository.git.branch:master,repository.git.commandTimeout:2,selectedWebRepositoryViewer:'bamboo.webrepositoryviewer.provided:noRepositoryViewer'"

90

--action addRepository  --plan "ZBAMBOOCLI6378039-checkout1"  --repositoryKey "GIT"  --name "groovy"  --credentials "bitbucket-cloud-read-only"  --fields "repository.git.repositoryUrl:'https://bitbucket.org/bobswift/groovy',repository.git.branch:master,repository.git.commandTimeout:2,selectedWebRepositoryViewer:'bamboo.webrepositoryviewer.provided:noRepositoryViewer'"

91

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

92

--action addRequirement  --plan "ZCLI-REQUIREMENTS"  --job "JOB1"  --requirement "Ant"

93

--action addRequirement  --plan "ZCLI-REQUIREMENTS"  --job "JOB1"  --requirement "my-custom-requirement"  --type "equal"  --value "mine"

94

--action addRequirement  --plan "ZCLI-REQUIREMENTS"  --job "JOB1"  --requirement "system.builder.gant.Gant"

95

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

96

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

97

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

98

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

99

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

100

--action addTask  --plan "ZCLI-TASKS"  --job "JOB2"  --taskKey "ARTIFACT_DOWNLOAD"  --field "sourcePlanKey=ZCLI-TASKS"

101

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

102

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

103

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

104

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

105

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

106

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

107

--action addTask  --plan "ZEXPORT6353462-Base"  --job "JOB1"  --taskKey "ARTIFACT_DOWNLOAD"  --field "sourcePlanKey=ZEXPORT6353462-Base"  --field "artifactId_1=out.txt"

108

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

109

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

110

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

111

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

112

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

113

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

114

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

115

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

116

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

117

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

118

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

119

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

120

--action cloneEnvironment  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --name "QACLONE"  --description "clone of QA"

121

--action clonePlan  --build "ZTEMPLATE-checkout1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/clonePlancheckout1.txt"  --toPlan "ZBAMBOOCLI6378039-checkout1"  --name "Clone of checkout1"  --description "Created based on ZTEMPLATE-checkout1"

122

--action clonePlan  --build "ZTEMPLATE-notask"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/clonePlannotask.txt"  --toPlan "ZBAMBOOCLI6378039-notask"  --name "Clone of notask"  --description "Created based on ZTEMPLATE-notask"

123

--action clonePlan  --plan "ZTEMPLATE-checkout1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/clonePlanRemoveTesting.txt"  --toPlan "ZBAMBOOCLI6378039-RemoveTesting"  --name "Remove testing"

124

--action cloneProject  --project "ZTEMPLATE"  --toProject "ZBAMBOOCLI6378039CLONE"

125

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

126

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

127

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

128

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

129

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

130

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

131

--action createProject  --project "ZPROJECTS6377373"  --name "zprojects6377373"  --description "Project description"

132

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

133

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

134

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

135

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

136

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

137

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

138

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

139

--action disablePlan  --build "ZBAMBOOCLI6378039-checkout1"

140

--action disablePlan  --build "ZBAMBOOCLI6378039-notask"

141

--action disableProject  --project "ZBAMBOOCLI6378039"

142

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

143

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

144

--action enablePlan  --build "ZBAMBOOCLI6378039-checkout1"

145

--action enablePlan  --build "ZBAMBOOCLI6378039-notask"

146

--action enableProject  --project "ZBAMBOOCLI6378039"

147

--action exportDeploymentProject  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-DEPLOY/build/output/deploy/exportDeploymentProject.txt"  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --dateFormat "yyyy.MM.dd"

148

--action exportEnvironment  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --dateFormat "yyyy-MM-dd"

149

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

150

--action exportPlan  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-EXPORT/build/output/export/exportPlanCli.txt"  --plan "ZEXPORT6353462-Base"  --dateFormat "yyyy-MM-dd"

151

--action exportPlan  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-EXPORT/build/output/export/exportPlanCliUpdate.txt"  --plan "ZEXPORT6353462-Base"  --dateFormat "yyyy-MM-dd"  --options "update"

152

--action exportPlan  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-EXPORT/build/output/export/exportPlanJava.txt"  --plan "ZEXPORT6353462-Base"  --type "java"  --dateFormat "yyyy-MM-dd"

153

--action exportPlan  --plan "ZCLI-REQUIREMENTS"  --job "JOB1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-REQUIREMENTS/build/output/requirements/exportPlan.txt"

154

--action exportPlan  --plan "ZEXPORT6353462-Base"  --type "java"

155

--action exportPlan  --plan "ZEXPORT6353462-Base"  --type "yaml"

156

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

157

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

158

--action getAgentList

159

--action getAgentList  --excludeDisabled  --outputFormat 2

160

--action getAgentList  --outputFormat 2

161

--action getAgentList  --outputFormat 999

162

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

163

--action getApp  --app "@default"

164

--action getApplicationLinkList

165

--action getApplicationLinkList  --outputFormat 999

166

--action getApplicationLinkList  --type "bitbucket"

167

--action getArtifact  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/getArtifact.txt"  --build "XXX-DEF"  --artifact "license"  --job "JOB1"

168

--action getArtifact  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/getArtifactJobAll.txt"  --build "XXX-DEF"  --artifact "license"  --job "@ALL"

169

--action getArtifact  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/getArtifactWithPath.txt"  --build "XXX-DEF"  --artifact "src/test/gradle/cli.gradle"  --replace

170

--action getArtifact  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/src"  --build "XXX-DEF"  --artifact "src"  --replace  --options "mkdir"

171

--action getArtifact  --job "JOB1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/getArtifactWithResultName.txt"  --build "XXX-DEF-111"  --artifact "license"

172

--action getArtifactDefinitionList  --plan "ZCREATE6621212-AA"

173

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

174

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

175

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

176

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

177

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

178

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

179

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

180

--action getBranchingOptions  --plan "ZCLI-BRANCHING"

181

--action getBranchingOptions  --plan "ZCLI-BRANCHING"  --verbose

182

--action getBranchingOptions  --plan "ZCLI-BRANCHING2"

183

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

184

--action getBuild  --build "XXX-DEF-111"

185

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

186

--action getBuildList  --plan "ZCREATE6621212-BB"

187

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

188

--action getBuildList  --plan "ZCREATE6621212-BB"  --field1 "STARTED"  --value1 "2019-08-13T12:18:30.968-0500"  --outputFormat 2  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

189

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

190

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

191

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

192

--action getBuildList  --plan "ZCREATE6621212-BB"  --field1 "started"  --value1 "2019-08-13T12:17:01.228-0500"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

193

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

194

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

195

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

196

--action getBuildList  --plan "ZCREATE6621212-EMPTY"

197

--action getBuildList  --plan "ZLONGRUNNING-AA"

198

--action getBuildLog  --build "ZCREATE6621212-BB-JOB1"

199

--action getBuildLog  --build "ZCREATE6621212-BB-JOB1"  --findReplaceRegex ".*?\\t.*?\\t(.*):\\$1"

200

--action getBuildLog  --build "ZCREATE6621212-BB-JOB1"  --regex "command.*"

201

--action getBuildLog  --plan "ZCREATE6621212-BB"  --job "JOB1"  --limit 10

202

--action getCapabilityList

203

--action getCapabilityList  --agent "@all"

204

--action getCapabilityList  --agent "zcapabilities"

205

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

206

--action getClientInfo

207

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

208

--action getDeploymentProject  --deploymentProject "Deploy ZDEPLOY6820923-BASE"

209

--action getDeploymentProjectList

210

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

211

--action getEnvironmentList  --deploymentProject "Deploy ZDEPLOY6820923-BASE"

212

--action getEnvironmentNotificationList  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"

213

--action getEnvironmentRequirementList  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"

214

--action getEnvironmentRequirementList  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --id "129827636"

215

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

216

--action getEnvironmentTrigger  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --name "After successful deployment"

217

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

218

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

219

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

220

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

221

--action getJobList  --plan "ZCREATE6621212SCRIPT-PLAN"

222

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

223

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

224

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

225

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

226

--action getLatestBuildNumber  --plan "ZLONGRUNNING-AA"

227

--action getNotificationList  --plan "ZCREATE6621212-NOTIFICATIONS"

228

--action getPlan  --plan "ZBAMBOOCLI6378039-checkout1"  --verbose

229

--action getPlan  --plan "ZBAMBOOCLI6378039CLONE-checkout1"

230

--action getPlan  --project "ZBAMBOOCLI6378039CLONE"  --plan "ZBAMBOOCLI6378039CLONE-CHECKOUT1"

231

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

232

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

233

--action getPlanList  --project "@all"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-CREATE/build/output/create/getPlanList.txt"

234

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

235

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

236

--action getPlanList  --project "ZCREATE6621212SCRIPT"

237

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

238

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

239

--action getPlanList  --project "ZMOVE6375494"

240

--action getPlanList  --project "ZMOVE6375494XX"

241

--action getPlanList  --project "ZTEMPLATE"  --regex "ZTEMPLATE-CHECKOUT1.*"  --options "includeBranchPlans"

242

--action getProject  --project "ZPROJECTS6377373"

243

--action getProjectList

244

--action getProjectList  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/deleteProjects.txt"  --regex "ZBAMBOOCLI.*"  --columns "key"

245

--action getProjectList  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-CREATE/build/output/create/deleteProjects.txt"  --regex "ZCREATE.*"  --columns "key"

246

--action getProjectList  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-DEPLOY/build/output/deploy/deleteProjects.txt"  --regex "ZDEPLOY.*"  --columns "key"

247

--action getProjectList  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-DEVELOPER/build/output/developer/deleteProjects.txt"  --regex "ZDEVELOPER.*"  --columns "key"

248

--action getProjectList  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-EXPORT/build/output/export/deleteProjects.txt"  --regex "ZEXPORT.*"  --columns "key"

249

--action getProjectList  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-MOVE/build/output/move/deleteProjects.txt"  --regex "ZMOVE.*"  --columns "key"

250

--action getProjectList  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-PROJECTS/build/output/projects/deleteProjects.txt"  --regex "ZPROJECTS.*"  --columns "key"

251

--action getProjectList  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-REPLACE/build/output/replace/deleteProjects.txt"  --regex "ZREPLACE.*"  --columns "key"

252

--action getProjectList  --project "ZPROJECTS6377373"

253

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

254

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

255

--action getRepositoryList

256

--action getRepositoryList  --plan "ZBAMBOOCLI6378039-checkout1"

257

--action getRepositoryList  --plan "ZCREATE6621212-RepositoryOrdering"

258

--action getRequirementList  --plan "ZCLI-REQUIREMENTS"  --job "JOB1"

259

--action getServerInfo

260

--action getServerInfo  --outputFormat 3

261

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

262

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

263

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

264

--action getStageList  --plan "ZCREATE6621212SCRIPT-PLAN"

265

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

266

--action getStageList  --project "ZCREATE6621212SCRIPT"  --plan "ZCREATE6621212SCRIPT-PLAN"

267

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

268

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

269

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

270

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

271

--action getTaskTypeList

272

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

273

--action getTriggerList  --plan "ZCREATE6621212-AA"

274

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

275

--action getUserList

276

--action getUserList  --group "bamboo-admin"

277

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

278

--action getVariableList

279

--action getVariableList  --plan "ZCLI-VARIABLES"

280

--action installApp  --app "@default"  --options "simulate"

281

--action moveEnvironment  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "DEV"  --after "QA"

282

--action moveEnvironment  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QACLONE"

283

--action moveEnvironment  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QACLONE"  --after "@last"

284

--action moveEnvironment  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QACLONE"  --after "DEV"

285

--action moveEnvironment  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QACLONE"  --before "DEV"

286

--action movePlans  --plan "ZMOVE6375494-Base1"  --toProject "ZMOVE6375494XX"

287

--action movePlans  --project "ZMOVE6375494"  --regex ".*[23]"  --toProject "ZMOVE6375494XX"

288

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

289

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

290

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

291

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

292

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

293

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

294

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

295

--action pauseServer

296

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

297

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

298

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

299

--action queueBuild  --build "ZBAMBOOCLI6378039-checkout1"  --wait  --timeout 90  --field "exitCode=0"  --verbose

300

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

301

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

302

--action queueBuild  --plan "ZCREATE6621212-BB"  --continue

303

--action queueBuild  --plan "ZCREATE6621212-BB"  --field1 "started"  --value1 "2019-08-13T12:17:01.228-0500"  --field2 "state"  --value2 "SUCCESSFUL"

304

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

305

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

306

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

307

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

308

--action queueBuild  --plan "ZDEPLOY6820923-BASE"  --wait

309

--action queueBuild  --plan "ZLONGRUNNING-AA"

310

--action queueBuild  --plan "ZLONGRUNNING-AA"  --wait  --stage "@all"

311

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

312

--action queueBuildFromList  --list "ZCREATE6621212-BB"  --field1 "started"  --value1 "2019-08-13T12:17:01.228-0500"

313

--action queueBuildFromList  --project "@all"  --labels "NOT_FOUND"  --simulate

314

--action queueBuildFromList  --project "@all"  --labels "testlabel1"  --simulate

315

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

316

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

317

--action removeAgent  --id "130646076"

318

--action removeAgent  --id "130646076"  --continue

319

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

320

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

321

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

322

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

323

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

324

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

325

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

326

--action removeEnvironmentNotification  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --event "Deployment started and finished"  --recipientType "CLI"

327

--action removeEnvironmentRequirement  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --id "129827636"

328

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

329

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

330

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

331

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

332

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

333

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

334

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

335

--action removeNotification  --plan "ZCREATE6621212-NOTIFICATIONS"  --event "Job Queued Without Capable Agents"  --recipientType "CLI"

336

--action removeRepository  --id "129729380"

337

--action removeRepository  --plan "ZBAMBOOCLI6378039-checkout1"  --id "129729379"

338

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

339

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

340

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

341

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

342

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

343

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

344

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

345

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

346

--action removeUser  --userId "NOT_FOUND"

347

--action removeVariables  --plan "ZCLI-VARIABLES"  --fields "@all"

348

--action renderRequest  --build "XXX-DEF"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/renderRequestBuild.txt"

349

--action renderRequest  --build "XXX-DEF"  --job "JOB1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/renderRequestConfig.txt"  --request "/config"

350

--action renderRequest  --build "XXX-DEF"  --job "JOB1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/renderRequestJob.txt"

351

--action renderRequest  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/renderRequestConfig2.txt"  --request "/browse/XXX-DEF-JOB1/config"

352

--action renderRequest  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-CREATE/build/output/create/verifyTriggers.txt"  --request "chain/admin/config/editChainTriggers.action"  --requestParameters "buildKey=ZCREATE6621212-AA"

353

--action renderRequest  --plan "ZBAMBOOCLI6378039-checkout1"  --job "JOB1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-BAMBOOCLI/build/output/bamboocli/renderRequestBuildResultcheckout1.txt"  --request "-2/log"

354

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

355

--action restartBuild  --plan "ZLONGRUNNING-AA"  --stage "@ALL"  --wait

356

--action restartBuild  --plan "ZLONGRUNNING-AA"  --stage "THIRD"  --wait

357

--action restartBuild  --plan "ZLONGRUNNING-AA"  --wait

358

--action resumeServer

359

--action run

360

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

361

--action run  --continue

362

--action run  --file "-"

363

--action run  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-DEPLOY/build/output/deploy/exportDeploymentProject.txt"  --findReplace "--name \\"Deploy ZDEPLOY6820923-BASE\\":--name \\"Import Deploy ZDEPLOY6820923-BASE\\""

364

--action run  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-REQUIREMENTS/build/output/requirements/exportPlan.txt"

365

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

366

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

367

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

368

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

369

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

370

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

371

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

372

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

373

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

374

--action run  --input "-a addVariables --field \\"aaa=AAA\\" --replace"  --input "-a getVariableList --reference bamboo. -f \\"\\""  --input "-a getClientInfo --comment @bamboo.aaa@"

375

--action run  --input "-a createPlan  --plan ZCLI-TASKS --replace"  --input "-a addVariables --plan @plan@ --field exitCode --value 0"  --input "-a addStage  --plan @plan@ --stage FIRST"  --input "-a addJob  --plan @plan@ --stage @stage@ --job JOB1"  --input " -a runFromList --list ,BBB,CCC,DDD,EEE --list2 ,--disable --common \\"-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --description \\"@entry@\\" @entry2@ --field scriptLocation=INLINE --field scriptBody=xxx\\" "  --input "-a addTask --plan @plan@ --job @job@ --taskKey SCRIPT --description FFF --field scriptLocation=INLINE --field scriptBody=xxx --final -v"  --input "-a addJob --plan @plan@ --stage @stage@ --job JOB2"

376

--action run  --input "-a createPlan --plan ZLONGRUNNING-AA --replace"  --input "-a addStage  --plan @plan@ --stage FIRST"  --input "-a addJob  --plan @plan@ --stage @stage@ --job JOB1"  --input "-a addTask  --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \\"scriptBody=sleep 20s\\" "  --input "-a addStage  --plan @plan@ --stage SECOND --manual"  --input "-a addJob  --plan @plan@ --stage @stage@ --job JOB2"  --input "-a addTask  --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \\"scriptBody=exit 0\\" "  --input "-a addStage  --plan @plan@ --stage THIRD --manual"  --input "-a addJob  --plan @plan@ --stage @stage@ --job JOB3"  --input "-a addTask  --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \\"scriptBody=exit 0\\" "  --input "-a addStage  --plan @plan@ --stage FOURTH --manual"  --input "-a addJob  --plan @plan@ --stage @stage@ --job JOB4"  --input "-a addTask  --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \\"scriptBody=exit 0\\" "

377

--action run  --input "upm -a getAppList"

378

--action run  --verbose

379

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

380

--action runFromBuildList  --plan "ZCREATE6621212-BB"  --field "endedBefore=2019-08-13 12:18:16.687"  --dateFormat "yyyy-MM-dd HH:mm:ss.SSS"  --common "-a removeBuildHistory --build @build@"

381

--action runFromCapabilityList  --regex "system.jdk.*"  --common "-a updateCapability --capability \\"@capability@\\""

382

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

383

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

384

--action runFromEnvironmentRequirementList  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --common "-a getClientInfo --value @requirementId@"

385

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

386

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

387

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

388

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

389

--action runFromList  --list "A,B"  --clearFileBeforeAppend  --input "-a getProjectList --limit 2 --file /var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO680-RUNNER/build/output/runner/runFromListAppendAndColumn.txt --append --columns 1,2"

390

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

391

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

392

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

393

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

394

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

395

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

396

--action runFromRequirementList  --plan "ZCLI-REQUIREMENTS"  --job "JOB1"  --common "-a getClientInfo --value @requirementId@"

397

--action runFromSql  --file "src/itest/resources/run.sql"  --host "postgres.examplegear.com"  --port "50940"  --driver "postgresql"  --database "test"  --dbPassword "automation"

398

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

399

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

400

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

401

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

402

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

403

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

404

--action setFavoritePlan  --plan "ZCREATE6621212-AA"

405

--action unsetFavoritePlan  --plan "ZCREATE6621212-AA"

406

--action updateBranchingOptions  --plan "ZCLI-BRANCHING"  --field "planBranchCreation=pr"  --field "deletePlanBranchWhenBranchRemovedFromVcs=true"  --field "removedBranchCleanUpPeriodInDays=14"  --field "branches.defaultBranchIntegration.enabled=true"  --field "branches.defaultBranchIntegration.strategy=GATE_KEEPER"  --field "branches.defaultBranchIntegration.gateKeeper.pushEnabled=true"  --field "defaultNotificationStrategy=none"  --field "branchTriggering=manual"

407

--action updateBranchingOptions  --plan "ZCLI-BRANCHING2"  --field "defaultNotificationStrategy=notifyCommitters"  --field "branchTriggering=inherited"

408

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

409

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

410

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

411

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

412

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

413

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

414

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

415

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

416

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

417

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

418

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

419

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

420

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

421

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

422

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

423

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

424

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

425

--action updateEnvironmentRequirement  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --id "129827636"  --type "MATCHES"  --value "zzz"

426

--action updateEnvironmentTask  --deploymentProject "Deploy ZDEPLOY6820923-BASE"  --environment "QA"  --task "Groovy"  --fields "label:Groovy,buildJdk:JDK,scriptLocation:INLINE"  --field "scriptBody = 0  // updated"

427

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

428

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

429

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

430

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

431

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

432

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

433

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

434

--action updateVariables  --plan "ZCLI-VARIABLES"  --append  --field "Zv.a"  --findReplace "value aaa:modified value aaa"

435

--action validateLicense

436

--action verifyBuild  --build "XXX-DEF-111"  --wait

437

--action verifyBuild  --build "ZBAMBOOCLI6378039-checkout1"

438

--action verifyBuild  --plan "ZLONGRUNNING-AA"  --wait  --timeout 40

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.