Skip to content

Commit e8e5dd9

Browse files
committed
[FIXED JENKINS-9765] Git tool setting now properly selected.
Update jelly to use instance.gitTool instead of gitTool when checking for what tool to select by default in the config.
1 parent 793ecb4 commit e8e5dd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/resources/hudson/plugins/git/GitSCM/config.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
<select name="gitTool">
179179
<j:forEach var="gitTool" items="${descriptor.gitTools}" varStatus="current">
180180
<j:choose>
181-
<j:when test="${gitTool==gitTool.name}">
181+
<j:when test="${instance.gitTool==gitTool.name}">
182182
<option value="${gitTool.name}" selected="SELECTED">${gitTool.name}</option>
183183
</j:when>
184184
<j:otherwise>

0 commit comments

Comments
 (0)