Skip to content

Commit 9d9184f

Browse files
author
zxBCN Valeriu_Tuguran,Constantin (IT EDP) EXTERNAL
committed
Update error message for missing preview branch.
1 parent a3983f8 commit 9d9184f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/org/ods/orchestration/util/MROPipelineUtil.groovy

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,8 @@ class MROPipelineUtil extends PipelineUtil {
349349
scmResult.scmBranch = repo.'preview-branch' ? repo.'preview-branch' : repo.defaultBranch
350350
} catch (ex) {
351351
if (repo.'preview-branch') {
352-
def errorMessage = "The preview branch configured for component " +
353-
"\"${repo.name ? repo.name : GitUtil.buildFullRepoName(project.getKey(), repo.id)} (preview-branch: ${repo.'preview-branch'})\" could not be found. " +
354-
"You can get in touch with our Support team here: https://confluence.biscrum.com/pages/viewpage.action?spaceKey=EDPON&title=Support."
352+
def errorMessage = "The preview branch configured for repository " +
353+
"\"${repo.name ? repo.name : GitUtil.buildFullRepoName(project.getKey(), repo.id)} (preview-branch: ${repo.'preview-branch'})\" could not be found."
355354
throw new RuntimeException(errorMessage)
356355
}
357356
throw ex

0 commit comments

Comments
 (0)