Sign inSign up

extsoft/allure-docker-example

By extsoft

Updated almost 10 years ago

Demonstrate Allure report in a Docker env

Image
1

1.3K

extsoft/allure-docker-example repository overview

allure-docker-example

The purpose of this repo is to build an example of how to use Allure + Junit + Docker. Branch master: Build Status Branch develop: Build Status

Docker Hub tags

  • latest tag - latest release version
  • develop-latest tag - latest stable dev version

How to run

Pure Docker
  1. Run Docker image with required tag (example is pointed to latest release version):
  • docker run -it -p 8000:80 extsoft/allure-docker-example:latest
  1. Open Allure report on your host machine:
Store Allure HTML report to local environment
  1. docker run -it -p 8000:80 -v "$PWD/allure-report:/allure-docker-example/allure-report" extsoft/allure-docker-example:latest
  2. Open index.html from "$PWD/allure-report"

Development

Build and run without Docker
  1. gradle
  2. java -javaagent:build/libs/deps/aspectjweaver-1.8.0.jar -jar build/libs/allure-docker-example-1.2.0.jar
  3. allure generate -o allure-report allure-result
  4. allure report open -p 8000
Build image locally

docker build -t extsoft/allure-docker-example .

License

Copyright 2016 Dmytro Serdiuk <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Tag summary

Content type

Image

Digest

Size

334.7 MB

Last updated

almost 10 years ago

docker pull extsoft/allure-docker-example