Plugin : Allure - getReportUrl returns incorrect Url
nalexeyev opened this issue Β· comments
Plugin Name
allure
π Description
The method in AllureApiClient.ts:28 adds index.html in the end.
However it is not accepted by Allure Docker Service.
π Expected behavior
Remove index.html in the end of AllureApiClient.ts:28
Or add some ALLURE_NO_INDEX_HTML_FILE env variable to AppConfig to enable/disable it
π Actual Behavior with Screenshots
π Reproduction steps
- Deploy allure-docker-service in k8s using https://github.com/fescobar/allure-docker-service-examples/tree/master/allure-docker-kubernetes-example
- Use istio ingress (not gateway) instead on nginx as following
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: allure-ingress-service-load-balancer
namespace: allure-docker-service
annotations:
kubernetes.io/ingress.class: istio
spec:
tls:
- hosts:
- myhost.io
secretName: allure-tlscert-selfsigned
rules:
- host: myhost.io
http:
paths:
- path: /allure-api/
pathType: Prefix
backend:
service:
name: allure-service-load-balancer
port:
number: 6060
- path: /
pathType: Prefix
backend:
service:
name: allure-service-load-balancer
port:
number: 7070
- Observe that plugin creates project urls with index.html, but allure-service does not accept them
π Provide the context for the Bug.
No response
π Have you spent some time to check if this bug has been raised before?
- I checked and didn't find similar issue
π’ Have you read the Code of Conduct?
- I have read the Code of Conduct
Are you willing to submit PR?
None