mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2025-01-07 13:23:36 +02:00
Merge pull request #107 from ivanmolodec/file-exist-bug
This commit is contained in:
commit
3a1c9fb80c
8
.github/workflows/gradle.yml
vendored
8
.github/workflows/gradle.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
- name: Build with Gradle
|
||||
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
|
||||
with:
|
||||
arguments: check
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
- name: Execute Gradle build
|
||||
run: ./gradlew check
|
||||
|
@ -110,5 +110,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")
|
||||
}
|
||||
}
|
||||
|
@ -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