Branch: refs/heads/master
Home: https://github.com/jenkinsci/docker-plugin
Commit: cd41bf9b8da464a16489a8ce5f8aec09effb9569
https://github.com/jenkinsci/docker-plugin/commit/cd41bf9b8da464a16489a8ce5f8aec09effb9569
Author: Peter Darton <[email protected]>
Date: 2020-08-10 (Mon, 10 Aug 2020)
Changed paths:
M src/main/java/com/nirima/jenkins/plugins/docker/DockerCloud.java
M src/main/java/com/nirima/jenkins/plugins/docker/DockerManagement.java
M
src/main/java/com/nirima/jenkins/plugins/docker/DockerManagementServer.java
M
src/main/java/com/nirima/jenkins/plugins/docker/builder/DockerBuilderPublisher.java
M src/main/java/com/nirima/jenkins/plugins/docker/utils/JenkinsUtils.java
A
src/test/java/com/nirima/jenkins/plugins/docker/utils/JenkinsUtilsTest.java
Log Message:
-----------
DockerBuilderPublisher now throws a better cloud-not-found error. (#796)
Refactor: Ditch JenkinsUtils.getServers() in favour of DockerCloud.instances()
Refactor: Renamed JenkinsUtils.getServer(String) to
getCloudByNameOrThrow(String) to better describe what it does.
Refactor: Added getServerNames() to JenkinsUtils and removed implementation of
same from DockerManagement.
Enhancement: JenkinsUtils.getCloudByNameOrThrow(String) now throws a
human-friendly exception when it doesn't find a cloud of the given name instead
of a nasty exception.
...and added unit tests for JenkinsUtils.getCloudByNameOrThrow(String).
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/docker-plugin/push/refs/heads/master/2c4503-cd41bf%40github.com.