Skip to content

Commit

Permalink
simplify optional unstash
Browse files Browse the repository at this point in the history
  • Loading branch information
ovcharenko-di committed Nov 29, 2024
1 parent bcd8f28 commit 0499510
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vars/unzipInfobase.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ import ru.pulsar.jenkins.library.steps.GetExtensions
def call() {
unstash '1Cv8.1CD.zip'
unzip dir: 'build/ib', zipFile: '1Cv8.1CD.zip'
try {
catchError {
// extensions are optional
unstash GetExtensions.EXTENSIONS_STASH
} catch (Exception e) {
echo e.toString()
}
}

0 comments on commit 0499510

Please sign in to comment.