Skip to content

Commit

Permalink
Log blank or null cloud name in readResolve
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Sep 4, 2023
1 parent 4a89186 commit d2092ac
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,10 @@ protected Object readResolve() {
dockerApi = new DockerAPI(dockerHost, connectTimeout, readTimeout, version, dockerHostname);
}

if (name == null || name.isBlank()) {
LOGGER.warn("Docker cloud requires a non-blank name after Jenkins 2.402");
}

return this;
}

Expand Down

0 comments on commit d2092ac

Please sign in to comment.