Skip to content

Commit e9cf8ac

Browse files
committed
openvscode version param
1 parent a2e7c9c commit e9cf8ac

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

build/integration/openvscode-server/Jenkinsfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pipeline {
1717

1818
parameters {
1919
string(name: 'engineDownloadUrl', defaultValue: 'https://jenkins.ivyteam.io/job/core_product-engine/job/master/lastSuccessfulBuild/artifact/workspace/ch.ivyteam.ivy.server.product/target/products/*_Slim_*.zip/*zip*/products.zip', description: 'engine that will be packaged')
20+
string(name: 'openvscodeVersion', defaultValue: 'v1.96.4', description: 'openvscode version that will be used')
2021
}
2122

2223
environment {
@@ -34,11 +35,11 @@ pipeline {
3435
sh 'npm install'
3536
sh 'npm run build:production'
3637
sh 'npm run download:engine ' + params.engineDownloadUrl
37-
sh 'wget https://github.com/gitpod-io/openvscode-server/releases/download/openvscode-server-v1.96.4/openvscode-server-v1.96.4-linux-x64.tar.gz'
38-
sh 'tar -xzf openvscode-server-v1.96.4-linux-x64.tar.gz'
39-
sh 'cp -r extension/. openvscode-server-v1.96.4-linux-x64/extensions/extension'
38+
sh 'wget https://github.com/gitpod-io/openvscode-server/releases/download/openvscode-server-${params.openvscodeVersion}/openvscode-server-${params.openvscodeVersion}-linux-x64.tar.gz'
39+
sh 'tar -xzf openvscode-server-${params.openvscodeVersion}-linux-x64.tar.gz'
40+
sh 'cp -r extension/. openvscode-server-${params.openvscodeVersion}-linux-x64/extensions/extension'
4041
sh 'nohup extension/AxonIvyEngine/bin/AxonIvyEngine &'
41-
sh 'nohup openvscode-server-v1.96.4-linux-x64/bin/openvscode-server --host 0.0.0.0 --without-connection-token --disable-workspace-trust --skip-welcome --skip-release-notes &'
42+
sh 'nohup openvscode-server-${params.openvscodeVersion}-linux-x64/bin/openvscode-server --host 0.0.0.0 --without-connection-token --disable-workspace-trust --skip-welcome --skip-release-notes &'
4243
sh 'npx playwright install --with-deps chromium'
4344
}
4445
}

playwright/playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { defineConfig } from '@playwright/test';
33
export default defineConfig({
44
use: {
55
permissions: ['clipboard-read'],
6-
trace: 'retain-on-failure',
6+
trace: 'on-first-retry',
77
screenshot: 'on',
8-
video: 'retain-on-failure'
8+
video: 'on-first-retry'
99
},
1010
testDir: './tests',
1111
workers: 1,

0 commit comments

Comments
 (0)