Gurpreet
Gurpreet

Reputation: 792

Creating a MySQL instance on Cloudbees Jenkins for running tests

we am using Jenkins hosted on Cloudbees for building our Github hosted code base. We would like to run an Integration Test pipeline for each build. For that, we need to create a MySQL DB before running the integration tests on Jenkins. Is there an easy way to create a MySQL DB as part of a Job in Jenkins, on Cloudbees?

Upvotes: 2

Views: 785

Answers (1)

Ben Walding
Ben Walding

Reputation: 4054

Please look at the CloudBees DEV@cloud MySQL guide.

It covers configuring and starting a MySQL server that runs inside the build process.

A persistent MySQL server is typically more troublesome as you would need to clear out the tables prior to each test run.

Upvotes: 1

Related Questions