Examples - 8.4.0

Related information for 8.4.0

Examples

 

Command

1

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

2

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

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

7

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

8

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

9

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

10

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

11

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

12

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

60

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

61

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

62

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

63

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

64

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

65

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

66

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

67

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

68

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

69

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

72

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

73

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

74

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

75

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

76

--action addEnvironmentVariables  --deploymentProject "Deploy ZDEPLOY2987514-BASE"  --environment "QA"  --fields "Zv.a:value a,Zv.b:value b"  --field1 "Zv.1"  --value1 "value 1 2987514"  --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 "ZCREATE2793683-AA"  --description "My job 1 description"  --stage "My stage 1"  --job "my job another"

80

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

81

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

82

--action addJob  --plan "ZCREATE2793683-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 "ZCREATE2793683-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 "ZBAMBOOCLI2629281-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 "ZCREATE2793683-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 "ZCREATE2793683-AA"  --name "My stage 2"  --description "My stage description"

96

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

97

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

98

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

105

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

106

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

107

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

108

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

109

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

110

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

111

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

112

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

113

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

114

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

115

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

116

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

117

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

118

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

120

--action cloneEnvironment  --deploymentProject "Deploy ZDEPLOY2987514-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 "ZBAMBOOCLI2629281-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 "ZBAMBOOCLI2629281-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 "ZBAMBOOCLI2629281-RemoveTesting"  --name "Remove testing"

124

--action cloneProject  --project "ZTEMPLATE"  --toProject "ZBAMBOOCLI2629281CLONE"

125

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

126

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

127

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

128

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

129

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

130

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

131

--action createProject  --project "ZPROJECTS2626817"  --name "zprojects2626817"  --description "Project description"

132

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

133

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

134

--action deployEnvironment  --deploymentProject "Deploy ZDEPLOY2987514-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 "ZCREATE2793683-AA"  --job "@all"  --stage "My stage 1"

138

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

139

--action disablePlan  --build "ZBAMBOOCLI2629281-checkout1"

140

--action disablePlan  --build "ZBAMBOOCLI2629281-notask"

141

--action disableProject  --project "ZBAMBOOCLI2629281"

142

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

143

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

144

--action enablePlan  --build "ZBAMBOOCLI2629281-checkout1"

145

--action enablePlan  --build "ZBAMBOOCLI2629281-notask"

146

--action enableProject  --project "ZBAMBOOCLI2629281"

147

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

148

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

149

--action exportJob  --plan "ZEXPORT2581040-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 "ZEXPORT2581040-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 "ZEXPORT2581040-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 "ZEXPORT2581040-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 "ZEXPORT2581040-Base"  --type "java"

155

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

156

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

157

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

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-41"  --artifact "license"

172

--action getArtifactDefinitionList  --plan "ZCREATE2793683-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-41"

185

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

186

--action getBuildList  --plan "ZCREATE2793683-BB"

187

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

188

--action getBuildList  --plan "ZCREATE2793683-BB"  --field1 "STARTED"  --value1 "2019-04-03T20:54:47.722-0500"  --outputFormat 2  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

189

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

190

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

191

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

192

--action getBuildList  --plan "ZCREATE2793683-BB"  --field1 "started"  --value1 "2019-04-03T20:53:13.698-0500"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

193

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

194

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

195

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

196

--action getBuildList  --plan "ZCREATE2793683-EMPTY"

197

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

198

--action getBuildQueueList

199

--action getBuildQueueList  --plan "ZBUILDQUEUE-QUEUED"

200

--action getBuildQueueList  --plan "ZBUILDQUEUE-QUEUED-JOB1"

201

--action getBuildQueueList  --project "ZBUILDQUEUE"

202

--action getBuildQueueList  --regex "ZBUILDQUEUE.*"

203

--action getCapabilityList

204

--action getCapabilityList  --agent "@all"

205

--action getCapabilityList  --agent "zcapabilities"

206

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

207

--action getClientInfo

208

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

209

--action getDeploymentProject  --deploymentProject "Deploy ZDEPLOY2987514-BASE"

210

--action getDeploymentProjectList

211

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

212

--action getEnvironmentList  --deploymentProject "Deploy ZDEPLOY2987514-BASE"

213

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

214

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

215

--action getEnvironmentRequirementList  --deploymentProject "Deploy ZDEPLOY2987514-BASE"  --environment "QA"  --id "114524271"

216

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

217

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

218

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

219

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

220

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

221

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

222

--action getJobList  --plan "ZCREATE2793683SCRIPT-PLAN"

223

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

224

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

225

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

226

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

227

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

228

--action getNotificationList  --plan "ZCREATE2793683-NOTIFICATIONS"

229

--action getPlan  --plan "ZBAMBOOCLI2629281-checkout1"  --verbose

230

--action getPlan  --plan "ZBAMBOOCLI2629281CLONE-checkout1"

231

--action getPlan  --project "ZBAMBOOCLI2629281CLONE"  --plan "ZBAMBOOCLI2629281CLONE-CHECKOUT1"

232

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

233

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

234

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

235

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

236

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

237

--action getPlanList  --project "ZCREATE2793683SCRIPT"

238

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

239

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

240

--action getPlanList  --project "ZMOVE2605532"

241

--action getPlanList  --project "ZMOVE2605532XX"

242

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

243

--action getProject  --project "ZPROJECTS2626817"

244

--action getProjectList

245

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

246

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

247

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

248

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

249

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

250

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

251

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

252

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

253

--action getProjectList  --project "ZPROJECTS2626817"

254

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

255

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

256

--action getRepositoryList

257

--action getRepositoryList  --plan "ZBAMBOOCLI2629281-checkout1"

258

--action getRepositoryList  --plan "ZCREATE2793683-RepositoryOrdering"

259

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

260

--action getServerInfo

261

--action getServerInfo  --outputFormat 3

262

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

263

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

264

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

265

--action getStageList  --plan "ZCREATE2793683SCRIPT-PLAN"

266

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

267

--action getStageList  --project "ZCREATE2793683SCRIPT"  --plan "ZCREATE2793683SCRIPT-PLAN"

268

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

269

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

270

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

271

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

272

--action getTaskTypeList

273

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

274

--action getTriggerList  --plan "ZCREATE2793683-AA"

275

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

276

--action getUserList

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 ZDEPLOY2987514-BASE"  --environment "DEV"  --after "QA"

282

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

283

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

284

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

285

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

286

--action movePlans  --plan "ZMOVE2605532-Base1"  --toProject "ZMOVE2605532XX"

287

--action movePlans  --project "ZMOVE2605532"  --regex ".*[23]"  --toProject "ZMOVE2605532XX"

288

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

289

--action moveStage  --plan "ZCREATE2793683SCRIPT-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 "ZCREATE2793683-RepositoryOrdering"  --repository "example2"

294

--action orderRepository  --plan "ZCREATE2793683-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 "ZBAMBOOCLI2629281-checkout1"  --wait  --continue

299

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

300

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

301

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

302

--action queueBuild  --plan "ZCREATE2793683-BB"  --continue

303

--action queueBuild  --plan "ZCREATE2793683-BB"  --field1 "started"  --value1 "2019-04-03T20:53:13.698-0500"  --field2 "state"  --value2 "SUCCESSFUL"

304

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

305

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

306

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

307

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

308

--action queueBuild  --plan "ZDEPLOY2987514-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 "ZCREATE2793683-BB"  --field1 "started"  --value1 "2019-04-03T20:53:13.698-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 "115146760"

318

--action removeAgent  --id "115146760"  --continue

319

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

320

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

321

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

322

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

323

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

324

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

325

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

326

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

327

--action removeEnvironmentRequirement  --deploymentProject "Deploy ZDEPLOY2987514-BASE"  --environment "QA"  --id "114524271"

328

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

329

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

330

--action removeJob  --plan "ZCREATE2793683-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 "ZCREATE2793683-NOTIFICATIONS"  --event "Job Queued Without Capable Agents"  --recipientType "CLI"

336

--action removeRepository  --id "114229347"

337

--action removeRepository  --plan "ZBAMBOOCLI2629281-checkout1"  --id "114229346"

338

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

339

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

340

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

341

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

342

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

343

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

344

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

345

--action removeTrigger  --plan "ZCREATE2793683-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=ZCREATE2793683-AA"

353

--action renderRequest  --plan "ZBAMBOOCLI2629281-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 ZDEPLOY2987514-BASE\\":--name \\"Import Deploy ZDEPLOY2987514-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%:ZCREATE2793683,%plan%:STANDARDTASKSFROMLIST"

366

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

367

--action run  --file "src/itest/resources/developer.txt"  --findReplace "%PLAN%:ZDEVELOPER2994793SCRIPT-PLAN,%PLAN_NAME%:Plan created by script by developer,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 2994793,%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%:ZREPLACE2988445SCRIPT-PLAN,%PLAN_NAME%:Plan created by script for replace,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 2988445,%STAGE_DESCRIPTION%:First stage,%AGENT%:Z Added 1"

372

--action run  --file "src/itest/resources/replace-plan2.txt"  --findReplace "%PLAN%:ZREPLACE2988445SCRIPT-PLAN,%PLAN_NAME%:Plan created by script for replace,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 2988445,%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 "ZCREATE2793683-BB"  --field "endedBefore=2019-04-03 20:54:33.927"  --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 ZDEPLOY2987514-BASE"  --common "-a getEnvironment --deploymentProject ~Deploy ZDEPLOY2987514-BASE~ --environment @environmentId@"  --special "    ~"

384

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

385

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

386

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

387

--action runFromJobList  --plan "ZCREATE2793683SCRIPT-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 "ZCREATE2793683SCRIPT-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 "ZCREATE2793683SCRIPT"  --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"  --port "5432"  --driver "postgresql"  --database "test"  --dbPassword "automation"

398

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

399

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

400

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

401

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

402

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

403

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

404

--action setFavoritePlan  --plan "ZCREATE2793683-AA"

405

--action unsetFavoritePlan  --plan "ZCREATE2793683-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 ZDEPLOY2987514-BASE"  --environment "QA"  --id "114524271"  --type "MATCHES"  --value "zzz"

426

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

427

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

428

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

429

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

430

--action updateTask  --plan "ZBAMBOOCLI2629281-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 "ZCREATE2793683-BB"  --job "JOB1"  --description "Fail"  --taskKey "SCRIPT"  --field1 "scriptLocation"  --value1 "INLINE"  --field2 "scriptBody"  --value2 "exit 1"  --id "3"

432

--action updateTask  --plan "ZCREATE2793683-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-41"  --wait

437

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