stable

Clone or download

Read-only

Use same git url in notification than in UI

When you browse the git repositories of a project, the URL looks like: /plugins/git/my-project Instead of /plugins/git?group_id=101 In the email that is sent to the project administrator, we should have the same URL as in the web UI. Furthermore it will avoid sending a wrong URL when the git service link column is empty in database. Part of story #17182: reference tuleap artifacts in gitlab merge requests Change-Id: Ia0db2e1e8df2ffcc6d44adcebb6db0d3b9792bd5

Modified Files

Name
M plugins/git/include/Git/GitService.php +6 −0 Go to diff View file
M plugins/git/include/gitPlugin.php +2 −1 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/Bot/InvalidCredentialsNotifier.php +1 −1 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/Bot/InvalidCredentialsNotifierTest.php +16 −8 Go to diff View file