Skip to content

Commit

Permalink
Fixed: JENKINS-34711 - NullPointerException after Update to 1.11 of p…
Browse files Browse the repository at this point in the history
…lugin
  • Loading branch information
nullin committed May 10, 2016
1 parent cb074fb commit 50160c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README
Expand Up @@ -15,6 +15,10 @@ graph and all details about which tests that failed are also presented.

Release Notes
-------

### 1.12
* Fixed: JENKINS-34711 - NullPointerException after Update to 1.11 of plugin

### 1.11
* Added: Add ability to configure failed/skipped test thresholds (ChrisEverling) (see JENKINS-20985)

Expand Down
3 changes: 3 additions & 0 deletions src/main/java/hudson/plugins/testng/Publisher.java
Expand Up @@ -214,6 +214,9 @@ protected Object readResolve() {
if (unstableSkips == null) {
unstableSkips = unstableOnSkippedTests ? 0 : 100;
}
if (unstableFails == null) {
unstableFails = 100;
}
if (failedFails == null) {
failedFails = 100;
}
Expand Down

0 comments on commit 50160c4

Please sign in to comment.