Skip to content

Commit f2e8d66

Browse files
committed
ci: fix missing REPO_URL
1 parent ba51733 commit f2e8d66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.ci/Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ pipeline {
66
agent { label 'ubuntu-20.04 && immutable' }
77
environment {
88
REPO = "elastic-agent-changelog-tool"
9+
REPO_URL = "https://github.com/elastic/${env.REPO}"
910
BASE_DIR = "src/github.com/elastic/${env.REPO}"
1011
JOB_GIT_CREDENTIALS = "f6c7695a-671e-4f4f-a331-acdce44ff9ba"
1112
PIPELINE_LOG_LEVEL = 'INFO'
@@ -91,7 +92,7 @@ pipeline {
9192
}
9293
success {
9394
notifyStatus(slackStatus: 'good', subject: "[${env.REPO}] Release *${env.TAG_NAME}* published",
94-
body: "Build: (<${env.RUN_DISPLAY_URL}|here>)\n<${env.REPO_URL?.trim()}|Go to repo> <${env.REPO_URL?.trim()}/releases/tag/${env.TAG_NAME}|Go to release>")
95+
body: "Build: (<${env.RUN_DISPLAY_URL}|here>)\n<${env.REPO_URL}|Go to repo> <${env.REPO_URL}/releases/tag/${env.TAG_NAME}|Go to release>")
9596
}
9697
}
9798
}

0 commit comments

Comments
 (0)