mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2024-11-30 09:46:41 +02:00
Добавлена проверка на существование файла 1Cv8.1CD.zip, удален дубль создания папки build/out
This commit is contained in:
parent
8aac6e00d8
commit
bd943e9bcc
@ -106,5 +106,6 @@ sharedLibrary {
|
||||
dependency("org.jenkinsci.plugins", "pipeline-model-definition", declarativePluginsVersion)
|
||||
dependency("org.jenkinsci.plugins", "pipeline-model-extensions", declarativePluginsVersion)
|
||||
dependency("io.jenkins.blueocean", "blueocean-pipeline-api-impl", "1.25.3")
|
||||
dependency("sp.sd", "file-operations", "214.v2e7dc7f25757")
|
||||
}
|
||||
}
|
||||
|
@ -79,7 +79,6 @@ void call() {
|
||||
stage('Создание ИБ') {
|
||||
steps {
|
||||
timeout(time: config.timeoutOptions.createInfoBase, unit: TimeUnit.MINUTES) {
|
||||
createDir('build/out')
|
||||
|
||||
script {
|
||||
if (config.infoBaseFromFiles()) {
|
||||
|
@ -1,4 +1,7 @@
|
||||
def call() {
|
||||
if (fileExists('1Cv8.1CD.zip')) {
|
||||
fileOperations([fileDeleteOperation(includes: '1Cv8.1CD.zip')])
|
||||
}
|
||||
zip dir: 'build/ib', glob: '1Cv8.1CD', zipFile: '1Cv8.1CD.zip'
|
||||
stash name: "1Cv8.1CD.zip", includes: "1Cv8.1CD.zip", allowEmpty: false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user