{"id":18513380,"url":"https://github.com/jbox-web/job-database-manager-mysql","last_synced_at":"2025-08-12T09:09:35.337Z","repository":{"id":146101345,"uuid":"42207163","full_name":"jbox-web/job-database-manager-mysql","owner":"jbox-web","description":"A Jenkins plugin that automatically set up MySQL test databases for Jenkins jobs, easy ;)","archived":false,"fork":false,"pushed_at":"2020-09-20T00:52:18.000Z","size":28,"stargazers_count":7,"open_issues_count":3,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T22:17:18.258Z","etag":null,"topics":["database","jenkins","jenkins-jobs","jenkins-plugin","mysql","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jbox-web.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-09-09T22:00:37.000Z","updated_at":"2022-09-21T05:23:22.000Z","dependencies_parsed_at":"2023-05-10T21:45:53.594Z","dependency_job_id":null,"html_url":"https://github.com/jbox-web/job-database-manager-mysql","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jbox-web/job-database-manager-mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbox-web%2Fjob-database-manager-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbox-web%2Fjob-database-manager-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbox-web%2Fjob-database-manager-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbox-web%2Fjob-database-manager-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbox-web","download_url":"https://codeload.github.com/jbox-web/job-database-manager-mysql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbox-web%2Fjob-database-manager-mysql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270033171,"owners_count":24515442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","jenkins","jenkins-jobs","jenkins-plugin","mysql","ruby"],"created_at":"2024-11-06T15:37:57.371Z","updated_at":"2025-08-12T09:09:35.301Z","avatar_url":"https://github.com/jbox-web.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Jenkins Job Database Manager Plugin for MySQL\n\n[![GitHub license](https://img.shields.io/github/license/jbox-web/job-database-manager-mysql.svg)](https://github.com/jbox-web/job-database-manager-mysql/blob/master/LICENSE)\n[![GitHub release](https://img.shields.io/github/release/jbox-web/job-database-manager-mysql.svg)](https://github.com/jbox-web/job-database-manager-mysql/releases/latest)\n[![Build Status](https://travis-ci.org/jbox-web/job-database-manager-mysql.svg?branch=master)](https://travis-ci.org/jbox-web/job-database-manager-mysql)\n[![Code Climate](https://codeclimate.com/github/jbox-web/job-database-manager-mysql/badges/gpa.svg)](https://codeclimate.com/github/jbox-web/job-database-manager-mysql)\n[![Download](https://img.shields.io/github/downloads/jbox-web/job-database-manager-mysql/latest/job-database-manager-mysql.hpi.svg)](https://github.com/jbox-web/job-database-manager-mysql/releases/download/1.0.0/job-database-manager-mysql.hpi)\n\n### A Jenkins plugin that automatically set up MySQL test databases for Jenkins jobs, easy ;)\n\n## Installation\n\nInstall the ```ruby-runtime``` plugin in Jenkins then download the [hpi file](https://github.com/jbox-web/job-database-manager-mysql/releases/download/1.0.0/job-database-manager-mysql.hpi) and install it within Jenkins interface.\n\n## Configuration\n\nIn the global Jenkins configuration, set up host and port of your\nMySQL server and enter credentials of the MySQL user that shall be\nused to create databases and grant permissions. Note that this user\nneeds the\n[`GRANT OPTION`](http://dev.mysql.com/doc/refman/5.1/en/privileges-provided.html#priv_grant-option)\nwhich is not included in\n[`ALL PRIVILEGES`](http://dev.mysql.com/doc/refman/5.1/en/privileges-provided.html#priv_all).\n\n## Usage\n\nConfigure a database name in a job. The plugin ensures the database\nexists when the job is run. It grants all permissions for the database\nto a job specific user and publishes its credentials in the\nenvironment variables `$MYSQL_USER` and `$MYSQL_PASSWORD`.\nIt also ensures that the database is dropped at the end of the job.\n\nThese environment variables will be injected in the build :\n\n* `$MYSQL_DATABASE`\n* `$MYSQL_USER`\n* `$MYSQL_PASSWORD`\n* `$MYSQL_HOST`\n* `$MYSQL_PORT`\n\n## Important Note\n\nThis plugin does not integrate with the new Declarative Pipeline functionality in Jenkins. You will need to use a Freestyle or Multi-configuration job type to make use of it.\n\n## See also\n\nThere is also a PostgreSQL variant of this plugin : [jbox-web/job-database-manager-postgresql](https://github.com/jbox-web/job-database-manager-postgresql)\n\n## Contributors\n\nA big thank to [them](https://github.com/jbox-web/job-database-manager-mysql/blob/master/AUTHORS) for their contribution!\n\n## Contribute\n\nYou can contribute to this plugin in many ways such as :\n* Helping with documentation\n* Contributing code (features or bugfixes)\n* Reporting a bug\n* Submitting translations\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbox-web%2Fjob-database-manager-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbox-web%2Fjob-database-manager-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbox-web%2Fjob-database-manager-mysql/lists"}