Skip to content

Remove `JenkinsDeprecatedService`

This service was deprecated some time ago. Should we remove it in 9.0?


Created by @stanhu.

https://sentry.gitlap.com/gitlab/gitlabcom/issues/18247/

ArgumentError: no HTTP request path given
  app/models/project_services/jenkins_deprecated_service.rb:88:in `read_commit_status'
    response = HTTParty.get(build_page(sha, ref), verify: false)
  lib/gitlab/metrics/instrumentation.rb:155:in `block in read_commit_status'
    trans.method_call_for(#{label.to_sym.inspect}).measure { super }
  lib/gitlab/metrics/method_call.rb:23:in `measure'
    retval = yield
  lib/gitlab/metrics/instrumentation.rb:155:in `read_commit_status'
    trans.method_call_for(#{label.to_sym.inspect}).measure { super }
  app/models/project_services/jenkins_deprecated_service.rb:79:in `calculate_reactive_cache'
    { commit_status: read_commit_status(sha, ref) }
...
(64 additional frame(s) were not displayed)

ArgumentError: no HTTP request path given