Bamboo CI
This guide will help you integrate Scandium into your Bamboo CI pipeline. With a few configuration tweaks, you can trigger your automated tests from a Scandium suite directly within your build plans.
Last updated
This guide will help you integrate Scandium into your Bamboo CI pipeline. With a few configuration tweaks, you can trigger your automated tests from a Scandium suite directly within your build plans.
Last updated
By the end of this guide, your Bamboo build will:
Run Scandium test suites as part of your build plan.
Display test output in your Bamboo build logs.
Before you begin, make sure you have:
A account with:
Your API_TOKEN
A PROJECT_ID
and SUITE_ID
Bamboo CI installed and running
Administrator access to create/edit build plans
An agent that has curl
, bash
, and jq
installed
In your build plan:
Navigate to your plan configuration.
Click Actions > Configure Plan.
Go to Variables and define the following:
Variable Name
Value / Description
API_TOKEN
Your Scandium API token
PROJECT_ID
Your Scandium project ID
SUITE_ID
Your Scandium test suite ID
HUB_URL
(Optional) Selenium Grid URL
STARTING_URL
(Optional) Starting URL for the tests
BROWSER
(Optional) chrome
(default)
SCREENSHOT
(Optional) true
or false
VARIABLES
(Optional) '{}'
(as JSON string)
RETRY
(Optional) Number of retries on failure, e.g. 0
MAX_ATTEMPTS
(Optional) Max polling attempts, e.g. 30
WAIT_PERIOD
(Optional) Polling interval in seconds, e.g. 120
In your build stage:
Add a Script task named Install Dependencies
Script Body:
Add another Script task named Download Scandium Script
Script Body:
Add a Script task named Run Scandium Script
Script Body:
You can now trigger your Bamboo plan manually or via a VCS change. Watch the build logs for test output and status.
Problem
Solution
❌ Missing required variable
Make sure required plan variables are defined (API_TOKEN
, PROJECT_ID
, SUITE_ID
)
❌ Permission denied
Ensure the script has execute permission (chmod +x
)
🕒 Stuck waiting
Adjust WAIT_PERIOD
and MAX_ATTEMPTS
plan variables