[release] Remove superfluous slash in URL

This commit is contained in:
Jiri Pechanec 2024-08-02 08:24:03 +02:00
parent 5d80f283d0
commit 544f61d574

View File

@ -512,7 +512,7 @@ node('release-node') {
modifyFile('Dockerfile') { modifyFile('Dockerfile') {
def ret = it def ret = it
.replaceFirst('DEBEZIUM_VERSION="\\S+"', "DEBEZIUM_VERSION=\"$RELEASE_VERSION\"") .replaceFirst('DEBEZIUM_VERSION="\\S+"', "DEBEZIUM_VERSION=\"$RELEASE_VERSION\"")
.replaceFirst('MAVEN_REPO_CENTRAL="[^"]*"', "MAVEN_REPO_CENTRAL=\"$STAGING_REPO/$STAGING_REPO_ID/\"") .replaceFirst('MAVEN_REPO_CENTRAL="[^"]*"', "MAVEN_REPO_CENTRAL=\"$STAGING_REPO/$STAGING_REPO_ID\"")
.replaceFirst('MAVEN_REPOS_ADDITIONAL="[^"]*"', "MAVEN_REPOS_ADDITIONAL=\"$additionalRepoList\"") .replaceFirst('MAVEN_REPOS_ADDITIONAL="[^"]*"', "MAVEN_REPOS_ADDITIONAL=\"$additionalRepoList\"")
for (entry in sums) { for (entry in sums) {
ret = ret.replaceFirst("${entry.key}_MD5=\\S+", "${entry.key}_MD5=${entry.value}") ret = ret.replaceFirst("${entry.key}_MD5=\\S+", "${entry.key}_MD5=${entry.value}")
@ -538,7 +538,7 @@ node('release-node') {
} }
modifyFile('Dockerfile') { modifyFile('Dockerfile') {
it it
.replaceFirst('MAVEN_REPO_CENTRAL="[^"]*"', "MAVEN_REPO_CENTRAL=\"$STAGING_REPO/$serverStagingRepoId/\"") .replaceFirst('MAVEN_REPO_CENTRAL="[^"]*"', "MAVEN_REPO_CENTRAL=\"$STAGING_REPO/$serverStagingRepoId\"")
.replaceAll('DEBEZIUM_VERSION=\\S+', "DEBEZIUM_VERSION=$RELEASE_VERSION") .replaceAll('DEBEZIUM_VERSION=\\S+', "DEBEZIUM_VERSION=$RELEASE_VERSION")
.replaceFirst('SERVER_MD5=\\S+', "SERVER_MD5=$serverSum") .replaceFirst('SERVER_MD5=\\S+', "SERVER_MD5=$serverSum")
} }
@ -557,7 +557,7 @@ node('release-node') {
} }
modifyFile('Dockerfile') { modifyFile('Dockerfile') {
it it
.replaceFirst('MAVEN_REPO_CENTRAL="[^"]*"', "MAVEN_REPO_CENTRAL=\"$STAGING_REPO/$operatorStagingRepoId/\"") .replaceFirst('MAVEN_REPO_CENTRAL="[^"]*"', "MAVEN_REPO_CENTRAL=\"$STAGING_REPO/$operatorStagingRepoId\"")
.replaceFirst('DEBEZIUM_VERSION=\\S+', "DEBEZIUM_VERSION=$RELEASE_VERSION") .replaceFirst('DEBEZIUM_VERSION=\\S+', "DEBEZIUM_VERSION=$RELEASE_VERSION")
.replaceFirst('OPERATOR_MD5=\\S+', "OPERATOR_MD5=$operatorSum") .replaceFirst('OPERATOR_MD5=\\S+', "OPERATOR_MD5=$operatorSum")
} }