Add build scan tag for all pull request builds (#47889)
This commit is contained in:
parent
b2dc98562b
commit
2d98fec247
|
@ -1,4 +1,3 @@
|
||||||
import nebula.plugin.info.scm.ScmInfoExtension
|
|
||||||
import org.elasticsearch.gradle.OS
|
import org.elasticsearch.gradle.OS
|
||||||
|
|
||||||
buildScan {
|
buildScan {
|
||||||
|
@ -37,6 +36,7 @@ buildScan {
|
||||||
value 'Git Branch', System.getenv('ghprbTargetBranch')
|
value 'Git Branch', System.getenv('ghprbTargetBranch')
|
||||||
tag System.getenv('ghprbTargetBranch')
|
tag System.getenv('ghprbTargetBranch')
|
||||||
tag "pr/${System.getenv('ghprbPullId')}"
|
tag "pr/${System.getenv('ghprbPullId')}"
|
||||||
|
tag 'pull-request'
|
||||||
link 'Source', "https://github.com/elastic/elasticsearch/tree/${System.getenv('ghprbActualCommit')}"
|
link 'Source', "https://github.com/elastic/elasticsearch/tree/${System.getenv('ghprbActualCommit')}"
|
||||||
link 'Pull Request', System.getenv('ghprbPullLink')
|
link 'Pull Request', System.getenv('ghprbPullLink')
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue