Skip to content

Commit

Permalink
Fix Jenkinsfile for Node 18
Browse files Browse the repository at this point in the history
- 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 <apupier@redhat.com>
  • Loading branch information
apupier committed Oct 16, 2023
1 parent 979bd90 commit 52963ca
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def installBuildRequirements(){
sh "npm install --global yarn"
}

node('rhel9'){
node('rhel8'){

stage 'Checkout vscode-kaoto code'
deleteDir()
Expand All @@ -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'
Expand Down

0 comments on commit 52963ca

Please sign in to comment.