From 94619ca3440c87092a0602b7603c5b77de22534a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 13:07:46 +0000 Subject: [PATCH] [Tutorials and Agents Docs] Bump node LTS alpine docker image version to 20.18.0-alpine3.20 (#7583) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update the value of the node docker image in the 'Using Docker... ... with Pipeline' documentation Made with ❤️️ by updatecli * chore: Update the value of the node docker image in the 'Using Docker... ... with Pipeline' documentation Made with ❤️️ by updatecli * chore: Update the value of the node docker image in the 'Jenkins Docu... ... mentation Style Guide' documentation Made with ❤️️ by updatecli * chore: Update the value of the node docker image in the 'Defining exe... ... cution environments' documentation Made with ❤️️ by updatecli * chore: Update the value of the node docker image for scripts in the '... ... Hello World!' tutorial Made with ❤️️ by updatecli --------- Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> --- STYLEGUIDE.adoc | 2 +- content/doc/book/pipeline/docker.adoc | 10 +++++----- content/doc/pipeline/tour/agents.adoc | 4 ++-- content/doc/pipeline/tour/hello-world.adoc | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) 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' } }