{"id":22281712,"url":"https://github.com/jenkinsci/implied-labels-plugin","last_synced_at":"2025-07-28T20:31:17.394Z","repository":{"id":12980825,"uuid":"15659579","full_name":"jenkinsci/implied-labels-plugin","owner":"jenkinsci","description":"Create agent labels based on user defined expressions","archived":false,"fork":false,"pushed_at":"2025-07-25T21:44:27.000Z","size":370,"stargazers_count":5,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-26T04:47:52.220Z","etag":null,"topics":["adopt-this-plugin"],"latest_commit_sha":null,"homepage":"https://plugins.jenkins.io/implied-labels/","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,"zenodo":null}},"created_at":"2014-01-05T22:03:39.000Z","updated_at":"2025-07-25T21:44:31.000Z","dependencies_parsed_at":"2023-11-19T03:23:03.048Z","dependency_job_id":"c6e5914f-a52b-42bc-925d-e6109dd68f2c","html_url":"https://github.com/jenkinsci/implied-labels-plugin","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/jenkinsci/implied-labels-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenkinsci%2Fimplied-labels-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenkinsci%2Fimplied-labels-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenkinsci%2Fimplied-labels-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenkinsci%2Fimplied-labels-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jenkinsci","download_url":"https://codeload.github.com/jenkinsci/implied-labels-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenkinsci%2Fimplied-labels-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267580458,"owners_count":24110844,"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-28T02:00:09.689Z","response_time":68,"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":["adopt-this-plugin"],"created_at":"2024-12-03T16:21:07.235Z","updated_at":"2025-07-28T20:31:17.385Z","avatar_url":"https://github.com/jenkinsci.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Implied Labels Plugin\n\nInfer dynamic node labels using configured implications.\n\nLets have a node with `linux`, `RHEL`, `RHEL8` and `RHEL8_5` labels.\nMost of this information is redundant and can be inferred from the `RHEL8_5`\nlabel. Here is an excerpt of the Implied Labels Plugin configuration to do\njust that.\n\n![](docs/images/implied-labels.png)\n\nThis plugin gathers the implication rules to one place (*Manage Jenkins\n\\\u003e Label implications*), so explicit node labels can be defined in more\nconcise form (without redundancy). Implications are readable for every\nuser with `Jenkins.READ`, but only `Jenkins.ADMINISTER` is authorized to\nconfigure. The plugin also detects explicitly configured node labels that\ncan be inferred using existing implication rules.\n\n## Details\n\nJenkins administrators can declare any number of implication rules for\nlabel inference. An implication consists of *label expression* and *atom\nlist*. A node that matches *label expression* will have assigned new\nlabels from *atom list*. Labels contributed from the Implied Labels Plugin\nare dynamic labels and thus not saved in configuration. Implications are\nevaluated in topological order so implication expressions can refer to\nlabels contributed by other implications.\n\n## Configuration as code\n\nLabel definitions can be automated with [configuration as code](https://plugins.jenkins.io/configuration-as-code/).\n\n```\nunclassified:\n  impliedLabels:\n    implications:\n    - atoms: \"linux\"\n      expression: \"Ubuntu || CentOS || Debian || Rocky || openSUSE\"\n```\n\nWhen combined with the [Platform Labeler plugin](https://plugins.jenkins.io/platformlabeler/), the implied labels can use the labels generated by the Platform Labeler plugin.\nHere is an example that combines the two plugins to apply the `linux` label to an operating system based on its name.\n\n```yaml\nunclassified:\n  impliedLabels:\n    implications:\n    - atoms: \"linux\"\n      expression: \"Alpine||Amazon||Debian||Fedora||openSUSE||Raspbian||RedHatEnterprise||Rocky||SUSE||Ubuntu\"\n    - atoms: \"Unix\"\n      expression: \"linux||freebsd\"\n  platformLabelerGlobalConfiguration:\n    labelConfig:\n      architecture: true\n      architectureName: false\n      architectureNameVersion: false\n      name: true\n      nameVersion: false\n      osName: true\n      version: true\n      windowsFeatureUpdate: false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenkinsci%2Fimplied-labels-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjenkinsci%2Fimplied-labels-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenkinsci%2Fimplied-labels-plugin/lists"}