diff --git a/jenkins/release-workflows/release-manifest-commit-lock.jenkinsfile b/jenkins/release-workflows/release-manifest-commit-lock.jenkinsfile index 001474e6d7..b84cf9d6bd 100644 --- a/jenkins/release-workflows/release-manifest-commit-lock.jenkinsfile +++ b/jenkins/release-workflows/release-manifest-commit-lock.jenkinsfile @@ -190,7 +190,7 @@ pipeline { selectedComponents.each { componentName -> def existingComponent = existingManifest.components.find { it.name == componentName.name } if (existingComponent) { - def branchRef = params.RELEASE_VERSION.split('\\.')[0..1].join('.') + def branchRef = params.RELEASE_VERSION.split('\\.')[0..1].join('.').trim() existingComponent.ref = "'${branchRef}'" } }