feat: mocks updated #16
auto-tests-e2e.yaml
on: push
Annotations
10 errors
E2E Verify code before tests:
api/v1alpha2/jenkins_webhook.go#L24
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
E2E Verify code before tests:
api/v1alpha2/jenkins_webhook.go#L293
Error return value of `response.Body.Close` is not checked (errcheck)
|
E2E Verify code before tests:
api/v1alpha2/jenkins_webhook.go#L296
odd number of arguments passed as key-value pairs for logging (loggercheck)
|
E2E Verify code before tests:
api/v1alpha2/jenkins_webhook.go#L309
Error return value of `reader.Close` is not checked (errcheck)
|
E2E Verify code before tests:
api/v1alpha2/jenkins_webhook.go#L315
Error return value of `archive.Close` is not checked (errcheck)
|
E2E Verify code before tests:
api/v1alpha2/jenkins_webhook.go#L320
Error return value of `writer.Close` is not checked (errcheck)
|
E2E Verify code before tests:
api/v1alpha2/jenkins_webhook.go#L332
Error return value of `jsonFile.Close` is not checked (errcheck)
|
E2E Verify code before tests:
pkg/client/jenkins.go#L147
S1017: should replace this if statement with an unconditional strings.TrimSuffix (gosimple)
|
E2E Verify code before tests:
pkg/client/script.go#L52
Error return value of `r.Body.Close` is not checked (errcheck)
|
E2E Verify code before tests:
pkg/client/token.go#L42
Error return value of `r.Body.Close` is not checked (errcheck)
|