title: Cannot compute absolute URL when generating Allure report with plugin in Jenkins
body: <p>Cannot generate Allure report in Jenkins after test execution. 
  Get such error in console output: </p>
  
  <pre><code>    &gt; ERROR: Build step failed with exception
      &gt; java.lang.IllegalStateException: Root URL isn't configured yet. Cannot
      &gt; compute absolute URL. at
      &gt; hudson.model.AbstractItem.getAbsoluteUrl(AbstractItem.java:483) at
      &gt; ru.yandex.qatools.allure.jenkins.AllureReportPublisher.generateReport(AllureReportPublisher.java:169)
      &gt; at
      &gt; ru.yandex.qatools.allure.jenkins.AllureReportPublisher.perform(AllureReportPublisher.java:93)
      &gt; at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      &gt; at
      &gt; hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      &gt; at
      &gt; hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      &gt; at
      &gt; hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1047)
      &gt; at
      &gt; hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      &gt; at hudson.model.Run.execute(Run.java:1745) at
      &gt; hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at
      &gt; hudson.model.ResourceController.execute(ResourceController.java:98) at
      &gt; hudson.model.Executor.run(Executor.java:410) Build step 'Allure
      &gt; Report' marked build as failure Finished: FAILURE
  </code></pre>
  
  <p>In my project I use TestNG, here is and example of my pom.xml file: </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;groupId&gt;com.paycasso&lt;/groupId&gt;
      &lt;artifactId&gt;test-app&lt;/artifactId&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  
      &lt;properties&gt;
          &lt;allure.version&gt;1.4.11&lt;/allure.version&gt;
          &lt;aspectj.version&gt;1.8.5&lt;/aspectj.version&gt;
          &lt;suite&gt;smokeSuite&lt;/suite&gt;
          &lt;user&gt;stg01&lt;/user&gt;
          &lt;pwd&gt;verify10&lt;/pwd&gt;
          &lt;env&gt;staging01&lt;/env&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.testng&lt;/groupId&gt;
              &lt;artifactId&gt;testng&lt;/artifactId&gt;
              &lt;version&gt;6.8&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
              &lt;artifactId&gt;selenium-firefox-driver&lt;/artifactId&gt;
              &lt;version&gt;2.53.0&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;io.appium&lt;/groupId&gt;
              &lt;artifactId&gt;java-client&lt;/artifactId&gt;
              &lt;version&gt;3.4.1&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;ru.yandex.qatools.allure&lt;/groupId&gt;
              &lt;artifactId&gt;allure-testng-adaptor&lt;/artifactId&gt;
              &lt;version&gt;${allure.version}&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.19.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;suiteXmlFiles&gt;
                          &lt;suiteXmlFile&gt;${suite}.xml&lt;/suiteXmlFile&gt;
                      &lt;/suiteXmlFiles&gt;
                      &lt;parallel&gt;methods&lt;/parallel&gt;
                      &lt;threadCount&gt;10&lt;/threadCount&gt;
                      &lt;testFailureIgnore&gt;false&lt;/testFailureIgnore&gt;
                      &lt;argLine&gt;
                          -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
                      &lt;/argLine&gt;
                      &lt;systemPropertyVariables&gt;
                          &lt;user&gt;${user}&lt;/user&gt;
                          &lt;password&gt;${pwd}&lt;/password&gt;
                          &lt;environment&gt;https://${env}-api.paycasso.com&lt;/environment&gt;
                      &lt;/systemPropertyVariables&gt;
                  &lt;/configuration&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
                          &lt;artifactId&gt;aspectjweaver&lt;/artifactId&gt;
                          &lt;version&gt;${aspectj.version}&lt;/version&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.6&lt;/source&gt;
                      &lt;target&gt;1.6&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;reporting&gt;
          &lt;excludeDefaults&gt;true&lt;/excludeDefaults&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;ru.yandex.qatools.allure&lt;/groupId&gt;
                  &lt;artifactId&gt;allure-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.0&lt;/version&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/reporting&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>When i'm trying to generate report from console using <code>mvn test</code> command everything works good. </p>
  
  <p>Please help to clarify where i'm wrong.</p>