Skip to content

Commit

Permalink
Using native Git instead of JGit for better performance
Browse files Browse the repository at this point in the history
Not enabled in pom.xml for maximum portability.  Instead, enabled in Jenkins and developer scripts.
  • Loading branch information
ao-apps committed Sep 19, 2023
1 parent 7c3321d commit 1fcb306
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ if (!binding.hasVariable('failureEmailTo')) {
}

// Common settings
def mvnCommon = "-Dstyle.color=always -DrequireLastBuild=${params.requireLastBuild} -N -U -Pjenkins,POST-SNAPSHOT${extraProfiles.isEmpty() ? '' : (',' + extraProfiles.join(','))}"
def mvnCommon = "-Dstyle.color=always -Dmaven.gitcommitid.nativegit=true -DrequireLastBuild=${params.requireLastBuild} -N -U -Pjenkins,POST-SNAPSHOT${extraProfiles.isEmpty() ? '' : (',' + extraProfiles.join(','))}"
def buildPhases = 'clean process-test-classes'

// Determine nice command prefix or empty string for none
Expand Down
2 changes: 1 addition & 1 deletion all
Submodule all updated 2 files
+1 −1 Jenkinsfile
+1 −1 book/Jenkinsfile
2 changes: 1 addition & 1 deletion bom
Submodule bom updated 2 files
+1 −1 Jenkinsfile
+1 −1 book/Jenkinsfile
2 changes: 1 addition & 1 deletion book/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ if (!binding.hasVariable('failureEmailTo')) {
}

// Common settings
def mvnCommon = "-Dstyle.color=always -DrequireLastBuild=${params.requireLastBuild} -N -U -Pjenkins,POST-SNAPSHOT${extraProfiles.isEmpty() ? '' : (',' + extraProfiles.join(','))}"
def mvnCommon = "-Dstyle.color=always -Dmaven.gitcommitid.nativegit=true -DrequireLastBuild=${params.requireLastBuild} -N -U -Pjenkins,POST-SNAPSHOT${extraProfiles.isEmpty() ? '' : (',' + extraProfiles.join(','))}"
def buildPhases = 'clean process-test-classes'

// Determine nice command prefix or empty string for none
Expand Down
2 changes: 1 addition & 1 deletion model
Submodule model updated 2 files
+1 −1 Jenkinsfile
+1 −1 book/Jenkinsfile
2 changes: 1 addition & 1 deletion servlet
Submodule servlet updated 2 files
+1 −1 Jenkinsfile
+1 −1 book/Jenkinsfile
2 changes: 1 addition & 1 deletion style
Submodule style updated 2 files
+1 −1 Jenkinsfile
+1 −1 book/Jenkinsfile
2 changes: 1 addition & 1 deletion taglib
Submodule taglib updated 2 files
+1 −1 Jenkinsfile
+1 −1 book/Jenkinsfile
2 changes: 1 addition & 1 deletion view
Submodule view updated 2 files
+1 −1 Jenkinsfile
+1 −1 book/Jenkinsfile

0 comments on commit 1fcb306

Please sign in to comment.