Skip to content

Commit

Permalink
[JENKINS-22237] Gradle available versions should be in descending order.
Browse files Browse the repository at this point in the history
  • Loading branch information
gssiyankai committed Jul 27, 2014
1 parent 872558d commit b055dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.groovy
Expand Up @@ -11,7 +11,7 @@ HtmlPage p = wc.getPage(baseUrl + '/distributions');

def json = [];

p.selectNodes("//a[@href]").reverse().collect { HtmlAnchor e ->
p.selectNodes("//a[@href]").collect { HtmlAnchor e ->
def url = baseUrl + e.getHrefAttribute()
println url
def m = (url =~ /gradle-(.*)-bin.zip$/)
Expand Down

0 comments on commit b055dc5

Please sign in to comment.