diff --git a/STYLEGUIDE.adoc b/STYLEGUIDE.adoc index 0b85e482e1fd..3836fbc13735 100644 --- a/STYLEGUIDE.adoc +++ b/STYLEGUIDE.adoc @@ -115,7 +115,7 @@ node { // Declarative // pipeline { - agent { docker { image 'node:22.12.0-alpine3.21' } } + agent { docker { image 'node:22.13.0-alpine3.21' } } stages { stage('Build') { sh 'npm install' diff --git a/content/doc/book/pipeline/docker.adoc b/content/doc/book/pipeline/docker.adoc index 237a1fa24cbb..8a6d86e6b32f 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:22.12.0-alpine3.21' } + docker { image 'node:22.13.0-alpine3.21' } } stages { stage('Test') { @@ -45,7 +45,7 @@ pipeline { // Script // node { /* Requires the Docker Pipeline plugin to be installed */ - docker.image('node:22.12.0-alpine3.21').inside { + docker.image('node:22.13.0-alpine3.21').inside { stage('Test') { sh 'node --eval "console.log(process.platform,process.env.CI)"' } @@ -177,7 +177,7 @@ pipeline { } stage('Front-end') { agent { - docker { image 'node:22.12.0-alpine3.21' } + docker { image 'node:22.13.0-alpine3.21' } } steps { sh 'node --version' @@ -196,7 +196,7 @@ node { } stage('Front-end') { - docker.image('node:22.12.0-alpine3.21').inside { + docker.image('node:22.13.0-alpine3.21').inside { sh 'node --version' } } @@ -214,7 +214,7 @@ Reusing an example from above, with a more custom `Dockerfile`: .Dockerfile [source] ---- -FROM node:22.12.0-alpine3.21 +FROM node:22.13.0-alpine3.21 RUN apk add -U subversion ---- diff --git a/content/doc/pipeline/tour/agents.adoc b/content/doc/pipeline/tour/agents.adoc index 3b89c0457d88..ffb21bdce3ce 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:22.12.0-alpine3.21' } + docker { image 'node:22.13.0-alpine3.21' } } stages { stage('Test') { @@ -61,7 +61,7 @@ pipeline { // Script // node { /* Requires the Docker Pipeline plugin to be installed */ - docker.image('node:22.12.0-alpine3.21').inside { + docker.image('node:22.13.0-alpine3.21').inside { stage('Test') { sh 'node --eval "console.log(process.arch,process.platform)"' } diff --git a/content/doc/pipeline/tour/hello-world.adoc b/content/doc/pipeline/tour/hello-world.adoc index bd3eca84c367..fb2358c12432 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:22.12.0-alpine3.21' } } + agent { docker { image 'node:22.13.0-alpine3.21' } } stages { stage('build') { steps { @@ -96,7 +96,7 @@ pipeline { /* Requires the Docker Pipeline plugin */ node { stage('Build') { - docker.image('node:22.12.0-alpine3.21').inside { + docker.image('node:22.13.0-alpine3.21').inside { sh 'node --version' } }