fix: add stash for pipeline custom defaults (#1381)

This commit is contained in:
Christopher Fenner
2020-04-08 16:00:02 +02:00
committed by GitHub
parent c190deee44
commit 3308243685
@@ -43,6 +43,8 @@ void call(Map parameters = [:]) {
writeFile file: ".pipeline/${cd}", text: libraryResource(cd)
}
stash name: 'pipelineConfigAndTests', includes: '.pipeline/**', allowEmpty: true
String configFile = parameters.get('configFile')
loadConfigurationFromFile(script, configFile)