{"id":14156115,"url":"https://github.com/jenkinsci/branch-api-plugin","last_synced_at":"2025-04-13T04:58:46.991Z","repository":{"id":10649172,"uuid":"12878218","full_name":"jenkinsci/branch-api-plugin","owner":"jenkinsci","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-11T14:01:08.000Z","size":2792,"stargazers_count":37,"open_issues_count":14,"forks_count":146,"subscribers_count":101,"default_branch":"master","last_synced_at":"2025-04-13T04:58:39.475Z","etag":null,"topics":["jenkins-api-plugin"],"latest_commit_sha":null,"homepage":"https://plugins.jenkins.io/branch-api/","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jenkinsci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-09-16T20:39:44.000Z","updated_at":"2025-04-11T14:01:12.000Z","dependencies_parsed_at":"2023-12-19T05:07:43.980Z","dependency_job_id":"f99590e9-c0ce-48e2-b503-12242452f707","html_url":"https://github.com/jenkinsci/branch-api-plugin","commit_stats":null,"previous_names":[],"tags_count":109,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenkinsci%2Fbranch-api-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenkinsci%2Fbranch-api-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenkinsci%2Fbranch-api-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenkinsci%2Fbranch-api-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jenkinsci","download_url":"https://codeload.github.com/jenkinsci/branch-api-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665760,"owners_count":21142123,"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","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":["jenkins-api-plugin"],"created_at":"2024-08-17T08:05:13.658Z","updated_at":"2025-04-13T04:58:46.969Z","avatar_url":"https://github.com/jenkinsci.png","language":"Java","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"Jenkins Branch API Plugin\n===\n[![Jenkins Plugin](https://img.shields.io/jenkins/plugin/v/branch-api)](https://plugins.jenkins.io/branch-api)\n[![Changelog](https://img.shields.io/github/v/tag/jenkinsci/branch-api-plugin?label=changelog)](https://github.com/jenkinsci/branch-api-plugin/blob/master/CHANGELOG.md)\n[![Jenkins Plugin Installs](https://img.shields.io/jenkins/plugin/i/branch-api?color=blue)](https://plugins.jenkins.io/branch-api)\n\nThis plugin provides an API for multiple branch based projects.\n\nThe following concepts are provided:\n\n-   Multibranch projects: projects consisting in a group of several\n    projects, one for each defined branch.\n-   Organizational folders: a folder-like collection of Multibranch\n    projects, one per repository.\n-   Branch properties: add additional information linked to the branch,\n    which can then be used to take decisions. Some properties are\n    provided:\n    -   Do not trigger builds for branch.\n    -   Do not trigger builds for organizational folder.\n    -   Override triggering behaviour for multibranch project or\n        organizational folder.\n    -   Untrusted author.\n    -   Limit builds for a branch to a certain rate.\n    -   Discard old builds for branch.\n\nFor generic information about how to use the Branch API plugin, please see [the user guide](docs/user.adoc)\n\nIf you are writing a plugin that implements this API, please see [the implementation guide](docs/implementation.adoc)\n \n# Build\n\nTo build the plugin locally:\n\n    mvn clean verify\n\n# Test local instance\n\nTo test in a local Jenkins instance\n\n    mvn hpi:run\n\n# Debug hooks for events\n\nIf you have to try and diagnose issues with events or indexing, the\nfollowing information may be of assistance:\n\nJobs triggered by SCM Events try to capture their origin.\n\nThe origin is available as a tool-tip on the build cause:  \n  \n![](docs/Screen_Shot_2017-03-16_at_14.11.57.png)\n\nThis can be very helpful to quickly identify where events that trigger\nbuilds are coming from.\n\nMore detailed event processing information is available from the event\nlogs.  \n \n\nBy default, the CloudBees Folders plugin will only retain the logs of\nthe last scan / index. If you are having issues with scanning /\nindexing, it can help to turn on the retention with the system\nproperty `com.cloudbees.hudson.plugins.folder.computed.FolderComputation.BACKUP_LOG_COUNT`\n(note that you can write directly to that field using the System Groovy\nConsole, so you can change the value on a running system without a\nrestart)\n\nThe Multi-branch projects will log the initial arrival of events and any\nrouting decisions in\nthe `$JENKINS_HOME/logs/jenkins.branch.MultiBranchProject.log` file\n(which will be rolled every 32kB, limit of 5 files)\n\n-   Once an event has been routed to a specific Multi-branch project,\n    the responsibility for logging the event will belong with that\n    Multi-branch project and will be stored in the\n    `$JENKINS_HOME/jobs/$PATH_TO_PROJECT/indexing/events.log` (which\n    will be rolled every 150kB, limit of `BACKUP_LOG_COUNT` files)\n\nThe Organization folder projects will log the initial arrival of events\nand any routing decisions in\nthe `$JENKINS_HOME/logs/jenkins.branch.OrganizationFolder.log`\nfile (which will be rolled every 32kB, limit of 5 files)\n\n-   Once an event has been routed to a specific Organization folder\n    project, the responsibility for logging the event will belong with\n    that Organization folder project and will be stored in the\n    `$JENKINS_HOME/jobs/$PATH_TO_PROJECT/computation/events.log` (which\n    will be rolled every 150kB, limit of `BACKUP_LOG_COUNT` files)\n\n# Release notes\n\nFor version 2.5.5 and beyond, see the [GitHub releases](https://github.com/jenkinsci/branch-api-plugin/releases) list.\nOtherwise see the [archive](https://github.com/jenkinsci/branch-api-plugin/blob/6dc6bef373070a298e1f9218d2a89c5c3623ebfc/CHANGELOG.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenkinsci%2Fbranch-api-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjenkinsci%2Fbranch-api-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenkinsci%2Fbranch-api-plugin/lists"}