jenkinsci / in-toto-plugin

A Jenkins plugin to track steps and create in-toto link metadata
https://plugins.jenkins.io/in-toto/
MIT License
10 stars 14 forks source link

URF_UNREAD_FIELD Error causes the build to fail #31

Closed lakshya8066 closed 2 years ago

lakshya8066 commented 2 years ago

What feature do you want to see added?

There are a few fields that are declared and initialized but never read like transport and keyPath. The fields should not be left unread according to the findbugs linter. This causes the build to fail.

We should find a way to handle these fields or consider refactoring the fields depending on their usage.

Upstream changes

The errors below refer to the code in this PR

image

adityasaky commented 2 years ago

Moved to https://github.com/in-toto/in-toto-jenkins-plugin/issues/2