Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75791

Support Job Display Name Strategy Trait (e.g. OBJECT_DISPLAY_NAME) for Gitea multibranch pull requests

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • gitea-plugin
    • None
    • Jenkins: 2.504.2
      OS: Linux - 6.8.0-45-generic
      Java: 17.0.15 - Ubuntu (OpenJDK 64-Bit Server VM)
      gitea: 250.v76a_0b_d4fef5b_

      Currently, Jenkins jobs created from pull requests in a Gitea multibranch pipeline display only the default name format, such as PR-123. However, modern SCM plugins like GitHub and Bitbucket support customizing the display name of PR jobs via the Job Display Name Strategy Trait, allowing names like:

      • Add login screen (#123) (from PR title)
      • feature/login-ui (from source branch name)
      • or a combination of both

      This improves the readability and usability of Jenkins for teams working with many pull requests.

      We would like to request support for Job Display Name Strategy Trait in the Gitea SCM source plugin, ideally offering the same options as other SCM providers (e.g. OBJECT_DISPLAY_NAME, RAW, RAW_AND_OBJECT_DISPLAY_NAME).

      This would allow Jenkins users working with Gitea to benefit from more informative job names for PRs in the UI.


      Example of configuration (for reference):

      traits:
        - $class: 'JobDisplayNameTrait'
          displayNamingStrategy: 'OBJECT_DISPLAY_NAME'

            Unassigned Unassigned
            t_shafigullin Timur
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: