From 544f61d5740b7cae6519dab41daf3cc35885aae6 Mon Sep 17 00:00:00 2001 From: Jiri Pechanec Date: Fri, 2 Aug 2024 08:24:03 +0200 Subject: [PATCH] [release] Remove superfluous slash in URL --- jenkins-jobs/pipelines/release/release-pipeline.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jenkins-jobs/pipelines/release/release-pipeline.groovy b/jenkins-jobs/pipelines/release/release-pipeline.groovy index 6dcb4d555..7828ee2b1 100644 --- a/jenkins-jobs/pipelines/release/release-pipeline.groovy +++ b/jenkins-jobs/pipelines/release/release-pipeline.groovy @@ -512,7 +512,7 @@ node('release-node') { modifyFile('Dockerfile') { def ret = it .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\"") for (entry in sums) { ret = ret.replaceFirst("${entry.key}_MD5=\\S+", "${entry.key}_MD5=${entry.value}") @@ -538,7 +538,7 @@ node('release-node') { } modifyFile('Dockerfile') { 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") .replaceFirst('SERVER_MD5=\\S+', "SERVER_MD5=$serverSum") } @@ -557,7 +557,7 @@ node('release-node') { } modifyFile('Dockerfile') { 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('OPERATOR_MD5=\\S+', "OPERATOR_MD5=$operatorSum") }