File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ task buildImage(type: Exec) {
177177}
178178
179179buildImage. dependsOn prepareDockerFile
180- buildImage. enabled = isMasterBranch || project. hasProperty(" forceDockerBuild" )
180+ buildImage. enabled = ( isMasterBranch || isDevelopBranch ) || project. hasProperty(" forceDockerBuild" )
181181
182182task pushImage (type : Exec ) {
183183 if (project. hasProperty(" nexusUser" ) && project. hasProperty(" nexusPassword" )) {
@@ -192,7 +192,7 @@ task pushImage(type: Exec) {
192192}
193193
194194pushImage. dependsOn buildImage
195- pushImage. enabled = isMasterBranch && project. hasProperty(" nexusUser" ) && project. hasProperty(" nexusPassword" )
195+ pushImage. enabled = ( isMasterBranch || isDevelopBranch ) && project. hasProperty(" nexusUser" ) && project. hasProperty(" nexusPassword" )
196196
197197// gradle bootRun -PproxyHost=192.168.XX.XXX -PproxyPort=3128
198198project. ext. getJvmArgs = {
You can’t perform that action at this time.
0 commit comments