Public | Automated Build

Last pushed: 10 months ago
Short Description
Demonstrate Allure report in a Docker env
Full Description

allure-docker-example

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

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
  2. 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 <dmytro.serdiuk@gmail.com>

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.
Docker Pull Command
Owner
extsoft
Source Repository

Comments (0)