Closed axel3rd closed 3 years ago
Re-tested with TeamCity 2019.2, the behavior is the same (PR detected as branch).
=> The root cause is probably linked to #82 (switch to BuildStartContextProcessor
).
TeamCity Plugin Development requested for advice: BuildStartContextProcessor prerequisites build feature.
I've answered in the forum thread. Basically it's needed to implement PositionAware interface.
@Linfar : 👊 (😗 #NotCovidCompliant).
Lakhnau-2020.1
(not sure which is the best to use compared to master
).Merged (#90) in Lakhnau-2020.1 branch. Plugin available in dedicated TeamCity build.
Since TeamCity 2020.1.5 (build 78938) upgrade, the Branches & PullRequests feature doesn't work.
A pull-request is detected as branch, viewable in logs:
The TeamCity parameters "seems" correct:
But not detected by:
https://github.com/JetBrains/TeamCity.SonarQubePlugin/blob/9a43bb0c144ddc2ccfb51855f8283bbb666ec844/sonar-plugin-server/src/main/java/jetbrains/buildserver/sonarplugin/buildfeatures/BranchesAndPullRequestsParametersPreprocessor.java#L63-L64