Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
ao-apps committed Sep 19, 2023
2 parents f2247f7 + 7c3321d commit b6f1e6c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 28 deletions.
11 changes: 1 addition & 10 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -949,16 +949,7 @@ void deploySteps(niceCmd, projectDir, deployJdk, maven, mavenOpts, mavenOptsJdk1
mavenLocalRepo: ".m2/repository-jdk-$deployJdk",
jdk: "jdk-$deployJdk"
) {
// "publish" profile may not be enabled at the same time as "development" profile,
// disable for any project that always has "development" profile enabled.
sh """#!/bin/bash
if [ -f profile.d/development ]
then
${niceCmd}$MVN_CMD $mvnCommon -Pnexus,jenkins-deploy deploy
else
${niceCmd}$MVN_CMD $mvnCommon -Pnexus,jenkins-deploy,publish deploy
fi
"""
sh "${niceCmd}$MVN_CMD $mvnCommon -Pnexus,jenkins-deploy,publish deploy"
}
// Restore surefire-reports
sh restoreSurefireReportsScript()
Expand Down
2 changes: 1 addition & 1 deletion all
Submodule all updated 2 files
+1 −10 Jenkinsfile
+1 −10 book/Jenkinsfile
2 changes: 1 addition & 1 deletion bom
Submodule bom updated 2 files
+1 −10 Jenkinsfile
+1 −10 book/Jenkinsfile
11 changes: 1 addition & 10 deletions book/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -964,16 +964,7 @@ void deploySteps(niceCmd, projectDir, deployJdk, maven, mavenOpts, mavenOptsJdk1
mavenLocalRepo: ".m2/repository-jdk-$deployJdk",
jdk: "jdk-$deployJdk"
) {
// "publish" profile may not be enabled at the same time as "development" profile,
// disable for any project that always has "development" profile enabled.
sh """#!/bin/bash
if [ -f profile.d/development ]
then
${niceCmd}$MVN_CMD $mvnCommon -Pnexus,jenkins-deploy deploy
else
${niceCmd}$MVN_CMD $mvnCommon -Pnexus,jenkins-deploy,publish deploy
fi
"""
sh "${niceCmd}$MVN_CMD $mvnCommon -Pnexus,jenkins-deploy,publish deploy"
}
// Restore surefire-reports
sh restoreSurefireReportsScript()
Expand Down
2 changes: 1 addition & 1 deletion model
Submodule model updated 2 files
+1 −10 Jenkinsfile
+1 −10 book/Jenkinsfile
2 changes: 1 addition & 1 deletion renderer-html
2 changes: 1 addition & 1 deletion servlet
Submodule servlet updated 2 files
+1 −10 Jenkinsfile
+1 −10 book/Jenkinsfile
2 changes: 1 addition & 1 deletion style
Submodule style updated 2 files
+1 −10 Jenkinsfile
+1 −10 book/Jenkinsfile
2 changes: 1 addition & 1 deletion taglib
Submodule taglib updated 2 files
+1 −10 Jenkinsfile
+1 −10 book/Jenkinsfile
2 changes: 1 addition & 1 deletion view
Submodule view updated 2 files
+1 −10 Jenkinsfile
+1 −10 book/Jenkinsfile

0 comments on commit b6f1e6c

Please sign in to comment.