allure-framework / allure-framework/allure2
Cannot generate the Allure report on Bamboo CI via Stages & jobs
- Dominant language
- HTML
- Stars
- 5.5k
- Forks
- 782
- Avg merge
- 2d 33m
- Merged PRs (30d)
- 16
Description
**Describe the bug**
I'm using:
- Java
- Gradle
- TestNG
- Selenium
- Browserstack
Cannot generate the Allure report on Bamboo CI via Stages & jobs. Allure report cannot be generated if you have more than one stage or job on Bamboo build plan. Stacktrace from bamboo: _Unknown error has occurred during Allure Build. Please refer the server logs for details._ Screenshots attached.
**Expected behavior**
My goal is to run multiple tests in parallel and grab the test result for each Bamboo stage or job.
**Screenshots**

**Environment (please complete the following information):**
| Allure Bamboo plugin version | 2.3.1 |
My build.gralde file:
```
plugins {
id "io.qameta.allure" version "2.8.1"
id 'java-library'
}
allprojects { project ->
apply plugin: 'io.qameta.allure'
allure {
version = '2.3.1'
autoconfigure = true
aspectjweaver = true
}
}
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
def regressionSuite = project.hasProperty("regressionSuite")
def lightSuite = project.hasProperty("lightSuite")
def smokeSuite = project.hasProperty("smokeSuite")
test {
useTestNG() {
dependsOn cleanTest
preserveOrder = true
groupByInstances = true
if (regressionSuite) {
suites "src/test/resources/regression.xml"
}
if (lightSuite) {
suites "src/test/resources/light.xml"
}
if (smokeSuite) {
suites "src/test/resources/smoke.xml"
}
}
systemProperties System.getProperties()
testLogging.showStandardStreams = true
}
dependencies {
compile group: 'com.browserstack', name: 'browserstack-local-java', version: '1.0.1'
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.141.59'
compile 'com.googlecode.json-simple:json-simple:1.1.1'
testCompile group: 'org.testng', name: 'testng', version: '6.14.3'
compile group: 'io.github.bonigarcia', name: 'webdrivermanager', version: '3.7.1'
compile group: 'io.qameta.allure', name: 'allure-testng', version: '2.13.0'
testCompile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
}
```
**Question:**
I'm running 55 web sites in parallel with the help of Browserstack(5 parallel executions) by changing the URL parameter in each stage/job on Bamboo. Now I can only see one report for whole build plan(probably the last executed stage/job)
Is it possible to get the report from "Stages & jobs" sections via Allure plugin on Bamboo CI somehow?
Contributor guide
Research direction
The issue provides a build.gralde configuration and identifies Allure Bamboo plugin 2.3.1, but no repository source file or test is named. Start by reproducing the failure with multiple Bamboo stages or jobs and inspect the Bamboo integration and server logs. Done means determining whether results from every stage or job can be collected into the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- ci-cd, testing
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100