Skip to content

Commit

Permalink
Adapt pipeline library to take into account tar format
Browse files Browse the repository at this point in the history
Change-Id: Ie999ecda0f5d3215800903093485a7e561d4d17a
Signed-off-by: Tu Ton <minhtutonthat@gmail.com>


Change-Id: Ida1f39b1bb828ad10b4bce19ac4318a2b001a923
Signed-off-by: T0189609 <T0189609@W602510.NTSIEGE.HQ.THALES>
  • Loading branch information
minhtutonthat authored and sandupostaru committed Jul 15, 2021
1 parent 8859f5f commit 81d699c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions vars/capella.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ def getDownloadURL(branch = "master", platform = "win", proxy = ""){
regex = /(capella-[\d.]*-macosx-cocoa-x86_64.tar.gz)/
break

case ~/linux/:
regex = /(capella-[\d.]*-linux-gtk-x86_64.tar.gz)/
case ~/linux/:
if (branch.startsWith('1.')) {
regex = /(capella-[\d.]*-linux-gtk-x86_64.zip)/
} else {
regex = /(capella-[\d.]*-linux-gtk-x86_64.tar.gz)/
}
break

case ~/win/:
Expand Down

0 comments on commit 81d699c

Please sign in to comment.