From 52963ca4918fb8f7b8f573d6035df40f1303e95a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Mon, 16 Oct 2023 14:36:06 +0200 Subject: [PATCH] Fix Jenkinsfile for Node 18 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - rhel 9 is configured with ipv6 on jenkins, we need ipv4 so back to rhel 8 - vscode-extension-tester requires Node 18.15.x, we cannot play tests on Jenkins for now. they are played on GitHub Actions Signed-off-by: Aurélien Pupier --- Jenkinsfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 94e411b3..b43eda2f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,7 @@ def installBuildRequirements(){ sh "npm install --global yarn" } -node('rhel9'){ +node('rhel8'){ stage 'Checkout vscode-kaoto code' deleteDir() @@ -20,11 +20,12 @@ node('rhel9'){ sh "yarn build:dev" sh "yarn build:prod" - stage('Test') { - wrap([$class: 'Xvnc']) { - sh "yarn test:it" - } - } +// Because vscode-extension-tester requires Node 18.15.x, we cannot play tests on Jenkins for now. they are played on GitHub Actions +// stage('Test') { +// wrap([$class: 'Xvnc']) { +// sh "yarn test:it" +// } +// } stage 'Package vscode-kaoto' def packageJson = readJSON file: 'package.json'