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 Jun 26, 2024
1 parent 2284822 commit afe22ee
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ pipeline {
}

triggers {
parameterizedCron(env.BRANCH_NAME == 'cd_tycho40' ? '''
H H(12-13) * * * %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 @@ -62,7 +62,7 @@ pipeline {
steps {
xvnc(useXauthority: true) {
sh """
./full-build.sh --tp=${selectedTargetPlatform()} \
./full-build.sh -Dsurefire.timeout=3000 --tp=${selectedTargetPlatform()} \
${javaVersion() == 17 ? '' : '--toolchains releng/toolchains.xml -Pstrict-release-jdk'}
"""
}
Expand Down Expand Up @@ -93,7 +93,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 @@ -126,7 +126,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 @@ -848,6 +848,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 afe22ee

Please sign in to comment.