From 65ca7be464b0acde62de876bc02cb6e5d8f4f364 Mon Sep 17 00:00:00 2001 From: Christian Dietrich Date: Tue, 4 Apr 2023 12:28:38 +0200 Subject: [PATCH] test tycho 5.0 Signed-off-by: Christian Dietrich [#2895] attempt to archive surefire reports in the hope to get a thread dump Signed-off-by: Christian Dietrich in timeout see #3073 add another 10 mins Signed-off-by: Christian Dietrich --- Jenkinsfile | 13 ++++++------- pom.xml | 9 ++++++++- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6917f17e5db..1369198a623 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,15 +6,14 @@ pipeline { } parameters { - choice(name: 'TARGET_PLATFORM', choices: ['r202203', 'r202206', 'r202209', 'r202212', 'r202303', 'r202306', 'r202309', 'r202312', 'r202403', 'r202406', 'r202409', 'latest'], description: 'Which Target Platform should be used?') + choice(name: 'TARGET_PLATFORM', choices: ['latest', 'r202203', 'r202206', 'r202209', 'r202212', 'r202303', 'r202306', 'r202309', 'r202312', 'r202403', 'r202406', 'r202409'], description: 'Which Target Platform should be used?') // see https://wiki.eclipse.org/Jenkins#JDK - choice(name: 'JDK_VERSION', choices: [ '11', '17', '21' ], description: 'Which JDK version should be used?') + choice(name: 'JDK_VERSION', choices: [ '17', '11', '21' ], description: 'Which JDK version should be used?') } triggers { - parameterizedCron(env.BRANCH_NAME == 'main' ? ''' - H H(0-1) * * * %TARGET_PLATFORM=r202203;JDK_VERSION=17 - H H(3-4) * * * %TARGET_PLATFORM=latest;JDK_VERSION=17 + parameterizedCron(env.BRANCH_NAME == 'cd_tycho50' ? ''' + H H(13-14) * * * %TARGET_PLATFORM=latest;JDK_VERSION=17 ''' : '') } @@ -66,7 +65,7 @@ pipeline { steps { xvnc(useXauthority: true) { sh """ - ./full-build.sh --tp=${selectedTargetPlatform()} \ + ./full-build.sh -Dsurefire.timeout=3000 --tp=${selectedTargetPlatform()} \ ${javaVersion() == 11 ? '--toolchains releng/toolchains.xml -Pstrict-jdk-11' : ''} \ ${javaVersion() == 17 ? '--toolchains releng/toolchains.xml -Pstrict-jdk-17' : ''} \ ${javaVersion() == 21 ? '-Pstrict-jdk-21' : ''} @@ -99,7 +98,7 @@ pipeline { archiveArtifacts artifacts: 'build/**, **/target/work/data/.metadata/.log, **/target/work/data/.metadata/bak*.log' } unsuccessful { - archiveArtifacts artifacts: 'org.eclipse.xtend.ide.swtbot.tests/screenshots/**, **/target/work/data/.metadata/.log, **/target/work/data/.metadata/bak*.log, **/hs_err_pid*.log' + archiveArtifacts artifacts: 'org.eclipse.xtend.ide.swtbot.tests/screenshots/**, **/target/work/data/.metadata/.log, **/target/work/data/.metadata/bak*.log, **/hs_err_pid*.log, **/target/surefire-reports/*' } cleanup { script { diff --git a/pom.xml b/pom.xml index 7d065ad5a2e..b54ea26fb34 100644 --- a/pom.xml +++ b/pom.xml @@ -125,7 +125,7 @@ ISO-8859-1 - 4.0.8 + 5.0.0-SNAPSHOT 11 11 @@ -873,6 +873,13 @@ + + + tycho-snapshots + https://repo.eclipse.org/content/repositories/tycho-snapshots/ + + + ossrh