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 620cb3c commit 648c83a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,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 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

0 comments on commit 648c83a

Please sign in to comment.