1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2025-02-08 14:29:15 +02:00

Добавлен флаг перезаписи создаваемого zip-архива

При запуске без clean before checkout в рабочем каталоге сборки может остаться файл от прошлой сборки, что приводит к падению
This commit is contained in:
Nikita Gryzlov 2021-12-15 17:03:33 +03:00
parent b3193e3535
commit 8cc1ff557f
No known key found for this signature in database
GPG Key ID: C3CAA2980494E7E6

View File

@ -139,7 +139,7 @@ class StepExecutor implements IStepExecutor {
@Override
def zip(String dir, String zipFile, String glob = '') {
steps.zip dir: dir, zipFile: zipFile, glob: glob
steps.zip dir: dir, zipFile: zipFile, glob: glob, overwrite: true
}
@Override