forked from openstack-infra/gearman-plugin
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GearmanProxy: avoid NPE if a finished build has no executor
When the build is finalized we retriever the executor/computer that ran it to get other works to check the availability lock. Spotbugs complains `Run.getExecutor()` might be null which really should never happen. If that is ever the case, throw an IllegalStateException, it will be caught and reported by Jenkins runListener.
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
rm -rf work/plugins/gearman* | ||
mvn -Dmaven.test.skip=true -DskipTests=true clean hpi:run | ||
./mvnw -Dmaven.test.skip=true -DskipTests=true clean hpi:run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters