Comments (9)
This PR adds --host
and --port
parameters to allureServe
and allureAggregateServe
tasks: #61
Please feel free to try it and provide feedback
from allure-gradle.
How to use it with Gradle? This does not work: ./gradlew allureServe --host localhost
Unknown command-line option '--host'.
The problem is that the IP address which Allure serve picks is wrong on the developer MacBooks of some colleges. Why? I have no idea. But with "localhost" for the host it works. How can we configure that Allure serve uses "localhost" instead of any other IP address which does not work on some computers?
from allure-gradle.
Which plugin version do you use?
from allure-gradle.
The version of io.qameta.allure is 2.8.1. We are still using Gradle 6.9, I think newer plugin versions require at least Gradle 7.
from allure-gradle.
Please upgrade.
https://github.com/allure-framework/allure-gradle#basic-usage
Note: 2.9+ requires Gradle 5.0+
from allure-gradle.
I upgraded the Allure plugin to 2.9.4, the option --host now can be used, thank you. But in IntelliJ it does not display anymore the Gradle tasks "allureReport" and "allureServe". If I want them back I have to add the tasks myself in our project I guess.
from allure-gradle.
Please check "verification" task group, the tasks should be there.
from allure-gradle.
Oh, yeah, thank you again!
from allure-gradle.
I updated to 2.9.6 and was able to run allureServe with specific host
created this task
task('localAllureServe', type: Exec, group: 'verification') {
executable './gradlew'
args 'allureServe', '--host', 'localhost'
}
thank you
from allure-gradle.
Related Issues (20)
- allureServe/allureReport task failing after the second run if category.json is saved under test/resources
- Allure result json doesn't contain any indication of group annotation when running a test which is executed as gradle task
- Invalid output property causes Gradle build cache miss
- Add support for Spock2 HOT 4
- Last version of Allure plugin (gradle) does not work properly HOT 3
- Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. HOT 1
- Add option to generate a single-file report via Gradle task
- Instead of the "allureServe" gradle task, the "test" task is executed HOT 1
- Allure gradle plugin causes execution of additonal test sets as part of build task HOT 3
- spi-off transformer should be disabled in case autoconfigure=false
- Able use custom java sdk HOT 2
- No reports are generated when using latest Allure version (2.16.1) HOT 3
- Allure commandline is downloaded into `build/allure` folder, but previously it was donwloaded into `.allure` folder in the project root HOT 1
- Issue integrating allure-plugin into build-conventions HOT 1
- Allure does not work together with reckon plugin HOT 2
- Aspectj dumps ajcore.txt files when applying allure-gradle plugin in project with spring-boot HOT 12
- Allure reports not generating after upgrading allure version from 2.8.1 to 2.9.4 HOT 2
- Example for report aggregation? HOT 1
- ClassCastException with Gradle 7.5-milestone-1 HOT 11
- Ignoring Aspectj version in allureAspectjWeaverAgent and allure extension without explicit implementation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allure-gradle.