documentation
  • Introduction
    • Overview
      • Scandium Features & Concepts
  • Setting up your account
  • Create a test case
  • Supported Actions
  • File uploads
  • Assertions
  • Groups
  • Step settings
  • Variables
  • System Functions
  • Email Testing
  • Data-driven Testing
  • Test Suites
  • Results
    • Test results
    • Suite results
  • Why did my test fail?
  • API Testing
    • Getting Started
    • API Suites
    • Scheduling and Monitoring
  • Mobile Application Testing
    • Create a mobile project
    • Uploading Apps
      • Android
      • iOS
    • Testing mobile app
  • Common Testing Scenarios
  • Test Management
    • Tests and Folders
    • Tags
  • INTEGRATIONS
    • Continuous Integration (CI/CD)
    • Azure Devops
    • Bamboo CI
    • Bitbucket Pipelines
    • Circle CI
    • Github Actions
  • GitLab CI
  • Jenkins
  • Travis CI
Powered by GitBook
On this page
  • What You’ll Achieve
  • Prerequisites
  • Step 1: Define Variables in Bamboo
  • Step 2: Add Script Tasks to Run Scandium
  • Step 3: Trigger a Build
  • Troubleshooting Tips
  1. INTEGRATIONS

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.

PreviousAzure DevopsNextBitbucket Pipelines

Last updated 23 days ago

What You’ll Achieve

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.


Prerequisites

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


Step 1: Define Variables in Bamboo

In your build plan:

  1. Navigate to your plan configuration.

  2. Click Actions > Configure Plan.

  3. 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


Step 2: Add Script Tasks to Run Scandium

In your build stage:

  1. Add a Script task named Install Dependencies

    • Script Body:

sudo apt-get update && sudo apt-get install -y jq
  1. Add another Script task named Download Scandium Script

    • Script Body:

SCRIPT_URL="https://raw.githubusercontent.com/GetScandium/files/refs/heads/main/scandium_script.sh"
curl -o scandium_script.sh $SCRIPT_URL
chmod +x scandium_script.sh
  1. Add a Script task named Run Scandium Script

    • Script Body:

./scandium_script.sh

Step 3: Trigger a Build

You can now trigger your Bamboo plan manually or via a VCS change. Watch the build logs for test output and status.


Troubleshooting Tips

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



Scandium