GithubHelp home page GithubHelp logo

Comments (15)

fescobar avatar fescobar commented on May 8, 2024

@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.

erikpb avatar erikpb commented on May 8, 2024

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.

fescobar avatar fescobar commented on May 8, 2024

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.

erikpb avatar erikpb commented on May 8, 2024

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.

fescobar avatar fescobar commented on May 8, 2024

@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.

fescobar avatar fescobar commented on May 8, 2024

@erikpb what framework are you using?

from allure-docker-service.

erikpb avatar erikpb commented on May 8, 2024

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.

fescobar avatar fescobar commented on May 8, 2024

@erikpb if you have a mini project with your configuration would be better. Thanks

from allure-docker-service.

erikpb avatar erikpb commented on May 8, 2024

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.

testsuite.xml.txt

from allure-docker-service.

fescobar avatar fescobar commented on May 8, 2024

@erikpb I mean, if you can create a project using Behat with some empty tests using your configuration.

from allure-docker-service.

erikpb avatar erikpb commented on May 8, 2024

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.

fescobar avatar fescobar commented on May 8, 2024

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.

fescobar avatar fescobar commented on May 8, 2024

@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.

fescobar avatar fescobar commented on May 8, 2024

@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.

erikpb avatar erikpb commented on May 8, 2024

Fabulous! Will test it out and let you know if any further issues.

from allure-docker-service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.