Skip to end of banner
Go to start of banner

Examples - 9.0.0

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Related information for 9.0.0

Examples

 

Command

1

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

2

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

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

7

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

8

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

9

--action addAgentAssignment  --agent "zdeploy"  --assignment "Deploy ZDEPLOY7200673-BASE"  --type "DEPLOYMENT_PROJECT"  --autoAgent

10

--action addAgentAssignment  --agent "zdeploy"  --assignment "Deploy ZDEPLOY7200673-BASE:QA"  --type "ENVIRONMENT"  --autoAgent

11

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

12

--action addArtifact  --plan "ZCREATE7234186-AA"  --job "myjob"  --artifact "jar2"  --location "target"  --copyPattern "**/*.jar"  --required

13

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

14

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

15

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

16

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

17

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

18

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

19

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

20

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

21

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

22

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

23

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

24

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

25

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

26

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

27

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

28

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

29

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

30

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

31

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

32

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

33

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

34

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

35

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

36

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

37

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

38

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

39

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

40

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

41

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

42

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

43

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

44

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

45

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

46

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

47

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

48

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

49

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

50

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

51

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

52

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

53

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

54

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

55

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

56

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

57

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

58

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

59

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

60

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

61

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

62

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

63

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

64

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

65

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

66

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

67

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

68

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

69

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

70

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

71

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

72

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

73

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

74

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

75

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

76

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

77

--action addEnvironmentVariables  --deploymentProject "Deploy ZDEPLOY7200673-BASE"  --environment "QA"  --fields "Zv.a:value a,Zv.b:value b"  --field "Zv.1=value 1 7200673"  --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'"  --field "ZPLANpassword=XXX"  --replace

78

--action addGroup  --group "group1"

79

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

80

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

81

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

82

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

83

--action addJob  --plan "ZCREATE7234186-BB"  --job "JOB"  --stage "Stage 1"

84

--action addJob  --plan "ZCREATE7234186-CC"  --job "JOBDocker"  --stage "Default Stage"  --type "Docker"  --docker "myDocker"

85

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

86

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

87

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

88

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

89

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

90

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

91

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

92

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

93

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

94

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

95

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

96

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

97

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

98

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

99

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

100

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

101

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

102

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

103

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

104

--action addTask  --plan "ZCREATE7234186-AA"  --job "myjob"  --taskKey "SCRIPT"  --description "initial description before update"  --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv"  --field "scriptLocation=INLINE"  --field "scriptBody = echo 'exitCode: \\${bamboo.exitCode}'; exit \\${bamboo.exitCode} "

105

--action addTask  --plan "ZCREATE7234186-AA"  --job "myjobanother"  --taskKey "com.atlassian.bamboo.plugins.scripttask:task.builder.script"  --description "initial description before update"  --fields "argument:aaaaa,environmentVariables:eeeee=vvvvv"  --field "scriptLocation=INLINE"  --field "scriptBody = echo 'exitCode: \\${bamboo.exitCode}'; exit \\${bamboo.exitCode} "

106

--action addTask  --plan "ZCREATE7234186-BB"  --job "JOB"  --description "Fail"  --taskKey "SCRIPT"  --field "scriptLocation = INLINE"  --field "scriptBody = exit 1"  --disable

107

--action addTask  --plan "ZCREATE7234186-BB"  --job "JOB"  --description "Long"  --taskKey "SCRIPT"  --field "scriptLocation = INLINE"  --field "scriptBody = sleep 30s 
 exit 1"  --disable

108

--action addTask  --plan "ZCREATE7234186-BB"  --job "JOB"  --description "Success"  --taskKey "SCRIPT"  --field "scriptLocation = INLINE"  --field "scriptBody = exit 0"

109

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

110

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

111

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

112

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

113

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

114

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

115

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

116

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

117

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

118

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

119

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

120

--action addVariables  --fields "Zv.a:value a,Zv.b:value b"  --field "Zv.1=value 1 7189101"  --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'"  --field "ZGLOBALpassword=XXX"  --replace

121

--action addVariables  --plan "ZCLI-VARIABLES"  --fields "Zv.a:value a,Zv.b:value b"  --field "Zv.1=value 1 7189101"  --field "Zv_2=value 2 :;<>,.?/~#$%^&*()_+'"  --field "ZPLANpassword=XXX"  --replace

122

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

123

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

124

--action clonePlan  --build "ZTEMPLATE-checkout1"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/clonePlancheckout1Disable.txt"  --toPlan "ZBAMBOOCLI7142173-checkout1Disable"  --disable

125

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

126

--action clonePlan  --build "ZTEMPLATE-notask"  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO691-BAMBOOCLI/build/output/bamboocli/clonePlannotaskDisable.txt"  --toPlan "ZBAMBOOCLI7142173-notaskDisable"  --disable

127

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

128

--action cloneProject  --project "ZTEMPLATE"  --toProject "ZBAMBOOCLI7142173CLONE"

129

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

130

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

131

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

132

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

133

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

134

--action createPlan  --plan "ZCREATE7234186-CC"  --options "addDefaultJob"

135

--action createPlan  --plan "ZCREATE7234186-EMPTY"  --projectName "ZCREATE7234186 created project"  --replace  --options "clear"

136

--action createProject  --project "ZPROJECTS7171824"  --name "zprojects7171824"  --description "Project description"

137

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

138

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

139

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

140

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

141

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

142

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

143

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

144

--action disablePlan  --build "ZBAMBOOCLI7142173-checkout1"

145

--action disablePlan  --build "ZBAMBOOCLI7142173-notask"

146

--action disableProject  --project "ZBAMBOOCLI7142173"

147

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

148

--action enableJob  --plan "ZCREATE7234186-AA"  --job "MYJOB"

149

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

150

--action enablePlan  --build "ZBAMBOOCLI7142173-checkout1"

151

--action enablePlan  --build "ZBAMBOOCLI7142173-notask"

152

--action enableProject  --project "ZBAMBOOCLI7142173"

153

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

154

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

155

--action exportJob  --plan "ZEXPORT7076281-Export"  --job "JOB1"  --dateFormat "yyyy-MM-dd"

156

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

157

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

158

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

159

--action exportPlan  --plan "ZEXPORT7076281-Export"  --type "java"

160

--action getAgentAssignmentList  --agent "zdeploy"  --regex ".*ZDEPLOY7200673.*"

161

--action getAgentList

162

--action getAgentList  --excludeDisabled  --outputFormat 2

163

--action getAgentList  --outputFormat 2

164

--action getAgentList  --outputFormat 999

165

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

166

--action getApp  --app "@default"

167

--action getApplicationLinkList

168

--action getApplicationLinkList  --outputFormat 999

169

--action getApplicationLinkList  --type "bitbucket"

170

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

171

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

172

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

173

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

174

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

175

--action getArtifactDefinitionList  --plan "ZCREATE7234186-AA"

176

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

177

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

178

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

179

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

180

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

181

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

182

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

183

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

184

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

185

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

186

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

187

--action getBuild  --build "XXX-DEF-135"

188

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

189

--action getBuildList  --plan "ZCLI-BUILDLIST"  --limit 1  --outputFormat 999  --issues "NOTFOUND-123"

190

--action getBuildList  --plan "ZCLI-BUILDLIST"  --limit 1  --outputFormat 999  --labels "not_found"

191

--action getBuildList  --plan "ZCLI-BUILDLIST"  --limit 1  --outputFormat 999  --labels "not_found,testlabel1"

192

--action getBuildList  --plan "ZCLI-BUILDLIST"  --outputFormat 999  --columns "plan,duration description,labels,issues"

193

--action getBuildList  --plan "ZCREATE7234186-BB"

194

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

195

--action getBuildList  --plan "ZCREATE7234186-BB"  --field1 "STARTED"  --value1 "2019-10-02T23:38:58.314-0500"  --outputFormat 2  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

196

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

197

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

198

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

199

--action getBuildList  --plan "ZCREATE7234186-BB"  --field1 "started"  --value1 "2019-10-02T23:33:54.203-0500"  --dateFormat "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

200

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

201

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

202

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

203

--action getBuildList  --plan "ZCREATE7234186-EMPTY"

204

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

205

--action getBuildLog  --build "ZCREATE7234186-BB-JOB"

206

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

207

--action getBuildLog  --build "ZCREATE7234186-BB-JOB"  --regex "command.*"

208

--action getBuildLog  --plan "ZCREATE7234186-BB"  --job "JOB"  --limit 10

209

--action getBuildQueueList

210

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

211

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

212

--action getBuildQueueList  --project "ZBUILDQUEUE"

213

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

214

--action getCapabilityList

215

--action getCapabilityList  --agent "@all"

216

--action getCapabilityList  --agent "zcapabilities"

217

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

218

--action getClientInfo

219

--action getCommentList  --build "XXX-DEF"  --number "135"  --dateFormat "yyyy-MM-dd HH:mm:ss"

220

--action getDeploymentProject  --deploymentProject "Deploy ZDEPLOY7200673-BASE"

221

--action getDeploymentProjectList

222

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

223

--action getEnvironmentList  --deploymentProject "Deploy ZDEPLOY7200673-BASE"

224

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

225

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

226

--action getEnvironmentRequirementList  --deploymentProject "Deploy ZDEPLOY7200673-BASE"  --environment "QA"  --id "114032853"

227

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

228

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

229

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

230

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

231

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

232

--action getJob  --plan "ZCREATE7234186-CC"  --job "JOB1"

233

--action getJob  --plan "ZCREATE7234186-CC"  --job "JOBDocker"

234

--action getJobList  --plan "ZCREATE7234186-AA"  --job "@all"  --stage "My stage 1"  --columns "enabled,type"

235

--action getJobList  --plan "ZCREATE7234186-CC"

236

--action getJobList  --plan "ZCREATE7234186SCRIPT-PLAN"

237

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

238

--action getJobList  --plan "ZCREATE7234186SCRIPT-PLAN"  --regex "TEST2.*"  --columns "stage,job"  --outputType "table"

239

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

240

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

241

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

242

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

243

--action getNotificationList  --plan "ZCREATE7234186-NOTIFICATIONS"

244

--action getPlan  --plan "ZBAMBOOCLI7142173-checkout1"  --verbose

245

--action getPlan  --plan "ZBAMBOOCLI7142173-checkout1Disable"

246

--action getPlan  --plan "ZBAMBOOCLI7142173CLONE-checkout1"

247

--action getPlan  --project "ZBAMBOOCLI7142173CLONE"  --plan "ZBAMBOOCLI7142173CLONE-CHECKOUT1"

248

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

249

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

250

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

251

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

252

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

253

--action getPlanList  --project "ZCREATE7234186SCRIPT"

254

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

255

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

256

--action getPlanList  --project "ZMOVE7102990"

257

--action getPlanList  --project "ZMOVE7102990XX"

258

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

259

--action getProject  --project "ZPROJECTS7171824"

260

--action getProjectList

261

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

262

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

263

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

264

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

265

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

266

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

267

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

268

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

269

--action getProjectList  --project "ZPROJECTS7171824"

270

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

271

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

272

--action getRepositoryList

273

--action getRepositoryList  --plan "ZBAMBOOCLI7142173-checkout1"

274

--action getRepositoryList  --plan "ZCREATE7234186-RepositoryOrdering"

275

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

276

--action getServerInfo

277

--action getServerInfo  --outputFormat 3

278

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

279

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

280

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

281

--action getStageList  --plan "ZCREATE7234186SCRIPT-PLAN"

282

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

283

--action getStageList  --project "ZCREATE7234186SCRIPT"  --plan "ZCREATE7234186SCRIPT-PLAN"

284

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

285

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

286

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

287

--action getTaskList  --plan "ZCREATE7234186-BB"  --job "JOB"

288

--action getTaskTypeList

289

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

290

--action getTriggerList  --plan "ZCREATE7234186-AA"

291

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

292

--action getUserList

293

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

294

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

295

--action getVariableList

296

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

297

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

298

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

299

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

300

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

301

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

302

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

303

--action moveJob  --plan "ZCREATE7234186SCRIPT-PLAN"  --job "TEST2"  --stage "B updated"

304

--action moveJob  --plan "ZCREATE7234186SCRIPT-PLAN"  --job "TEST2"  --stage "C"  --autoStage

305

--action movePlans  --plan "ZMOVE7102990-Base1"  --toProject "ZMOVE7102990XX"

306

--action movePlans  --project "ZMOVE7102990"  --regex ".*[23]"  --toProject "ZMOVE7102990XX"

307

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

308

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

309

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

310

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

311

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

312

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

313

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

314

--action pauseServer

315

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

316

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

317

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

318

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

319

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

320

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

321

--action queueBuild  --plan "ZCREATE7234186-BB"  --continue

322

--action queueBuild  --plan "ZCREATE7234186-BB"  --field1 "started"  --value1 "2019-10-02T23:33:54.203-0500"  --field2 "state"  --value2 "SUCCESSFUL"

323

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

324

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

325

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

326

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

327

--action queueBuild  --plan "ZDEPLOY7200673-BASE"  --wait

328

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

329

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

330

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

331

--action queueBuildFromList  --list "ZCREATE7234186-BB"  --field1 "started"  --value1 "2019-10-02T23:33:54.203-0500"

332

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

333

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

334

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

335

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

336

--action removeAgent  --id "115015698"

337

--action removeAgent  --id "115015698"  --continue

338

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

339

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

340

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

341

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

342

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

343

--action removeArtifact  --plan "ZCREATE7234186-AA"  --job "MYJOB"  --artifact "remove me"

344

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

345

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

346

--action removeEnvironmentRequirement  --deploymentProject "Deploy ZDEPLOY7200673-BASE"  --environment "QA"  --id "114032853"

347

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

348

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

349

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

350

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

351

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

352

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

353

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

354

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

355

--action removeRepository  --id "114098380"

356

--action removeRepository  --plan "ZBAMBOOCLI7142173-checkout1"  --id "114098379"

357

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

358

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

359

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

360

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

361

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

362

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

363

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

364

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

365

--action removeUser  --userId "NOT_FOUND"

366

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

367

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

368

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

369

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

370

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

371

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

372

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

373

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

374

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

375

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

376

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

377

--action resumeServer

378

--action run

379

--action run        -i "-a getApp --app @default"

380

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

381

--action run  --continue

382

--action run  --file "-"

383

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

384

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

385

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

386

--action run  --file "./src/itest/bamboo/resources/exportPlanCli.txt"  --type "cli"  --findReplace "999999:70762810099"  --dateFormat "yyyy-MM-dd"

387

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

388

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

389

--action run  --file "./src/itest/bamboo/resources/replace-plan1.txt"  --findReplace "%PLAN%:ZREPLACE7175078SCRIPT-PLAN,%PLAN_NAME%:Plan created by script for replace,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 7175078,%STAGE_DESCRIPTION%:First stage,%AGENT%:zreplace1"

390

--action run  --file "./src/itest/bamboo/resources/replace-plan2.txt"  --findReplace "%PLAN%:ZREPLACE7175078SCRIPT-PLAN,%PLAN_NAME%:Plan created by script for replace,%PLAN_DESCRIPTION%:Plan description,%PROJECT_NAME%:Project created by script 7175078,%STAGE_DESCRIPTION%:First stage,%AGENT%:zreplace1"

391

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

392

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

393

--action run  --file "/var/atlassian/bamboo/xml-data/build-dir/CLI-BAMBOO691-EXPORT/build/output/export/exportPlanCli.txt"  --type "cli"  --findReplace "7076281:707628100"  --dateFormat "yyyy-MM-dd"

394

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

395

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

396

--action run  --input "-a createPlan  --plan ZBUILDARTIFACTS-AA --replace --options addDefaultJob"  --input "-a addArtifact  --plan @plan@ --job @job@ --artifact s1 --copyPattern s1.txt --shared --required"  --input "-a addArtifact  --plan @plan@ --job @job@ --artifact s2 --copyPattern s2.txt --shared --required"  --input "-a addArtifact  --plan @plan@ --job @job@ --artifact j1 --copyPattern j1.txt"  --input "-a addArtifact  --plan @plan@ --job @job@ --artifact j2 --copyPattern j2.txt"  --input "-a addTask  --plan @plan@ --job @job@ --taskKey SCRIPT --field scriptLocation=INLINE --field \\"scriptBody=echo 'x' > s1.txt 
 echo 'x' > s2.txt 
 echo 'x' > j1.txt 
 echo 'x' > j2.txt\\" "  --input "-a queueBuild  --plan @plan@ --wait --reference firstBuild"  --input "-a queueBuild  --plan @plan@ --wait"  --input "-a getArtifactList  --build @build@  --columns producer,name,shared --outputType text"  --input "-a getArtifactList  --build @plan@-JOB1  --columns producer,name,shared --outputType text"  --input "-a removeBuildArtifacts --build @build@  --job JOB1"  --input "-a getArtifactList  --build @build@  --columns producer,name,shared --outputType text"  --input "-a getArtifactList  --build @plan@-JOB1  --columns producer,name,shared --outputType text"  --input "-a removeBuildArtifacts --build @build@"  --input "-a getArtifactList  --build @build@  --columns producer,name,shared --outputType text"  --input "-a getArtifactList  --build @plan@-JOB1  --columns producer,name,shared --outputType text"  --input "-a removeBuildHistory  --build @build@"  --input "-a removeBuildHistory  --build @build@ --continue"  --input "-a removeBuildArtifacts --build @firstBuild@"  --input "-a getArtifactList  --build @firstBuild@ --columns producer,name,shared --outputType text"  --input "-a getArtifactList  --build @firstBuild@ --job JOB1  --columns producer,name,shared --outputType text"

397

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

398

--action run  --input "-a createPlan  --plan ZCREATE7234186-RepositoryOrdering --repository example --options addDefaultJob,removeTrigger"  --input "-a addRepository --plan @plan@ --name example2"  --input "-a addRepository --plan @plan@ --name cli"

399

--action run  --input "-a createPlan  --plan ZEXPORT7076281-Export --description \\"Export plan\\" --replace --options addDefaultJob"  --input "-a addRepository  --plan @plan@ --repository cli"  --input "-a addBranch  --plan @plan@ --branch 2.5.0"  --input "-a addVariables  --plan @plan@ --field v1=xxx"  --input "-a addTrigger  --plan @plan@ --type scheduled --schedule 9:35"  --input "-a addTrigger  --plan @plan@ --type polling"  --input "-a addTrigger  --plan @plan@ --type remote"  --input "-a addNotification  --plan @plan@ --event \\"All Builds Completed\\" --recipientType user --field notificationUserString=automation"  --input "-a addArtifact  --plan @plan@ --job @job@ --artifact out.txt --copyPattern out.txt --shared"  --input "-a addArtifact  --plan @plan@ --job @job@ --artifact out2.txt --copyPattern out2.txt --required"  --input "-a addTask  --plan @plan@ --job @job@ --taskKey CHECKOUT"  --input "-a addTask  --plan @plan@ --job @job@ --taskKey SCRIPT --field \\"scriptLocation = INLINE\\" --field \\"scriptBody = echo xxx > out.txt  \\n echo yyy > out2.txt\\""  --input "-a addTask  --plan @plan@ --job @job@ --taskKey CLI_BAMBOO --field scriptLocation=INLINE --field \\"scriptBody=--help\\""  --input "-a addTask  --plan @plan@ --job @job@ --taskKey ARTIFACT_DOWNLOAD --field sourcePlanKey=@plan@ --field artifactId_1=out.txt"

400

--action run  --input "-a createPlan  --plan ZJOBS-AA --replace --options addDefaultJob"  --input "-a addJob  --plan @plan@ --stage \\"@stage@\\" --job JOB2 --disable --type DOCKER --docker xxx"  --input "-a getPlan  --plan @plan@"  --input "-a getStage  --plan @plan@ --stage \\"@stage@\\""  --input "-a getJob  --plan @plan@ --job JOB2"  --input "-a getJobList  --plan @plan@ --columns \\"stage,job,job name,full key,type,docker\\" --outputFormat 999 --outputType text"

401

--action run  --input "-a createPlan --plan ZLONGRUNNING-AA --replace --options addDefaultJob"  --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\\" "

402

--action run  --input "-a createPlan --plan \\"ZCREATE7234186-add default job\\" --options addDefaultJob"  --input "-a addTask --plan @plan@ --job @job@ --taskKey CLEAN"  --input "-a updatePlan --plan @plan@ --description \\"Update with a description\\""  --input "-a getPlan --plan @plan@"

403

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

404

--action run  --verbose

405

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

406

--action runFromBuildList  --plan "ZCLI-BUILDLIST"  --limit 1  --labels "testlabel1"  --common "-a addLabels --build @build@ --labels testlabel1"

407

--action runFromBuildList  --plan "ZCREATE7234186-BB"  --field "endedBefore=2019-10-02 23:38:23.773"  --dateFormat "yyyy-MM-dd HH:mm:ss.SSS"  --common "-a removeBuildHistory --build @build@"

408

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

409

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

410

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

411

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

412

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

413

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

414

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

415

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

416

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

417

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

418

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

419

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

420

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

421

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

422

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

423

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

424

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

425

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

426

--action runFromTaskList  --plan "ZCREATE7234186SCRIPT-PLAN"  --job "JOB"  --common "-a getTask --plan @plan@ --job @job@ --task @taskId@"

427

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

428

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

429

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

430

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

431

--action setFavoritePlan  --plan "ZCREATE7234186-AA"

432

--action unsetFavoritePlan  --plan "ZCREATE7234186-AA"

433

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

434

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

435

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

436

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

437

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

438

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

439

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

440

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

441

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

442

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

443

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

444

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

445

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

446

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

447

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

448

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

449

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

450

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

451

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

452

--action updateEnvironmentRequirement  --deploymentProject "Deploy ZDEPLOY7200673-BASE"  --environment "QA"  --id "114032853"  --type "MATCHES"  --value "zzz"

453

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

454

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

455

--action updatePlan  --plan "ZCREATE7234186-AA"  --description "Updated"

456

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

457

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

458

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

459

--action updateTask  --plan "ZCREATE7234186-BB"  --job "JOB"  --description "Fail"  --taskKey "SCRIPT"  --field "scriptLocation = INLINE"  --field "scriptBody = exit 1"  --id "3"

460

--action updateTask  --plan "ZCREATE7234186-BB"  --job "JOB"  --description "Long"  --taskKey "SCRIPT"  --field "scriptLocation = INLINE"  --field "scriptBody = sleep 30s 
 exit 1"  --id "2"

461

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

462

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

463

--action validateLicense

464

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

465

--action verifyBuild  --build "ZBAMBOOCLI7142173-checkout1"

466

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

  • No labels