Skip to end of banner
Go to start of banner

Examples

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

« Previous Version 102 Next »

Action usage examples

Examples give users ideas on actual usage. We use automation to generate, test, and run these actions, so names and combinations may be odd or repetitive (wink). In many cases, other actions or environmental setup is required for the action to run, so you will need to adjust the action parameters and setup appropriate for your environment. 

Command line environments can be different, especially between Windows and non-Windows systems. Our Tips page talks about command line escaping differences and there are differences with respect to environment variable references ($ for non-Windows and %...% for Windows). These differences can impact examples, so recognize and adjust for your platform. In particular, all examples here are run with the standard bash shell on Linux.



addLicense

--action addLicense --app "org.swift.confluence.cache" --file "-"
--action addLicense --app "org.swift.confluence.cache" --file "build/output/upmcli"

addLicenses

--action addLicenses --file "build/output/upmcli/licenses"

getApp

--action getApp --app "com.atlassian.upm.atlassian-universal-plugin-manager-plugin"
--action getApp --app "org.swift.confluence.cache" --dateFormat "yyyy.MM.dd"

getAppList

--action getAppList --includeSystem --includeDisabled
--action getAppList --regex ".*Cache.*" --outputFormat 2 --dateFormat "yyyy.MM.dd"

getClientInfo

--action getClientInfo

installApp

--action installApp --file "/opt/atlassian/pipelines/agent/build/src/itest/upm/resources/bobswift-wiki-markup-1.4.0.jar" --wait

removeLicense

--action removeLicense --app "org.swift.confluence.cache"

runFromAppList

--action runFromAppList --limit 1 --common "-a getApp --app @app@"
  • No labels