Skip to content

Commit

Permalink
test tycho 5.0
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Dietrich <[email protected]>

[#2895] attempt to archive surefire reports in the hope to get a thread dump

Signed-off-by: Christian Dietrich <[email protected]>

in timeout see #3073

add another 10 mins

Signed-off-by: Christian Dietrich <[email protected]>
  • Loading branch information
cdietrich committed Sep 16, 2024
1 parent da17d82 commit 65ca7be
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
13 changes: 6 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
''' : '')
}

Expand Down Expand Up @@ -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' : ''}
Expand Down Expand Up @@ -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 {
Expand Down
9 changes: 8 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@

<properties>
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
<tycho-version>4.0.8</tycho-version>
<tycho-version>5.0.0-SNAPSHOT</tycho-version>

<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
Expand Down Expand Up @@ -873,6 +873,13 @@
</plugins>
</build>

<pluginRepositories>
<pluginRepository>
<id>tycho-snapshots</id>
<url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
</pluginRepository>
</pluginRepositories>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
Expand Down

0 comments on commit 65ca7be

Please sign in to comment.