Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: maven-repo-cleaner-plugin
-
Labels:None
-
Similar Issues:
Description
how to reproduce :
edit jenkins configuration, leave maven-repo-cleaner cron expression empty
save
-> NullPointerException
Attachments
Issue Links
- is duplicated by
-
JENKINS-12002 NPE when saving global config
-
- Resolved
-
Code changed in jenkins
User: Nicolas De Loof
Path:
src/main/java/org/jenkinsci/plugins/mavenrepocleaner/MavenRepoCleanerProperty.java
http://jenkins-ci.org/commit/maven-repo-cleaner-plugin/8432023d8143d419b257a1e07bcf12a910da1388
Log:
[FIXED JENKINS-12978] NullPoionterException saving jenkins config
use fixEmptyAndTrim that handles null