title: How to generate Allure Report programmatically - after end of test suite
body: <p>How to generate Allure report from Java code?<br />
  Right now I'm using terminal together with allure-comandline as <code> allure generate build/allure-results --clean</code><br />
  I'd like to automatically generate it after end of test suite. I did some research and found this <a href="https://mvnrepository.com/artifact/io.qameta.allure/allure-generator" rel="nofollow noreferrer">https://mvnrepository.com/artifact/io.qameta.allure/allure-generator</a> but unfortunately this doesn't work or I don't know how to use it properly.<br />
  Also tried this:</p>
  <pre><code>new AllureReportBuilder(&quot;1.5.4&quot;, new File(&quot;build/allure-report&quot;)).unpackFace(); 
  new AllureReportBuilder(&quot;1.5.4&quot;, new File(&quot;build/allure-report&quot;)).processResults(new File(&quot;build/allure-results&quot;));
  </code></pre>
  <p>Anyone have working code? Thanks!</p>