![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
current |
Assignee:
|
Nicolas De Loof
|
Components:
|
git |
Created:
|
29/May/13 4:32 PM
|
Description:
|
Our project is using a variable to specify the local repository directory for Git, such as "${var}". When triggering builds with Git hook, GitSCM.compareRemoteRevisionWithImpl() uses it's plain text value to retrieve the working directory, eg "workspace/${var}" instead of "workspace/dir". As a result, hook always think new change is found and trigger new builds even there is no new change at all.
I did some debugging and found that the environment variables retrieved when triggered by hooks are less than those when triggered by "Build Now". But I could come up with a quick fix.
|
Project:
|
Jenkins
|
Priority:
|
Major
|
Reporter:
|
Jason Zhang
|
|
|
|
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.