You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was observed that when running the serenity cucumber starter project with Serenity 4.2.6, when using the json plugin the json report does not generate in a Gitlab CI/CD pipeline when using Gradle.
However, when the automation is running locally on machine (MacOS), the report generates successfully.
What did you expect to happen?
Report generates in Gitlab CI/CD.
Serenity BDD version
4.2.6
JDK version
jdk17
Execution environment
Using docker image:
gradle:jdk17-alpine
How to reproduce the bug.
Setup a gitlab project with the follow .gitlab-ci.yml, and serenity cucumber starter project.
test:
image: gradle:jdk17-alpine
before_script:
- chmod +x ./gradlew
script:
- ./gradlew test
CucumberTestSuite.java: @suite
@IncludeEngines("cucumber")
@SelectClasspathResource("/features")
@ConfigurationParameter(key = PLUGIN_PROPERTY_NAME, value = "io.cucumber.core.plugin.SerenityReporterParallel,pretty,timeline:build/test-results/timeline,json:target/cucumber/cucumber_report.json")
public class CucumberTestSuite {
}
How can we make it happen?
Add it to the Serenity BDD backlog and wait for a volunteer to pick it up
The text was updated successfully, but these errors were encountered:
Works on:
distributionUrl=https://services.gradle.org/distributions/gradle-7.6.4-bin.zip
distributionUrl=https://services.gradle.org/distributions/gradle-8.7-bin.zip
Stops working starting at:
distributionUrl=https://services.gradle.org/distributions/gradle-8.8-bin.zip
Sound's like it's related to Gradle versions. Please feel free to propose a PR or request commercial support if this is important to your organisation and/or if you need it fixed in a defined time frame.
What happened?
It was observed that when running the serenity cucumber starter project with Serenity 4.2.6, when using the json plugin the json report does not generate in a Gitlab CI/CD pipeline when using Gradle.
However, when the automation is running locally on machine (MacOS), the report generates successfully.
What did you expect to happen?
Report generates in Gitlab CI/CD.
Serenity BDD version
4.2.6
JDK version
jdk17
Execution environment
Using docker image:
gradle:jdk17-alpine
How to reproduce the bug.
Setup a gitlab project with the follow .gitlab-ci.yml, and serenity cucumber starter project.
test:
image: gradle:jdk17-alpine
before_script:
- chmod +x ./gradlew
script:
- ./gradlew test
gradle-wrapper.properties:
distributionUrl=https://services.gradle.org/distributions/gradle-8.10.2-bin.zip
CucumberTestSuite.java:
@suite
@IncludeEngines("cucumber")
@SelectClasspathResource("/features")
@ConfigurationParameter(key = PLUGIN_PROPERTY_NAME, value = "io.cucumber.core.plugin.SerenityReporterParallel,pretty,timeline:build/test-results/timeline,json:target/cucumber/cucumber_report.json")
public class CucumberTestSuite {
}
How can we make it happen?
Add it to the Serenity BDD backlog and wait for a volunteer to pick it up
The text was updated successfully, but these errors were encountered: