You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
teamcity does not set the branch name to any env by default. It have a teamcity.build.branch parameter though, which can be passed into the gradle explicitly. With something like -Dteamcity.build.branch=%teamcity.build.branch%
And then read via System.getProperty("teamcity.build.branch")
The text was updated successfully, but these errors were encountered:
The code in
BranchProperty
class for branch detection in Teamcity won't work:teamcity does not set the branch name to any env by default. It have a
teamcity.build.branch
parameter though, which can be passed into the gradle explicitly. With something like-Dteamcity.build.branch=%teamcity.build.branch%
And then read via
System.getProperty("teamcity.build.branch")
The text was updated successfully, but these errors were encountered: