Use https when publishing to sonatype

Otherwise, NoHttpResponseException may happen sporadically
This commit is contained in:
Denis Zharkov
2018-10-22 12:01:57 +03:00
parent ca152fed12
commit cbbc0eae8c
+1 -1
View File
@@ -30,7 +30,7 @@ preparePublication {
}
def repoId = rootNode.data.stagedRepositoryId.text()
ext.repoUrl = "http://oss.sonatype.org/service/local/staging/deployByRepositoryId/$repoId/".toString()
ext.repoUrl = "https://oss.sonatype.org/service/local/staging/deployByRepositoryId/$repoId/".toString()
println "##teamcity[setParameter name='system.deploy-url' value='${repoUrl}']"
}
}