This is an automated email from the ASF dual-hosted git repository.

snuyanzin pushed a commit to branch release-1.20
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.20 by this push:
     new 33b4010725f [hotfix][ci] Use `includeOnlyProperties` only for JGit
33b4010725f is described below

commit 33b4010725f5932c2256413a296474e2f600c206
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Sat Oct 31 21:25:15 2026 +0100

    [hotfix][ci] Use `includeOnlyProperties` only for JGit
---
 flink-runtime/pom.xml   | 8 ++++++++
 tools/ci/maven-utils.sh | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/flink-runtime/pom.xml b/flink-runtime/pom.xml
index e26133d249a..12760b98e0b 100644
--- a/flink-runtime/pom.xml
+++ b/flink-runtime/pom.xml
@@ -352,6 +352,14 @@ under the License.
                                        <skipPoms>false</skipPoms>
                                        
<failOnNoGitDirectory>false</failOnNoGitDirectory>
                                        
<failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>
+                                       <!-- Only the properties used in 
.flink-runtime.version.properties;
+                                               skipping the others avoids e.g. 
the remote fetch -->
+                                       <includeOnlyProperties>
+                                               
<includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
+                                               
<includeOnlyProperty>^git.commit.id.abbrev$</includeOnlyProperty>
+                                               
<includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
+                                               
<includeOnlyProperty>^git.build.time$</includeOnlyProperty>
+                                       </includeOnlyProperties>
                                        <gitDescribe>
                                                <!-- Don't generate the 
describe property -->
                                                <!-- It is useless due to the 
way Flink does branches and tags -->
diff --git a/tools/ci/maven-utils.sh b/tools/ci/maven-utils.sh
index fc673e2dd0c..b650dcad9ec 100755
--- a/tools/ci/maven-utils.sh
+++ b/tools/ci/maven-utils.sh
@@ -76,7 +76,7 @@ 
MVN_GLOBAL_OPTIONS_WITHOUT_MIRROR+="-Dmaven.wagon.http.pool=false "
 MVN_GLOBAL_OPTIONS_WITHOUT_MIRROR+="-Daether.connector.basic.threads=16 "
 # fetch POMs in parallel while collecting dependencies (default collector "df" 
is sequential)
 MVN_GLOBAL_OPTIONS_WITHOUT_MIRROR+="-Daether.dependencyCollector.impl=bf 
-Daether.dependencyCollector.bf.threads=16 "
-# logging 
+# logging
 MVN_GLOBAL_OPTIONS_WITHOUT_MIRROR+="-Dorg.slf4j.simpleLogger.showDateTime=true 
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss.SSS 
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
 "
 # suppress snapshot updates
 MVN_GLOBAL_OPTIONS_WITHOUT_MIRROR+="--no-snapshot-updates "

Reply via email to