Skip to content

Commit

Permalink
Update getDownloadURL method
Browse files Browse the repository at this point in the history
Change-Id: Ib3533211532caf77d260260f7474bafa825486b3
Signed-off-by: Tu Ton <minhtutonthat@gmail.com>
  • Loading branch information
minhtutonthat committed Jan 8, 2021
1 parent 4f702bc commit e528472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vars/capella.groovy
Expand Up @@ -9,11 +9,11 @@ def getDownloadURL(branch = "master", platform = "win", proxy = ""){

switch(platform){
case ~/mac/:
regex = /(capella-[\d.]*-macosx-cocoa-x86_64.zip)/
regex = /(capella-[\d.]*-macosx-cocoa-x86_64.tar.gz)/
break

case ~/linux/:
regex = /(capella-[\d.]*-linux-gtk-x86_64.zip)/
regex = /(capella-[\d.]*-linux-gtk-x86_64.tar.gz)/
break

case ~/win/:
Expand Down

0 comments on commit e528472

Please sign in to comment.