Skip to content

codevise/jenkins-mysql-job-databases-plugin

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Jenkins MySQL Job Databases Plugin

DEPRECATED: This plugin is no longer actively maintained. Consider using jbox-web/job-database-manager-mysql instead.

Automatically set up test databases for Jenkins jobs.

Usage

In the global Jenkins configuration, set up host and port of your MySQL server and enter credentials of the MySQL user that shall be used to create databases and grant permissions. Note that this user needs the GRANT OPTION which is not included in ALL PRIVILEGES.

Configure a database name in a job. The plugin ensures the database exists when the job is run. It grants all permissions for the database to a job specific user and publishes its credentials in the environment variables $MYSQL_USER and $MYSQL_PASSWORD.

Contributors

See also

There is also a PostgreSQL variant of this plugin:

lmlima/jenkins-postgresql-job-databases-plugin

License

Please fork and improve.

Copyright (c) 2014 Codevise Solutions Ltd. This software is licensed under the MIT License.

About

Automatically create a MySQL database for a job

Resources

License

Stars

Watchers

Forks

Packages

No packages published