Configure allure report with gradle and jenkins

I’m trying to setup allure in gradle so that it’ll work on jenkins. I know the problem is most likely in my build.gradle but I haven’t been able to fix it. I want my results to be generated in allure-results

automation
±-module a
±-build
±-module b
±-allure-results

build.gradle

plugins {
id “org.sonarqube” version “2.8”
id “io.qameta.allure” version “2.8.1”
}

allprojects {
group = ‘com.somegroup.qa’
version = ‘0.0.1-SNAPSHOT’
}

subprojects {

apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'checkstyle'
apply plugin: 'org.sonarqube'
apply plugin: 'io.qameta.allure'

repositories {
    mavenLocal()
    maven {
        url = 'https://repo1.maven.org/maven2'
        url = 'https://plugins.gradle.org/m2/'
    }
}

sourceCompatibility = '1.8'

publishing {
    publications {
        maven(MavenPublication) {
            from(components.java)
        }
    }
}

tasks.withType(JavaCompile) {
    options.encoding = 'UTF-8'
}

project.ext.set('jar_name', 'automation')

task fatJar(type: Jar) {
    archiveBaseName = project.jar_name
    zip64 = true

    manifest {
        attributes 'Main-Class': 'someMainClass'
    }

allure {
    aspectjweaver = true
    resultsDir = file('/uitests/allure-results')
}

dependencies {
    implementation 'org.seleniumhq.selenium:selenium-java:3.141.59'
    implementation 'org.seleniumhq.selenium:selenium-server:3.141.59'
    implementation 'junit:junit:4.12'
    implementation 'ch.qos.logback:logback-classic:1.2.3'
    implementation 'io.qameta.allure:allure-java-commons:2.13.0'
    implementation 'io.qameta.allure:allure-gradle:2.8.1'
    implementation 'io.rest-assured:rest-assured:3.2.0'
    implementation 'io.rest-assured:json-schema-validator:3.2.0'
    implementation 'org.jsoup:jsoup:1.12.1'
    implementation 'commons-cli:commons-cli:1.4'
    implementation 'io.github.bonigarcia:webdrivermanager:3.7.0'
}

}
When I run on jenkins I’m getting NaN%. I think I’ve exhausted all avenues, any help is appreciated.