Skip to content

Commit 59dbbc2

Browse files
committed
Merge branch 'develop' into feature/credentials
2 parents a615eaf + eb1287c commit 59dbbc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ task buildImage(type: Exec) {
177177
}
178178

179179
buildImage.dependsOn prepareDockerFile
180-
buildImage.enabled = isMasterBranch || project.hasProperty("forceDockerBuild")
180+
buildImage.enabled = (isMasterBranch || isDevelopBranch ) || project.hasProperty("forceDockerBuild")
181181

182182
task pushImage(type: Exec) {
183183
if (project.hasProperty("nexusUser") && project.hasProperty("nexusPassword")) {
@@ -192,7 +192,7 @@ task pushImage(type: Exec) {
192192
}
193193

194194
pushImage.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
198198
project.ext.getJvmArgs = {

0 commit comments

Comments
 (0)