Issue Type: Bug Bug
Assignee: Unassigned
Components: hockeyapp-plugin
Created: 12/Dec/14 11:13 PM
Description:

A few parts in the code check for a variable being null, then execute some code.
However, when using Parameters, the value itself won't be null, but if that parameter then expands to an empty string it would be equivalent of null.
For example: In
https://github.com/jenkinsci/hockeyapp-plugin/blob/master/src/main/java/hockeyapp/HockeyappRecorder.java#L216

Checking dsymPath for null would return "$SYMBOLEFILES" as not null; however, if a build is parameterized and that value is empty, it would be equivalent of null when expanded on line 217/218

Therefore, should be expanded before checking.

Project: Jenkins
Priority: Minor Minor
Reporter: Brantone
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to