Fixed pom name.
This commit is contained in:
parent
1bfa3f8823
commit
acbd20c0ba
1 changed files with 2 additions and 4 deletions
|
@ -165,7 +165,7 @@ class VersionEyePlugin @Inject constructor(val configActor: ConfigActor<VersionE
|
||||||
val requestBody = MultipartBody.Builder()
|
val requestBody = MultipartBody.Builder()
|
||||||
.setType(MultipartBody.FORM)
|
.setType(MultipartBody.FORM)
|
||||||
.addFormDataPart("name", name)
|
.addFormDataPart("name", name)
|
||||||
.addFormDataPart(filePartName, "${config.name}.pom",
|
.addFormDataPart(filePartName, "$name.pom",
|
||||||
RequestBody.create(MediaType.parse("application/octet-stream"), pom))
|
RequestBody.create(MediaType.parse("application/octet-stream"), pom))
|
||||||
|
|
||||||
// Set organisation
|
// Set organisation
|
||||||
|
@ -385,9 +385,7 @@ class VersionEyeConfig() {
|
||||||
if (failSet.isNotEmpty()) {
|
if (failSet.isNotEmpty()) {
|
||||||
failSet.clear()
|
failSet.clear()
|
||||||
}
|
}
|
||||||
args.forEach {
|
failSet.addAll(args)
|
||||||
failSet.add(it)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue