Skip to content

Commit

Permalink
HSEARCH-4924 Jenkinsfile: set gib.disableSelectedProjectsHandling in …
Browse files Browse the repository at this point in the history
…default build
  • Loading branch information
yrodiere committed Aug 28, 2023
1 parent bd5df7a commit 26ef2c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -414,11 +414,14 @@ stage('Default build') {

echo "Running integration tests in the default environment."
String allITProjects = sh(script: "./ci/list-dependent-integration-tests.sh hibernate-search-engine", returnStdout: true).trim()
// We want to run relevant integration test modules only (see array of module names)
// and in PRs we want to run only those affected by changes
// (see gib.disableSelectedProjectsHandling=true).
String itMavenArgs = """ \
${commonMavenArgs} \
-pl ${allITProjects} \
${incrementalBuild ? """ \
-Dincremental \
-Dincremental -Dgib.disableSelectedProjectsHandling=true \
-Dgib.referenceBranch=refs/remotes/origin/${helper.scmSource.pullRequest.target.name} \
""" : '' } \
"""
Expand Down

0 comments on commit 26ef2c8

Please sign in to comment.