-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add capability to pass Host/Port config when running gradle task "allureServe" #57
Comments
This PR adds Please feel free to try it and provide feedback |
How to use it with Gradle? This does not work:
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? |
Which plugin version do you use? |
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. |
Please upgrade. https://github.com/allure-framework/allure-gradle#basic-usage
|
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. |
Please check "verification" task group, the tasks should be there. |
Oh, yeah, thank you again! |
I updated to 2.9.6 and was able to run allureServe with specific host created this task thank you |
I'm submitting a ...
What is the current behavior?
When running "gradle allureServe" i cannot specify what host/port i want the reports to be served on.
running Allure command line "allure serve" give the ability to specify host/port if needed
$> allure serve -h 127.0.0.1 -p 3030
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behavior?
i expect for gradle task "allureServe" to have same flexibility as "serve" command line
so i can setup host/port as part of the configuration
What is the motivation / use case for changing the behavior?
for data privacy we cannot use the tool if it upload results to hosts outside our domain
Please tell us about your environment:
Other information
this is what i think can be a fast fix, based on my limited knowledge of the code
The text was updated successfully, but these errors were encountered: