Skip to content

feat: mocks updated #16

feat: mocks updated

feat: mocks updated #16

Triggered via push July 21, 2024 10:53
Status Failure
Total duration 2m 32s
Artifacts
E2E Create tests list
3s
E2E Create tests list
E2E Verify code before tests
2m 12s
E2E Verify code before tests
Matrix: run-e2e-tests
Fit to window
Zoom out
Zoom in

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)