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 efa36288057..cf7782d432c 100644 --- a/pom.xml +++ b/pom.xml @@ -125,7 +125,7 @@ ISO-8859-1 - 4.0.9 + 5.0.0-SNAPSHOT 11 11 @@ -874,6 +874,13 @@ + + + tycho-snapshots + https://repo.eclipse.org/content/repositories/tycho-snapshots/ + + + ossrh