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

align used node images

This commit is contained in:
Christopher Fenner 2018-07-03 14:17:47 +02:00
parent e2f2329984
commit 12cf07a73d
No known key found for this signature in database
GPG Key ID: 749881F766EA636F
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ steps:
tests: ''
snykExecute:
buildDescriptorFile: './package.json'
dockerImage: 'node:8.11.2-stretch'
dockerImage: 'node:8-stretch'
exclude: []
monitor: true
scanType: 'npm'

View File

@ -87,7 +87,7 @@ class SnykExecuteTest extends BasePiperTest {
)
assertThat(withCredentialsParameters.credentialsId, is('myPassword'))
assertThat(jder.dockerParams, hasEntry('dockerImage', 'node:8.11.2-stretch'))
assertThat(jder.dockerParams, hasEntry('dockerImage', 'node:8-stretch'))
assertThat(jder.dockerParams.stashContent, hasItem('buildDescriptor'))
assertThat(jder.dockerParams.stashContent, hasItem('opensourceConfiguration'))
}