Skip to content

[JENKINS-64895] Cannot filter GitHub Pull Request jobs by title/description #425

@jenkins-infra-bot

Description

@jenkins-infra-bot

I am using GitHub branch source plugin to build pull requests, which internally uses SCM API plugin to apply filters by name. However, the filter works only for Pull Request name, which is not helpful as the name is an auto-generated number created by GitHub.

The real benefit in case of a Pull Request would come if it supports filter by title or description e.g. If Pull Request title or description contains a specific word like "automated" then skip the build.

Is there a way this can be achieved ?


Originally reported by richmond, imported from: Cannot filter GitHub Pull Request jobs by title/description
  • status: Open
  • priority: Minor
  • component(s): scm-api-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251223-222157
Raw content of original issue

I am using GitHub branch source plugin to build pull requests, which internally uses SCM API plugin to apply filters by name. However, the filter works only for Pull Request name, which is not helpful as the name is an auto-generated number created by GitHub.

The real benefit in case of a Pull Request would come if it supports filter by title or description e.g. If Pull Request title or description contains a specific word like "automated" then skip the build.

Is there a way this can be achieved ?

environment
Jenkins LTS 2.263.2<br/>
GitHub Branch Source v2.9.0<br/>
SCM API Plugin 2.6.4
1 attachment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions