diff --git a/STYLEGUIDE.adoc b/STYLEGUIDE.adoc index 44d2a24d1c6a..a8b848a6f513 100644 --- a/STYLEGUIDE.adoc +++ b/STYLEGUIDE.adoc @@ -115,7 +115,7 @@ node { // Declarative // pipeline { - agent { docker { image 'node:20.17.0-alpine3.20' } } + agent { docker { image 'node:20.18.0-alpine3.20' } } stages { stage('Build') { sh 'npm install' diff --git a/content/doc/book/pipeline/docker.adoc b/content/doc/book/pipeline/docker.adoc index f2a2407ca498..7f99d5c74284 100644 --- a/content/doc/book/pipeline/docker.adoc +++ b/content/doc/book/pipeline/docker.adoc @@ -32,7 +32,7 @@ Any tool that can be link:https://hub.docker.com[packaged in a Docker container] // Declarative // pipeline { agent { - docker { image 'node:20.17.0-alpine3.20' } + docker { image 'node:20.18.0-alpine3.20' } } stages { stage('Test') { @@ -45,7 +45,7 @@ pipeline { // Script // node { /* Requires the Docker Pipeline plugin to be installed */ - docker.image('node:20.17.0-alpine3.20').inside { + docker.image('node:20.18.0-alpine3.20').inside { stage('Test') { sh 'node --version' } @@ -173,7 +173,7 @@ pipeline { } stage('Front-end') { agent { - docker { image 'node:20.17.0-alpine3.20' } + docker { image 'node:20.18.0-alpine3.20' } } steps { sh 'node --version' @@ -192,7 +192,7 @@ node { } stage('Front-end') { - docker.image('node:20.17.0-alpine3.20').inside { + docker.image('node:20.18.0-alpine3.20').inside { sh 'node --version' } } @@ -210,7 +210,7 @@ Reusing an example from above, with a more custom `Dockerfile`: .Dockerfile [source] ---- -FROM node:20.17.0-alpine3.20 +FROM node:20.18.0-alpine3.20 RUN apk add -U subversion ---- diff --git a/content/doc/pipeline/tour/agents.adoc b/content/doc/pipeline/tour/agents.adoc index 9ff66bedba70..ca8beca034a1 100644 --- a/content/doc/pipeline/tour/agents.adoc +++ b/content/doc/pipeline/tour/agents.adoc @@ -48,7 +48,7 @@ link:/doc/book/pipeline/syntax#agent[syntax reference]. // Declarative // pipeline { agent { - docker { image 'node:20.17.0-alpine3.20' } + docker { image 'node:20.18.0-alpine3.20' } } stages { stage('Test') { @@ -61,7 +61,7 @@ pipeline { // Script // node { /* Requires the Docker Pipeline plugin to be installed */ - docker.image('node:20.17.0-alpine3.20').inside { + docker.image('node:20.18.0-alpine3.20').inside { stage('Test') { sh 'node --version' } diff --git a/content/doc/pipeline/tour/hello-world.adoc b/content/doc/pipeline/tour/hello-world.adoc index 245b3330da92..bb7f335838b2 100644 --- a/content/doc/pipeline/tour/hello-world.adoc +++ b/content/doc/pipeline/tour/hello-world.adoc @@ -83,7 +83,7 @@ node { // Declarative // /* Requires the Docker Pipeline plugin */ pipeline { - agent { docker { image 'node:20.17.0-alpine3.20' } } + agent { docker { image 'node:20.18.0-alpine3.20' } } stages { stage('build') { steps { @@ -96,7 +96,7 @@ pipeline { /* Requires the Docker Pipeline plugin */ node { stage('Build') { - docker.image('node:20.17.0-alpine3.20').inside { + docker.image('node:20.18.0-alpine3.20').inside { sh 'node --version' } }