Skip to content

Commit

Permalink
Merge pull request #23 from gssiyankai/master
Browse files Browse the repository at this point in the history
[FIXED JENKINS-22237] Gradle available versions should be in descending order.
  • Loading branch information
orrc committed Aug 5, 2014
2 parents 872558d + b055dc5 commit 4334bff
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 4334bff

Please sign in to comment.