Skip to content

Commit 76e245c

Browse files
committed
ci: fix pr commment message for windows e2e
1 parent 104b800 commit 76e245c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ci/Jenkinsfile.tests-e2e.windows

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pipeline {
6161
}
6262

6363
environment {
64-
PLATFORM = 'tests/e2e'
64+
PLATFORM = 'tests/e2e-windows'
6565

6666
SQUISH_DIR = 'C:\\squish-runner-9.0.1-qt-6.9'
6767
PYTHONPATH = "${SQUISH_DIR}\\lib;${SQUISH_DIR}\\bin;${SQUISH_DIR}\\lib\\python;${PYTHONPATH}"
@@ -232,10 +232,8 @@ pipeline {
232232
}
233233

234234
def setNewBuildName() {
235-
if (currentBuild.upstreamBuilds) {
236-
def parent = utils.parentOrCurrentBuild()
237-
currentBuild.displayName = parent.getFullDisplayName().minus('status-desktop » ')
238-
}
235+
def prMatch = params.BUILD_SOURCE =~ /PR-(\d+)/
236+
currentBuild.displayName = "PR${prMatch[0][1]}"
239237
}
240238

241239
def setBuildDescFromFile(fileNameOrPath) {

0 commit comments

Comments
 (0)