File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ pipeline {
3838 }
3939 post {
4040 always {
41+ allure results : [[path : ' **/build/allure-results' ]]
4142 deleteDir()
4243 }
4344
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ buildscript {
1010 classpath ' org.junit.platform:junit-platform-gradle-plugin:1.0.0-M4'
1111 classpath ' net.researchgate:gradle-release:2.6.0'
1212 classpath ' ru.vyarus:gradle-quality-plugin:2.2.0'
13+ classpath ' io.qameta.allure:allure-gradle:2.3'
1314 }
1415}
1516
@@ -42,8 +43,11 @@ subprojects { project ->
4243 version = version
4344
4445 apply plugin : ' java'
46+ apply plugin : ' io.qameta.allure'
4547 apply plugin : ' io.spring.dependency-management'
46-
48+
49+ apply from : " ${ gradleScriptDir} /maven-publish.gradle"
50+
4751 compileJava. dependsOn(processResources)
4852
4953 compileJava {
@@ -92,8 +96,6 @@ subprojects { project ->
9296 }
9397 }
9498
95- apply from : " ${ gradleScriptDir} /maven-publish.gradle"
96-
9799 task sourceJar(type : Jar , dependsOn : classes) {
98100 classifier = ' sources'
99101 from sourceSets. main. allJava
@@ -118,6 +120,11 @@ subprojects { project ->
118120 mavenLocal()
119121 }
120122
123+ allure {
124+ version = ' 2.2.1'
125+ autoconfigure = false
126+ }
127+
121128 test {
122129 maxParallelForks = 10
123130 afterTest { desc , result ->
You can’t perform that action at this time.
0 commit comments