Don't save the projectKey if temp is specified.
This commit is contained in:
parent
0f995f08ca
commit
72e9fbec28
1 changed files with 2 additions and 2 deletions
|
@ -239,8 +239,8 @@ class VersionEyePlugin @Inject constructor(val configActor: ConfigActor<VersionE
|
|||
warn("Unexpected response from VersionEye: " + (o.get("error").asString ?: response.message()))
|
||||
return TaskResult()
|
||||
} else {
|
||||
// Get project key
|
||||
if (projectKey.isNullOrBlank()) {
|
||||
// Get & set project key
|
||||
if (projectKey.isNullOrBlank() && !config.temp) {
|
||||
projectKey = o.get("id").asString
|
||||
p.setProperty(PROJECT_KEY_PROPERTY, projectKey)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue