You can use the compatible package managers to install packages.
For the macOS build machines for iOS builds, brew is a commonly used package manager with commands like
brew install maven
For the Linux (Debian) build machines for Android builds, apt-get can be used for 3rd party packages such as
apt-get -y install maven
With custom scripts, you can edit the Info.plist and the build.gradle files.
cd $AC_REPOSITORY_DIR/Your-Target-Folder/usr/libexec/PlistBuddy -c "Set :CFBundleIdentifier io.myapp" "./Info.plist"
cd $AC_REPOSITORY_DIR/appsed -i '' 's/old-value/new-value/g' build.gradle
For each step in the workflow, you can view the input and output variables in the step configuration.
The repository directory is an output of the Git Clone step and its patch can be accessed with the
AC_REPOSITORY_PATH environment variable by any step added after the Git Clone step. An example is as follows:
cd $AC_REPOSITORY_DIRcat README.md
You can add any file to the output directory that contain the build artifacts using the
AC_OUTPUT_DIR environment variable. An example is as follows:
cd $AC_REPOSITORY_DIR/app/build/reports/mv lint-results* $AC_OUTPUT_DIR/