Skip to content

Commit faf18b6

Browse files
authored
Merge pull request #5186 from JetBrains/playground/dollar-sign-escape-bugfix
Fix URL generation in BuildSitePages by correcting safe_branch syntax
2 parents 7761596 + bd4e2a4 commit faf18b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.teamcity/kotlinlang/builds/BuildSitePages.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ object BuildSitePages : BuildType({
123123
url="https://branch-.kotlin-web-site.labs.jb.gg"
124124
else
125125
branch="%teamcity.build.branch%"
126-
safe_branch="${'$'}{'$'}{branch//\//--}"
127-
url="https://branch-${'$'}{'$'}safe_branch.kotlin-web-site.labs.jb.gg"
126+
safe_branch="${'$'}{branch//\//--}"
127+
url="https://branch-${'$'}safe_branch.kotlin-web-site.labs.jb.gg"
128128
fi
129129
130130
echo " ##teamcity[buildStatus text='{build.status.text} ${'$'}{url}'] "

0 commit comments

Comments
 (0)