Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deeper spotbugs checks #5

Merged
merged 1 commit into from
Oct 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
<properties>
<jenkins.version>2.289.1</jenkins.version>
<java.level>8</java.level>
<spotbugs.effort>Max</spotbugs.effort>
<spotbugs.failOnError>true</spotbugs.failOnError>
<spotbugs.threshold>Low</spotbugs.threshold>
</properties>

<name>Log File Filter Plugin</name>
Expand Down Expand Up @@ -102,7 +105,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-step-api</artifactId>
<version>2.14</version>
<version>2.24</version>
</dependency>
</dependencies>

Expand Down
8 changes: 6 additions & 2 deletions src/main/java/com/tsystems/sbs/LogFileFilterStep.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
*/
public class LogFileFilterStep extends Step implements Serializable {

@DataBoundConstructor
private static final long serialVersionUID = -4144901779369429596L;

@DataBoundConstructor
public LogFileFilterStep() {}

@Override
Expand All @@ -36,7 +38,9 @@ public StepExecution start(StepContext context) throws Exception {
* Execution for {@link LogFileFilterStep}.
*/
public static class Execution extends AbstractStepExecutionImpl {


private static final long serialVersionUID = -3589168947547448938L;

protected Execution(StepContext context) {
super(context);
}
Expand Down