1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-03-03 15:02:35 +02:00

Refactor stash

This commit is contained in:
Sven Merk 2019-03-25 14:00:57 +01:00
parent 7de9718e13
commit cbc81acaa5
2 changed files with 6 additions and 6 deletions

View File

@ -325,9 +325,9 @@ steps:
- 'buildDescriptor'
- 'opensourceConfiguration'
golang:
buildDescriptorFile: './glide.yaml'
dockerImage: 'fabiorphp/golang-glide:1.11-stretch'
dockerWorkspace: '/home/glide'
buildDescriptorFile: './Gopkg.toml'
dockerImage: 'golang:1.12-stretch'
dockerWorkspace: '/home/dep'
stashContent:
- 'buildDescriptor'
- 'opensourceConfiguration'
@ -356,7 +356,7 @@ steps:
pipelineStashFilesBeforeBuild:
runCheckmarx: false
stashIncludes:
buildDescriptor: '**/pom.xml, **/.mvn/**, **/assembly.xml, **/.swagger-codegen-ignore, **/package.json, **/requirements.txt, **/setup.py, **/whitesource_config.py, **/mta*.y*ml, **/.npmrc, **/whitesource.*.json, **/whitesource-fs-agent.config, Dockerfile, **/VERSION, **/version.txt, **/glide.*, **/Gopkg.*, **/build.sbt, **/sbtDescriptor.json, **/project/*'
buildDescriptor: '**/pom.xml, **/.mvn/**, **/assembly.xml, **/.swagger-codegen-ignore, **/package.json, **/requirements.txt, **/setup.py, **/whitesource_config.py, **/mta*.y*ml, **/.npmrc, **/whitesource.*.json, **/whitesource-fs-agent.config, Dockerfile, **/VERSION, **/version.txt, **/Gopkg.*, **/build.sbt, **/sbtDescriptor.json, **/project/*'
deployDescriptor: '**/manifest*.y*ml, **/*.mtaext.y*ml, **/*.mtaext, **/xs-app.json, helm/**, *.y*ml'
git: '**/gitmetadata/**'
opa5: '**/*.*'

View File

@ -77,8 +77,8 @@ class WhitesourceConfigurationHelper implements Serializable {
[name: 'go.resolveDependencies', value: true, force: true],
[name: 'go.ignoreSourceFiles', value: true, force: true],
[name: 'go.collectDependenciesAtRuntime', value: true],
[name: 'go.dependencyManager', value: 'glide'],
[name: 'includes', value: '**/glide.yaml **/glide.lock'],
[name: 'go.dependencyManager', value: ''],
[name: 'includes', value: '**/*.lock'],
[name: 'excludes', value: '**/*sources.jar **/*javadoc.jar'],
[name: 'case.sensitive.glob', value: false],
[name: 'followSymbolicLinks', value: true]