•  
     
    story #18320 native support of pull requests in tuleap branch source jenkins plugin
Summary
Empty
native support of pull requests in tuleap branch source jenkins plugin

Tuleap pull requests are built automatically as soon as they are created and updated.

tuleap-branch-source Jenkins plugin should be made pullrequests aware:

  • It should look at refs/tlpr/ at initial (and regular) crawls (in addition to refs/heads)
  • We will need to add a head property on the representation returned by /git/:id/pull_requests
  • It will need to call /git/:id/pull_requests and then /git/:id/files with the reference from head property
  • The branch detection mecanism should also be triggered when an event is sent from Tuleap (maybe with a dedicated mecanism when we create a PR)
    • without that we are left with current mecanism for branch detection: regular polling
    • The polling can be made per repository (instead of per project)
  • The PR status should be improved to have a "Pending" state (in addition to "Unknown" atm when it's not "Passed" or "Failed")
Empty
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#18320
Manuel Vacelet (vaceletm)
2021-09-15 15:42
2020-11-18 14:15
3737

References

Follow-ups

User avatar
Martin GOYOT (goyotm)2020-11-18 14:49
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
Martin GOYOT (goyotm)2020-11-18 14:49
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
Martin GOYOT (goyotm)2020-11-18 14:29
  • So that
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes