How to install apps from builds

How to install apps from builds

Description

This describes the techniques we use to install Jira, Confluence, Bitbucket, or Bamboo add-ons into server instances via UPM via the UPM Command Line Interface (CLI). More over, we have standardized creating builds that employ this technique. See Plan Creation Scripting for details on this.

We use a Maven build process and the following shows the details of this. Obviously, you can use the UPM CLI directly on the command line or in any other processing, just the details may be a bit different .

Standard install app template

Example

create-plan-script.txt
-a createPlan --plan "..." --replace \ ... -a addVariables --plan @plan@ --field1 server --value1 "https://..." ... -a addStage --plan @plan@ --stage "FIRST" -a addJob --plan @plan@ --stage "@stage@" --job JOB1 ... # Maven build -a run --file standard-task-maven3.txt \ --findReplace "%goal%:clean package" # Install -a run --file standard-task-install.txt \ --findReplace %server%:${bamboo.server} ...