{"id":16248280,"url":"https://github.com/rmohr/chroot-plugin","last_synced_at":"2025-07-22T02:37:02.578Z","repository":{"id":9612275,"uuid":"11536992","full_name":"rmohr/chroot-plugin","owner":"rmohr","description":"A Jenkins plugin which adds support for disposable chroot environments, which can be very usefull for C and C++ projects.","archived":false,"fork":false,"pushed_at":"2016-05-10T06:48:14.000Z","size":203,"stargazers_count":6,"open_issues_count":10,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-03T06:01:30.378Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"processing/p5.js","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rmohr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-19T20:54:36.000Z","updated_at":"2023-08-22T19:58:34.000Z","dependencies_parsed_at":"2022-08-28T04:00:51.214Z","dependency_job_id":null,"html_url":"https://github.com/rmohr/chroot-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rmohr/chroot-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmohr%2Fchroot-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmohr%2Fchroot-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmohr%2Fchroot-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmohr%2Fchroot-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmohr","download_url":"https://codeload.github.com/rmohr/chroot-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmohr%2Fchroot-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266413447,"owners_count":23924733,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2024-10-10T14:41:06.428Z","updated_at":"2025-07-22T02:37:02.556Z","avatar_url":"https://github.com/rmohr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Chroot-plugin\n=============\n\nThe aim of this jenkins plugin is to provide support for some chroot\nenvironment technologies.  The first two environments to implement are pbuilder\nand mock. This way a jenkins job can use it's own isolated chroot environment,\ncan install custom repositories and dependencies, and when the job is done, the\nchroot environment ist thrown away. This feature makes jenkins much more\nattractive as a build server for C and C++ projects.\n\nPbuilder works quite nice already. Mock is not useable at the moment.\n\nInstallation from Jenkins\n-------------------------\n\nJust install it like any other plugin: Chroot-plugin is available in the Jenkins Update Center.\nAn extensive plugin documentation can be found in the [Jenkins Wiki](https://wiki.jenkins-ci.org/display/JENKINS/chroot+Plugin).\n\n\nInstallation from source\n------------------------\n\n```bash\ngit clone https://github.com/rmohr/chroot-plugin\ncd chroot-plugin\nmvn install\n```\nYou will find the resulting hpi file here: \n```\n./target/chroot.hpi\n```\n\nUsing pbuilder\n--------------\n\nTo allow jenkins to use pbuilder it is necessary to that the jenkins user can\nrun /usr/sbin/pbuilder via sudo. Make sure to protect your jenkins installation\nproperly, because pbuilder is NOT a secure  and fully isolated\nenvironment.\n\nAn appropriate /etc/sudoers entry might look like this:\n\n```\njenkins ALL=(ALL) NOPASSWD: /usr/sbin/pbuilder\n```\n\nUsing the plugin\n----------------\n\nFirst Create chroot environments in _Manage Jenkins_ \u003e _Chroot Environments_:\n![chroot configuration](minimal_configuration.png)\n\n**Make sure that the autoinstall option is enabled.**\n\nA buildstep _chroot builder_ is now available where you can select a preconfigured builder:\n![buildstep configuration](buildstep.png)\n\nFuture Plans\n------------\nAs the prove of concept phase is over, the next step is to clean the code and\ncreate a clean interface for long term stability.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmohr%2Fchroot-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmohr%2Fchroot-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmohr%2Fchroot-plugin/lists"}