diff --git a/resources/default_pipeline_environment.yml b/resources/default_pipeline_environment.yml index ee30b56d5..6cc05e438 100644 --- a/resources/default_pipeline_environment.yml +++ b/resources/default_pipeline_environment.yml @@ -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' diff --git a/test/groovy/SnykExecuteTest.groovy b/test/groovy/SnykExecuteTest.groovy index 48cab9a7b..137b838aa 100644 --- a/test/groovy/SnykExecuteTest.groovy +++ b/test/groovy/SnykExecuteTest.groovy @@ -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')) }