From 4eeee4513ccc42ad5c20430a4774e54c8ebc39e8 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Fri, 10 Apr 2026 16:44:21 +0800 Subject: [PATCH] use 24 as default; use 20 in autorest CI -- they will be removed soon --- eng/pipelines/jobs/build-autorest-mgmt.yml | 2 ++ eng/pipelines/jobs/build-autorest.yml | 2 ++ eng/pipelines/variables/globals.yml | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/jobs/build-autorest-mgmt.yml b/eng/pipelines/jobs/build-autorest-mgmt.yml index 6153b4f3af..3fffe1bbb4 100644 --- a/eng/pipelines/jobs/build-autorest-mgmt.yml +++ b/eng/pipelines/jobs/build-autorest-mgmt.yml @@ -11,6 +11,8 @@ jobs: variables: - template: /eng/pipelines/variables/globals.yml - template: /eng/pipelines/variables/image.yml + - name: NodeVersion + value: '20.x' pool: name: $(LINUXPOOL) diff --git a/eng/pipelines/jobs/build-autorest.yml b/eng/pipelines/jobs/build-autorest.yml index c9346e28ff..d4d3b89f33 100644 --- a/eng/pipelines/jobs/build-autorest.yml +++ b/eng/pipelines/jobs/build-autorest.yml @@ -11,6 +11,8 @@ jobs: variables: - template: /eng/pipelines/variables/globals.yml - template: /eng/pipelines/variables/image.yml + - name: NodeVersion + value: '20.x' pool: name: $(LINUXPOOL) diff --git a/eng/pipelines/variables/globals.yml b/eng/pipelines/variables/globals.yml index e03d00f765..ead3389b0d 100644 --- a/eng/pipelines/variables/globals.yml +++ b/eng/pipelines/variables/globals.yml @@ -1,6 +1,6 @@ variables: JavaVersion: '1.11' - NodeVersion: '20.x' + NodeVersion: '24.x' AutorestVersion: '3.7.2' # Sets the Maven log level to either the LogLevel passed in the manual pipeline run or the default 'warn'