https://github.com/codevise/jenkins-mysql-job-databases-plugin
Automatically create a MySQL database for a job
https://github.com/codevise/jenkins-mysql-job-databases-plugin
Last synced: 9 months ago
JSON representation
Automatically create a MySQL database for a job
- Host: GitHub
- URL: https://github.com/codevise/jenkins-mysql-job-databases-plugin
- Owner: codevise
- License: mit
- Created: 2013-02-04T14:25:32.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2016-12-01T12:17:29.000Z (over 9 years ago)
- Last Synced: 2025-07-04T19:46:35.041Z (11 months ago)
- Language: Ruby
- Size: 23.4 KB
- Stars: 8
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jenkins MySQL Job Databases Plugin
**DEPRECATED: This plugin is no longer actively maintained. Consider using [jbox-web/job-database-manager-mysql](https://github.com/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`](http://dev.mysql.com/doc/refman/5.1/en/privileges-provided.html#priv_grant-option)
which is not included in
[`ALL PRIVILEGES`](http://dev.mysql.com/doc/refman/5.1/en/privileges-provided.html#priv_all).
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
* [Tim Fischbach](https://github.com/tf) (`tfischbach@codevise.de`)
* [Nicolas Rodriguez](https://github.com/n-rodriguez) (`nrodriguez@jbox-web.com`)
## See also
There is also a PostgreSQL variant of this plugin:
[lmlima/jenkins-postgresql-job-databases-plugin](https://github.com/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.