Skip to content

Commit

Permalink
Pass requireLastBuild parameter to Maven
Browse files Browse the repository at this point in the history
  • Loading branch information
ao-apps committed Sep 8, 2023
1 parent d975300 commit a2e3712
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 -N -U -Pjenkins,POST-SNAPSHOT${extraProfiles.isEmpty() ? '' : (',' + extraProfiles.join(','))}"
def mvnCommon = "-Dstyle.color=always -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 -N -U -Pjenkins,POST-SNAPSHOT${extraProfiles.isEmpty() ? '' : (',' + extraProfiles.join(','))}"
def mvnCommon = "-Dstyle.color=always -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 a2e3712

Please sign in to comment.