1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

Fix regression introduced with #474 (#483)

Fix stashing behavior to include all files in workspace.
This was for example an issue for PR-voting in Docker pipeline since `Dockerfile` has been excluded from stashing
This commit is contained in:
Oliver Nocon 2019-02-05 09:07:47 +01:00 committed by GitHub
parent bd32367c31
commit dde4e0abef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ steps:
dockerExecuteOnKubernetes:
stashContent: []
stashIncludes:
workspace: '**/*.*'
workspace: '**/*'
stashExcludes:
workspace: 'nohup.out'
githubPublishRelease:

View File

@ -122,7 +122,7 @@ chown -R 1000:1000 ."""
stash(
name: stashName,
includes: config.stashIncludes.workspace,
excludes: config.stashExcludes.excludes
excludes: config.stashExcludes.workspace
)
return stashName
} catch (AbortException | IOException e) {