Skip to content
Open
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
9 changes: 5 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>6.2108.v08c2b_01b_cf4d</version>
<version>6.2116.v7501b_67dc517</version>
</parent>

<artifactId>postbuildscript</artifactId>
Expand Down Expand Up @@ -103,16 +103,17 @@
<revision>3.4.1</revision>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/postbuildscript-plugin</gitHubRepo>
<jenkins.version>2.479.1</jenkins.version>
<jenkins.version>2.479.3</jenkins.version>
<hpi.compatibleSinceVersion>3.0.0</hpi.compatibleSinceVersion>
<ban-commons-lang-2.skip>false</ban-commons-lang-2.skip>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.462.x</artifactId>
<version>4228.v0a_71308d905b_</version>
<artifactId>bom-2.479.x</artifactId>
<version>5054.v620b_5d2b_d5e6</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import java.util.Collections;
import java.util.Deque;
import java.util.List;
import org.apache.commons.lang.StringUtils;


public class Command {

Expand All @@ -21,7 +21,7 @@
}

private static Deque<String> parseLine(String command) {
if (StringUtils.isBlank(command)) {
if (command == null || command.isBlank()) {

Check warning on line 24 in src/main/java/org/jenkinsci/plugins/postbuildscript/service/Command.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Partially covered line

Line 24 is only partially covered, 2 branches are missing
return new ArrayDeque<>(0);
}
command = command.trim();
Expand Down
Loading