diff --git a/resources/default_pipeline_environment.yml b/resources/default_pipeline_environment.yml index f3b7b26ce..ca0ffa493 100644 --- a/resources/default_pipeline_environment.yml +++ b/resources/default_pipeline_environment.yml @@ -157,7 +157,7 @@ steps: dockerExecuteOnKubernetes: stashContent: [] stashIncludes: - workspace: '**/*.*' + workspace: '**/*' stashExcludes: workspace: 'nohup.out' githubPublishRelease: diff --git a/vars/dockerExecuteOnKubernetes.groovy b/vars/dockerExecuteOnKubernetes.groovy index 8736214e5..8ab146681 100644 --- a/vars/dockerExecuteOnKubernetes.groovy +++ b/vars/dockerExecuteOnKubernetes.groovy @@ -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) {