Skip to content

Commit 6bed9c3

Browse files
authored
Merge pull request #124 from Cognifide/satisfy-install-retry-default
Satisfy install retry default
2 parents ac20c41 + 3c57e2b commit 6bed9c3

6 files changed

Lines changed: 9 additions & 11 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ buildscript {
110110
}
111111
112112
dependencies {
113-
classpath 'com.cognifide.gradle:aem-plugin:3.0.2'
113+
classpath 'com.cognifide.gradle:aem-plugin:3.0.3'
114114
}
115115
}
116116

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group 'com.cognifide.gradle'
9-
version '3.0.2'
9+
version '3.0.3'
1010
description = 'Gradle AEM Plugin'
1111
defaultTasks = ['clean', 'build', 'publishToMavenLocal']
1212

src/main/kotlin/com/cognifide/gradle/aem/api/AemConfig.kt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,11 @@ class AemConfig(
6464
var deployInstanceList: String = propParser.string("aem.deploy.instance.list", "")
6565

6666
/**
67-
* Determines instance which will be used when:
68-
*
69-
* - CRX package activation from author to publishers will be performed (only if distributed deploy is enabled).
70-
* - Task 'aemCheckout' or 'aemSync' will be executed.
67+
* Determines instance which will be used when CRX package activation from author to publishers
68+
* will be performed (only if distributed deploy is enabled).
7169
*/
7270
@Input
73-
var deployInstanceAuthorName: String = "$deployEnvironment-${InstanceType.AUTHOR.type}"
71+
var deployInstanceAuthorName: String = propParser.string("aem.deploy.instance.author.name", "$deployEnvironment-${InstanceType.AUTHOR.type}")
7472

7573
/**
7674
* Defines maximum time after which initializing connection to AEM will be aborted (e.g on upload, install).
@@ -125,7 +123,7 @@ class AemConfig(
125123
* Repeat install when failed (brute-forcing).
126124
*/
127125
@Input
128-
var installRetryTimes: Int = propParser.int("aem.install.retry.times", 0)
126+
var installRetryTimes: Int = propParser.int("aem.install.retry.times", 3)
129127

130128
/**
131129
* Time to wait after repeating failed install.

src/test/resources/com/cognifide/gradle/aem/test/compose/assembly/gradle/buildscript.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ repositories {
66
}
77

88
dependencies {
9-
classpath 'com.cognifide.gradle:aem-plugin:3.0.2'
9+
classpath 'com.cognifide.gradle:aem-plugin:3.0.3'
1010
classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:3.5.0'
1111
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.21"
1212
}

src/test/resources/com/cognifide/gradle/aem/test/compose/bundle-and-content/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
}
77

88
dependencies {
9-
classpath 'com.cognifide.gradle:aem-plugin:3.0.2'
9+
classpath 'com.cognifide.gradle:aem-plugin:3.0.3'
1010
classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:3.5.0'
1111
}
1212
}

src/test/resources/com/cognifide/gradle/aem/test/debug/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
}
77

88
dependencies {
9-
classpath 'com.cognifide.gradle:aem-plugin:3.0.2'
9+
classpath 'com.cognifide.gradle:aem-plugin:3.0.3'
1010
}
1111
}
1212

0 commit comments

Comments
 (0)