Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: repo
Created: 11/Apr/13 8:59 AM
Description:

When not using the default value for manifest branch, the method getLastState in class RepoScm does not retrieve a valid last state. This leads to an empty changelog.

This is due to the string comparison :
if (lastState != null && lastState.getBranch() == manifestBranch)

It does not work unless branch is 'null'.

Something like that works better :
if (lastState != null
&& ((lastState.getBranch() == null && manifestBranch == null)

(lastState.getBranch().equals(manifestBranch)))) {
Project: Jenkins
Priority: Minor Minor
Reporter: Yves-Marie Morgan
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/groups/opt_out.
 
 

Reply via email to