-
Improvement
-
Resolution: Unresolved
-
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.
- links to
[JENKINS-45678] Ability to set the GR PR Comment Property for branch jobs created by Organization Item
Description |
Original:
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 property step because it is a _BranchProperty_ (see [ ``` properties([ [$class: 'com.adobe.jenkins.github_pr_comment_build.TriggerPRCommentBranchProperty', commentBody: 'rebuild'] ]) ``` Making it usable for Organization jobs would be a great improvement. |
New:
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 [ {code} properties([ [$class: 'com.adobe.jenkins.github_pr_comment_build.TriggerPRCommentBranchProperty', commentBody: 'rebuild'] ]) {code} The above snippet would fail with a _ClassCastException_. Making it usable for Organization jobs would be a great improvement. |
Remote Link | New: This issue links to "CloudBees Internal CD-229 (Web Link)" [ 19097 ] |