Have you looked into the Bitbucket Branch Source Plugin <https://go.cloudbees.com/docs/plugins/bitbucket/> ? That plugin can scan your repo for branches and PRs (that you can filter) and will build and report on them accordingly.
On Wednesday, July 24, 2019 at 4:18:54 PM UTC-7, Atul Sharma wrote: > > i have pipeline code and i am struggling to write syntax in my declarative > pipeline steps whenever build result will success from source branch > pipeline should create new pull requests on bitbucket.. i don't find any > way to do it .. please help to write > syntax -- 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/14d7179c-fd5a-482a-9380-1424fd8ed5c7%40googlegroups.com.
