in-toto / in-toto-jenkins-plugin

A Jenkins plugin to track steps and create in-toto link metadata
MIT License
5 stars 5 forks source link

URF_UNREAD_FIELD Error causes the build to fail #2

Open adityasaky opened 2 years ago

adityasaky commented 2 years ago

Moved from https://github.com/jenkinsci/in-toto-plugin/issues/31

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