If you are using a multi branch pipeline, you can add one last step at the
end to do that activity.

stage('Add pull request comment') {
            steps {
               /// API call
            }
        }


On Fri, Apr 3, 2020 at 11:35 AM Jamie Johnson <[email protected]> wrote:

> Thanks for the suggestion, how would I invoke this as I don't see a way to
> do a post build action currently?
>
> On Friday, April 3, 2020 at 11:00:17 AM UTC-4, Yeikel wrote:
>>
>> I don't know if it is best way but there is a rest API in bitbucket[1] to
>> support this activity and more.
>>
>> [1]
>> https://community.atlassian.com/t5/Bitbucket-questions/Add-comments-to-Pull-Requests-from-API/qaq-p/81069
>>
>> On Fri, Apr 3, 2020, 10:42 AM Jamie Johnson <[email protected]> wrote:
>>
>>> I am trying to setup a multi branch pipeline and want to be able to
>>> support custom comments such as was possible in the to bitbucket.  This was
>>> possible using the stash pull request builder.  What is the best way to
>>> accomplish this?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/68a451f3-17a4-4716-a18c-a88f18872638%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/68a451f3-17a4-4716-a18c-a88f18872638%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/e0e221c4-c584-4194-9434-42ba5ca7ed3d%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/e0e221c4-c584-4194-9434-42ba5ca7ed3d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMMhyA1J1JzMpxdesCjtDbkNq6mGWKNAK_sEyZqCZ9iBXbL2-A%40mail.gmail.com.

Reply via email to