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 22.13.0-alpine3.21 (#7804)

* 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 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 'Using Docker...

...  with Pipeline' 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 Jan 8, 2025
1 parent 6e74b10 commit 10a2a45
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:22.12.0-alpine3.21' } }
agent { docker { image 'node:22.13.0-alpine3.21' } }
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:22.12.0-alpine3.21' }
docker { image 'node:22.13.0-alpine3.21' }
}
stages {
stage('Test') {
Expand All @@ -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)"'
}
Expand Down Expand Up @@ -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'
Expand All @@ -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'
}
}
Expand All @@ -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
----
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:22.12.0-alpine3.21' }
docker { image 'node:22.13.0-alpine3.21' }
}
stages {
stage('Test') {
Expand All @@ -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)"'
}
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:22.12.0-alpine3.21' } }
agent { docker { image 'node:22.13.0-alpine3.21' } }
stages {
stage('build') {
steps {
Expand All @@ -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'
}
}
Expand Down

0 comments on commit 10a2a45

Please sign in to comment.