Add build scan tag for all pull request builds (#47889)

This commit is contained in:
Mark Vieira 2019-10-11 15:37:35 -07:00
parent b2dc98562b
commit 2d98fec247
No known key found for this signature in database
GPG Key ID: CA947EF7E6D4B105
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,3 @@
import nebula.plugin.info.scm.ScmInfoExtension
import org.elasticsearch.gradle.OS
buildScan {
@ -37,6 +36,7 @@ buildScan {
value 'Git Branch', System.getenv('ghprbTargetBranch')
tag System.getenv('ghprbTargetBranch')
tag "pr/${System.getenv('ghprbPullId')}"
tag 'pull-request'
link 'Source', "https://github.com/elastic/elasticsearch/tree/${System.getenv('ghprbActualCommit')}"
link 'Pull Request', System.getenv('ghprbPullLink')
} else {