Jenkins 中的浏览器堆栈报告配置不起作用

问题描述

在我与 Jenkins 集成的 browserstack 项目中。我可以看到执行工作正常。但我正在尝试配置浏览器堆栈报告但无法正常工作。而不是收到以下消息。

enter image description here

library(tidyverse)

# Combine the data
# id column contains the number of the dataframe from which the data comes from 
df <- bind_rows(data1,data2,.id = "id")

df %>%
  # Change to long format,add 1 to the columns number,as we Now added id column
  pivot_longer(cols = 4:6,names_to = 'Type',values_to = 'value') %>%
  # Transform value to x / 1
  mutate_at(vars(value),function(x) x / 1) %>%
  # Do plot 
  ggplot(aes(x = Year,y = value,fill = Type)) +
  # columns
  geom_col()+
  # Facets by two factors,groups and data source (id)
  facet_grid(group ~ id) 

# Save plot to pdf
ggsave("my_plot.pdf",device = "pdf",height = 15,width = 20,units = "cm",dpi = 300)

尝试在 Jenkins 中获取浏览器堆栈报告,这有助于通过报告访问视频

解决方法

我了解您无法生成 Browserstack Jenkins 报告。

您可以参考以下链接,其中提供了有关如何将 Jenkins 报告与 Browserstack 集成的详细分步信息。 https://www.browserstack.com/docs/automate/selenium/jenkins#introduction

如果您有任何其他疑问,可以联系 support@browserstack.com,我们将很乐意为您提供帮助。