Skip to content

Commit 41b9ba7

Browse files
committed
Adjust which ORM snapshot versions are tested
1 parent 760b465 commit 41b9ba7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ci/dependency-update/Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
// Also make sure to update the parameters in the parameters {} section of the pipeline.
1010
Map settings() {
1111
switch (env.DEPENDENCY_UPDATE_NAME) {
12-
case 'orm7.1':
12+
case 'orm':
1313
return [
1414
updateProperties: ['version.org.hibernate.orm'],
1515
onlyRunTestDependingOn: ['hibernate-search-mapper-orm'],
16-
// just rebuild all dependants since ORM7 upgrade will affect all mappers
16+
// just rebuild all dependants since ORM upgrade will affect all mappers
1717
additionalMavenArgs: '-am'
1818
]
1919
case 'lucene9.12':
@@ -142,7 +142,7 @@ pipeline {
142142
parameters {
143143
// choice parameter doesn't have a default, but the first value should be treated as a default, if it wasn't specified manually.
144144
// Make sure tp update axis and settings() when adding new choice parameter.
145-
choice(name: 'UPDATE_JOB', choices: ['all', 'orm7.1', 'lucene9.12','lucene9', 'lucene10', 'lucene-future', 'elasticsearch-current', 'elasticsearch-next'], description: 'Select which update jobs to run. `All` will include all configured update jobs.')
145+
choice(name: 'UPDATE_JOB', choices: ['all', 'orm', 'lucene9.12','lucene9', 'lucene10', 'lucene-future', 'elasticsearch-current', 'elasticsearch-next'], description: 'Select which update jobs to run. `All` will include all configured update jobs.')
146146
string(name: 'ORM_REPOSITORY', defaultValue: '', description: 'Git URL to Hibernate ORM repository. If provided, Hibernate ORM will be built locally. Works only in pair with ORM_BRANCH. Provide an http repository URL rather than an ssh one.')
147147
string(name: 'ORM_BRANCH', defaultValue: '', description: 'Hibernate ORM branch to build from. If provided, Hibernate ORM will be built locally. Works only in pair with ORM_REPOSITORY. Either a pull request ID or a branch name should be provided, but not both at the same time. Use branch if you want to build from a fork repository.')
148148
string(name: 'ORM_PULL_REQUEST_ID', defaultValue: '', description: 'Hibernate ORM pull request id to build from. If provided, Hibernate ORM will be built locally. Works only in pair with ORM_REPOSITORY. Either a pull request ID or a branch name should be provided, but not both at the same time.')
@@ -243,7 +243,7 @@ pipeline {
243243
name 'DEPENDENCY_UPDATE_NAME'
244244
// NOTE: Remember to update the settings() method above when changing this.
245245
// And also add a new choice parameter in the parameters {} section of the pipeline
246-
values 'orm7.1', 'lucene9.12','lucene9', 'lucene10', 'lucene-future', 'elasticsearch-current', 'elasticsearch-next'
246+
values 'orm', 'lucene9.12','lucene9', 'lucene10', 'lucene-future', 'elasticsearch-current', 'elasticsearch-next'
247247
}
248248
}
249249
stages {

ci/dependency-update/rules-orm7.1.xml renamed to ci/dependency-update/rules-orm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
<ignoreVersion type="regex">.*\.(Alpha|Beta|CR).*</ignoreVersion>
88
<!-- Restrict allowed versions to a particular major/minor, because forbidding major/minor upgrades
99
in the version-maven-plugin configuration doesn't always work for some reason. -->
10-
<ignoreVersion type="regex">(?!7\.1\.).*</ignoreVersion>
10+
<ignoreVersion type="regex">^([0-6]\.\d+|7\.[0-1])\..*</ignoreVersion>
1111
</ignoreVersions>
1212
</ruleset>

0 commit comments

Comments
 (0)