From fc4e482038771936c523bea98bdeb22bf82f31a8 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 | 12 ++++++------ pom.xml | 9 ++++++++- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e7a3b6f29db..d145b31a187 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,18 +6,18 @@ pipeline { } parameters { - choice(name: 'TARGET_PLATFORM', choices: ['r202403', 'r202406', 'r202409', 'r202412', '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: [ '17', '21' ], description: 'Which JDK version should be used?') + choice(name: 'JDK_VERSION', choices: [ '21' , '17'], description: 'Which JDK version should be used?') } triggers { - parameterizedCron(env.BRANCH_NAME == 'main' ? ''' - H H(0-1) * * * %TARGET_PLATFORM=r202403;JDK_VERSION=17 - H H(3-4) * * * %TARGET_PLATFORM=latest;JDK_VERSION=21 + parameterizedCron(env.BRANCH_NAME == 'cd_tycho50' ? ''' + H H(13-14) * * * %TARGET_PLATFORM=latest;JDK_VERSION=17 ''' : '') } + options { buildDiscarder(logRotator(numToKeepStr:'10')) disableConcurrentBuilds() @@ -97,7 +97,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 c87422ac047..24f9bbff2f9 100644 --- a/pom.xml +++ b/pom.xml @@ -125,7 +125,7 @@ ISO-8859-1 - 4.0.10 + 5.0.0-SNAPSHOT 17 17 @@ -848,6 +848,13 @@ + + + tycho-snapshots + https://repo.eclipse.org/content/repositories/tycho-snapshots/ + + + ossrh