MCPcopy Create free account
hub / github.com/apache/devlake / PutScopes

Function PutScopes

backend/plugins/jenkins/api/scope_api.go:43–45  ·  view source on GitHub ↗

PutScopes create or update jenkins job @Summary create or update jenkins job @Description Create or update jenkins job @Tags plugins/jenkins @Accept application/json @Param connectionId path int false "connection ID" @Param scope body ScopeReq true "json" @Success 200 {object} PutScopesReqBody @Fai

(input *plugin.ApiResourceInput)

Source from the content-addressed store, hash-verified

41// @Failure 500 {object} shared.ApiBody "Internal Error"
42// @Router /plugins/jenkins/connections/{connectionId}/scopes [PUT]
43func PutScopes(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
44 return dsHelper.ScopeApi.PutMultiple(input)
45}
46
47// PatchScope patch to jenkins job
48// @Summary patch to jenkins job

Callers

nothing calls this directly

Calls 1

PutMultipleMethod · 0.80

Tested by

no test coverage detected