Skip to content

Commit

Permalink
[Tutorials and Agents Docs] Bump node LTS alpine docker image version…
Browse files Browse the repository at this point in the history
… to 20.18.0-alpine3.20 (#7583)

* 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>
  • Loading branch information
github-actions[bot] authored Oct 5, 2024
1 parent f89c483 commit 94619ca
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion STYLEGUIDE.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
10 changes: 5 additions & 5 deletions content/doc/book/pipeline/docker.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand All @@ -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'
}
Expand Down Expand Up @@ -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'
Expand All @@ -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'
}
}
Expand All @@ -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
----
Expand Down
4 changes: 2 additions & 2 deletions content/doc/pipeline/tour/agents.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand All @@ -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'
}
Expand Down
4 changes: 2 additions & 2 deletions content/doc/pipeline/tour/hello-world.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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'
}
}
Expand Down

0 comments on commit 94619ca

Please sign in to comment.