Service Integration View Details Button Does not Work (specifically Jenkins)
Summary
When sending test payloads through the Jenkins Integration in GitLab, the "View Details" provides no additional detail into the test request payload.
Steps to reproduce
- Head to https://requestbin.com/r/ and copy the generated endpoint.
- In a GitLab Project, head to Settings > Integrations > Jenkins
- Supply the URL from RequestBin and a random test name, username, password.
- click Save and Test Settings
- Hover over the View details button and you'll see the web address it takes you to is the address of the page you're on right now.
URL is incorrect.
If you can correctly guess the ID of the Service Hook Log, you can navigate to the page via:
https://gitlab.com/namespace/proj/-/services/jenkins/hook_logs/550
Example Project
What is the current bug behavior?
The web address that is provided is not functioning appropriately for View details.
What is the expected correct behavior?
The View details ought to send you to a page very similar to what the Webhooks View details page provides.
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)(we will only investigate if the tests are passing)
Possible fixes
Potential Culprits: !71792 (merged) or !71788 (diffs)
Something I think is wrong in the rendering of the HAML.
Not Working: https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/views/projects/services/edit.html.haml
Working: https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/views/projects/hooks/edit.html.haml
Both leverage: _index > _recent_deliveries_table > hooks_helper


