--action run -i "-a getApp --app @default"
|
--action run -i "-a getServerInfo --outputFormat 2 --outputType text" -i "-a getReplacementVariableList --outputType text"
|
--action run -i "-a getUser --reference currentUserKey" -i "-a getUser --comment \"@userId@ and @userDisplayName@\""
|
--action run -i "-a removePage --space zclipages2 --title title5 --continue" -i "-a movePage --id 553714338 --newSpace zclipages2 --parent @home"
|
--action run < /opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/run.txt
|
--action run --common "--space zcliattachments --title @home" -i "-a addAttachment --name roundtrip.txt --content xxx" -i "-a getAttachment -f build/output/cliattachments/roundtrip.txt" -i "-a addAttachment --name roundtrip.txt2 --content xxx --comment mycomment" -i "-a getAttachment -f build/output/cliattachments/roundtrip.txt2" -i "-a getAttachmentList --regex \"roundtrip.txt.*\" --outputType text --columns title,filesize,comment"
|
--action run --common "--space zcliattachmentversions --title script" -i "-a removePage --continue" -i "-a addPage --parent @home --content aaa --replace" -i "-a addAttachment --name a1 --content a" -i "-a addAttachment --name b1 --content b" -i "-a removeAttachmentVersions --name @all --limit 1 --columns: title,id,created,attachmenttitle,versionnumber,selected,bydate,bylimit --outputType text --dateFormat \"yyyy-MM-dd HH:mm:ss\"" -i "-a addAttachment --name a1 --content aa" -i "-a addAttachment --name a1 --content aaa" -i "-a addAttachment --name a1 --content aaaa" -i "-a addAttachment --name b1 --content bb" -i "-a addAttachment --name b1 --content bbb" -i "-a getAttachment --name b1 -f build/output/cliattachmentversions/b1-current.txt" -i "-a removeAttachmentVersion --name b1 --version 0" -i "-a removeAttachmentVersions --name a1 --limit 3 --columns: title,id,created,attachmenttitle,versionnumber,selected,bydate,bylimit --outputType text --dateFormat \"yyyy-MM-dd HH:mm:ss\"" -i "-a removeAttachmentVersion --name a1 --version 3" -i "-a getAttachmentVersionList --name a1 --columns: title,id,created,attachmenttitle,versionnumber,selected,bydate,bylimit --outputType text --dateFormat \"yyyy-MM-dd HH:mm:ss\"" -i "-a getAttachmentVersionList --name b1 --columns: title,id,created,attachmenttitle,versionnumber,selected,bydate,bylimit --outputType text --dateFormat \"yyyy-MM-dd HH:mm:ss\"" -i "-a removeAttachmentVersions --name @all --limit 1 --columns: title,id,created,attachmenttitle,versionnumber,selected,bydate,bylimit --outputType text --dateFormat \"yyyy-MM-dd HH:mm:ss\""
|
--action run --common "--space zcliexamples" --input "-a storePage --title page1 --content 111" --input "-a storePage --title page2 --content 222" --input "-a storePage --title \"page 3\" --content 333" --input "-a storePage --title \"page 4 with 'single' and \"double\" quotes\" --content https://bitbucket.examplegear.com" --input "-a storePage --title page5 --content \"
Link: https://examplegear.atlassian.net
Link: https://examplegear.atlassian.net/wiki (confluence)
Link: https://jira.examplegear.com and https://bamboo.examplegear.com
Link: https://confluence.examplegear.com http://google.com?q=acli
\"" --options "parallel"
|
--action run --common "--space zclipages"
|
--action run --common "--space zclipagesh1 --replace"
|
--action run --common "--space zclipagesh1"
|
--action run --common "--space zclispaces" --input "-a updateSpace --options status=archived" --input "-a getSpace" --input "-a updateSpace --options status=archived" --input "-a getSpaceList --outputFormat 1 --columns key,status --regex zclispaces" --input "-a getSpaceList --outputFormat 1 --columns key,status --select status:archived" --input "-a updateSpace --options status=current" --input "-a getSpaceList --outputFormat 1 --columns key,status --regex zclispaces"
|
--action run --common "--space zclitrash" --input "-a storePage --title trash1" --input "-a storePage --title trash2" --input "-a storePage --title trash3" --input "-a addBlog --title blog1" --input "-a addBlog --title blog2" --input "-a addAttachment --title trash1 --content test --name test" --input "-a addAttachment --title trash3 --content test --name test" --input "-a removePage --title trash1" --input "-a removePage --title trash2" --input "-a run -i \"system -a sleep --value 30\"" --input "-a getBlogList -v" --input "-a runFromBlogList --common \"-a removeBlog --id #blogId#\" --special \" #\""
|
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/renderRequest.txt" --findReplace "@space@:zmisc"
|
--action run --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/run.txt"
|
--action run --file "build/output/export/exportDataSpace.txt" --findReplace "--space zexport --name \"zexport\":--space zconfluencecliExport2 --name \"zconfluencecliExport2\""
|
--action run --input "-a addSpace --space zcliaudits946309 --continue" --input "-a removeSpace --space zcliaudits946309" --input "-a getAuditLogList"
|
--action run --input "-a getPage --space ZCLI --title @home" --input "-a removeEntityProperty --space @space@ --title \"@title@\" --name \"my.entity.property\" --continue" --input "-a setEntityProperty --space @space@ --title \"@title@\" --name \"my.entity.property\" --value stringvalue --replace" --input "-a setEntityProperty --space @space@ --title \"@title@\" --name \"my.entity.property\" --value {} --replace" --input "-a setEntityProperty --space @space@ --title \"@title@\" --name \"my.entity.property\" --value \"{\"\"aaa\"\":\"\"bbb\"\"}\" --replace" --input "-a getReplacementVariableList --outputType text" --input "-a getEntityProperty --space @space@ --title \"@title@\" --name @property@" --input "-a setEntityProperty --space @space@ --title \"@title@\" --name \"my_entity_property\" --value \"[\"\"111\"\", \"\"222\"\"]\" --replace" --input "-a getEntityPropertyList --space @space@ --title \"@title@\"" --input "-a removeEntityProperty --space @space@ --title \"@title@\" --name \"@property@\"" --input "-a removeEntityProperty --space @space@ --title \"@title@\" --name \"@property@\" --continue" --input "-a getEntityPropertyList --space @space@ --title \"@title@\" --regex \".*my.entity.*\" --outputFormat 1" --input "-a runFromEntityPropertyList --space @space@ --title \"@title@\" -i \"-a getEntityProperty --id @pageId@ --name \"\"#property#\"\" \" --special \" #\"" --input "-a removePage --space @space@ --title copyProperties --continue" --input "-a copyPage --id @pageId@ --newTitle copyProperties --copyProperties" --input "-a getEntityPropertyList --id @pageId@"
|
--action run --input "-a getServerInfo --outputFormat 2" --input "-a getServerInfo --outputFormat 2 -s https://confluence.examplegear.com -u automation"
|
--action run --input "-a getUser" --input "-a getUser" --input "confluence220_developer -a getServerInfo --outputFormat 2" --input "-a getUser"
|
--action run --input "-a login" --input "-a logout"
|
--action run --input "-a runFromPageList --space zrunner --common \"-a getLabelList --id @pageId@ \"" --input "-a runFromPageList --space zrunner --common \"-a getPage --id @pageId@ \"" --verbose
|
--action run --input "-a updateWebhook --name zwebhooks2 --options secret=" --input "-a getReplacementVariableList --outputType text" --input "-a getWebhookList --regex zwebhooks2 --dateFormat yyyy-mm-dd" --input "-a getWebhookList --dateFormat yyyy-mm-dd --outputType text --columns -3,4"
|
--action run --input "upm -a getAppList"
|
--action run --login "JSESSIONID=C860DE2498244E876E3A7AEC22FEE7A5"
|
--action run --space "zclipages" --title "Home" --file "/opt/atlassian/pipelines/agent/build/src/itest/confluence/resources/runContentActions.txt" --common "--space zclipages"
|
--action run --verbose
|