mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
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:
parent
bd32367c31
commit
dde4e0abef
@ -157,7 +157,7 @@ steps:
|
||||
dockerExecuteOnKubernetes:
|
||||
stashContent: []
|
||||
stashIncludes:
|
||||
workspace: '**/*.*'
|
||||
workspace: '**/*'
|
||||
stashExcludes:
|
||||
workspace: 'nohup.out'
|
||||
githubPublishRelease:
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user