Skip to content

Commit

Permalink
[#2149] build nightly with tycho 4.0.0-SNAPSHOT
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Dietrich <[email protected]>
  • Loading branch information
cdietrich committed Aug 22, 2024
1 parent 692cc7b commit 74aaf77
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
14 changes: 9 additions & 5 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', 'latest'], description: 'Which Target Platform should be used?')
choice(name: 'TARGET_PLATFORM', choices: ['latest', 'r202203', 'r202206', 'r202209', 'r202212', 'r202303', 'r202306', 'r202309', 'r202312', 'r202403', 'r202406'], 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: ['21', '11', '17'], 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_tycho40' ? '''
H H(12-13) * * * %TARGET_PLATFORM=latest;JDK_VERSION=17
''' : '')
}

Expand All @@ -25,9 +24,14 @@ pipeline {
}

tools {
<<<<<<< HEAD
// the Java version we use to run the build
// we force the effective JDK version for compilation/testing through Maven toolchains
jdk "temurin-jdk21-latest"
=======
maven "apache-maven-3.9.1"
jdk "temurin-jdk17-latest"
>>>>>>> e4910d2598 ([#2149] build nightly with tycho 4.0.0-SNAPSHOT)
}

stages {
Expand Down
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,12 @@
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>tycho-snapshots</id>
<url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
</pluginRepository>
</pluginRepositories>

<profiles>
<profile>
Expand Down

0 comments on commit 74aaf77

Please sign in to comment.