Comments (15)
@erikpb that doc is for Allure1, allure-docker-service is using Allure2.
Did you read how to implement that on Allure2?
from allure-docker-service.
Sorry I mean the parameters at https://docs.qameta.io/allure/#_jenkins. Didn’t see anything in your doc about it unless I’m missing something?
from allure-docker-service.
This is a docker container to use in kubernetes, docker-compose or locally with docker. If you want to use Allure on Jenkins you need to install Allure Plugin on the master machine on jenkins server as it said in the doc that you shared me
https://wiki.jenkins.io/plugins/servlet/mobile?contentId=72419280#content/view/72419280
from allure-docker-service.
Sorry for not being clear. My question is basically how can I set parameters such as allure.tests.management.pattern when running a container based on your image. I know how to do it when running Allure in Jenkins and was hoping to be able to do it when running your container too.
from allure-docker-service.
@erikpb Give me a few days to try that. I will add the documentation or I'll do some changes if it's not supported. Thank you.
from allure-docker-service.
@erikpb what framework are you using?
from allure-docker-service.
I'm using Behat with the Allure Behat https://github.com/allure-framework/allure-behat plugin to generate the XML files.
from allure-docker-service.
@erikpb if you have a mini project with your configuration would be better. Thanks
from allure-docker-service.
Below is an example of a file that is generated.
The content of the issue and testid tags appear in the Link section when viewing the scenario in Allure, however it appears like http://localhost:4040/AP014 and I want to be able to specify something like https://my-issue-manager.com/AP014.
from allure-docker-service.
@erikpb I mean, if you can create a project using Behat with some empty tests using your configuration.
from allure-docker-service.
Unfortunately it's a corporate project with lots of dependencies so that won't work. However if I run that same file via the Jenkins Allure set up it generates the links correctly. There must be some sort of command line configuration but having looked through the Allure documentation I haven't found any.
from allure-docker-service.
Hi @erikpb I've done this simple example. Execute in the root composer install
and after that vendor/bin/behat
. Can you set up that example to generate allure-results
folder in the project with the results files and upload it here?
frank-behat.zip
I need this to check if the fix it's working.
Thank you.
from allure-docker-service.
@erikpb Also, could you add all files from your allure-results
directory? I need to see if it's rendered properly in the Allure report, only I have the xml testsuite.xml
, if you want you could update some confidential data.
from allure-docker-service.
@erikpb I have the solution. It's documented here: https://github.com/fescobar/allure-docker-service#using-allure-options.
Just you need to add ALLURE_OPTS
environment variable to your container with the values -Dallure.tests.management.pattern=https://example.org/tms/%s -Dallure.issues.tracker.pattern=https://example.org/issue/%s
allure-behat
is using allure1, it should use allure2. For that reason, you need this configuration. I see there is no other framework for behat
.
Try and let me know if it worked for you.
from allure-docker-service.
Fabulous! Will test it out and let you know if any further issues.
from allure-docker-service.
Related Issues (20)
- ls: cannot access '/app/allure-docker-api/static/projects/default/reports': No such file or directory HOT 2
- Doing any updates on vulnerabilities in 2.21.0 version HOT 1
- Users/Roles HOT 1
- Use S3 as volume for reports HOT 1
- Can you upload docker image with newest version of Allure(2.24) ? HOT 1
- not creting project HOT 1
- The access token has expired - redirect to login page? HOT 1
- Skip create Report leatest folder HOT 1
- Issue with Allure Docker Service for Multiple Maven Projects HOT 1
- Is there a way to see more than 20 reports in dropdown on UI?
- Is this project actively maintained? HOT 1
- Testcase history tab showing same date time
- Testcase history tab showing same date time for different runs
- Testcase history tab showing same date time for different runs HOT 3
- Error Generating Report API: 'Processing files for project_id 'project_demo'. Please Retry Later.' HOT 5
- Status Code 413 when sending highpayload HOT 2
- Integration with s3 as a storage for reports HOT 1
- Ignore index.html in the URL
- Project name convention
- If there is a "0" in the project name, the script does not clear old reports. HOT 1
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-docker-service.