stable

Clone or download

Read-only

Introduce pending status for git commits

part of: story #18320 native support of pull requests in tuleap branch source jenkins plugin Prerequisites: In order to test this patch, you'll need: - a pullrequest and the commit id associated to its HEAD. - the CI token of your repository - its id or its path How to test: - In the api explorer, open the route /git/:id/statuses/:commit_reference - Provide the repository id or its path - Provide the commit reference - In the required JSON, provide `pending` in the field `state`, and the ci token in the field `token` - Submit --> Status 201 - Now refresh the overview view of the target pullrequest --> The `Last CI Status` field displays `Pending` along with the status update date Change-Id: I9ca2d9e74d3947316fa7afb163d5ac819acb2412

Modified Files

Name
M plugins/git/include/CommitStatus/CommitStatusWithKnownStatus.php +8 −0 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +1 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestRepresentationFactory.php +6 −3 Go to diff View file
M plugins/pullrequest/scripts/po/fr.po +8 −1 Go to diff View file
M plugins/pullrequest/scripts/src/app/overview/overview.tpl.html +3 −0 Go to diff View file