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 d1bf11e commit f047a65
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 @@ -477,7 +477,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 @@ -481,7 +481,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 f047a65

Please sign in to comment.