Skip to end of banner
Go to start of banner

How to add SQL task and execute single file using SQL for Bamboo app

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 5 Next »

This article explains how to add SQL task and execute the single file using the app SQL for Bamboo on Server.

Instructions

  1. Log in as a Bamboo administrator.
  2. Navigate to  > Add-ons > Find new apps and search for "SQL for Bamboo". Ensure you have SQL for Bamboo app installed in your Bamboo instance.
  3. Ensure you have a project, plan configured with stage and job.(in the example using Project: Demo and Plan: Demo_plan)
  4. Click on job(in example Demo_job2)→ Add task → select SQL task
  5. Provide all the details(like description, Script location, Script, and database profile) and Save as shown:

  6. Below is the persons.sql file
  7. Click on the Run plan, for the SQL task to get executed.

  8. The output will result in the table creation on the database side.


    If Script location is File, make sure to place the .sql file in that particular project with plan and job configured, directory <BambooHome>/xml-data/builds-dir/project-plan-job>

  • No labels