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

Ability to set the GR PR Comment Property for branch jobs created by Organization Item

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins 2.60.2
      github-pr-comment-build:2.0

      It would be great if we could use the TriggerPRCommentBranchProperty and TriggerPRUpdateBranchProperty not only in Multibranch Items but also for branch jobs created via Organization Items.

      It is currently not possible to set these property in a GitHub Organization job.
      It is currently not possible to set these property via the properties step because it is a BranchProperty (see JENKINS-30519):

      properties([
      	[$class: 'com.adobe.jenkins.github_pr_comment_build.TriggerPRCommentBranchProperty', commentBody: 'rebuild']
      ])
      

      The above snippet would fail with a ClassCastException.

      Making it usable for Organization jobs would be a great improvement.

            bksaville Brian Saville
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: