Guys, here is my pipeline script:
pipeline {
agent {
label “Windows”
}
environment {
dotnet = ‘C:\Program Files\dotnet\dotnet.exe’
}
stages {
stage(‘Checkout Stage’) {
steps {
git credentialsId: ‘Homework’, url: ‘GitHub - webberbond/ITechArt.Sergey’, branch: ‘Patterns’
}
}
stage(‘Build Stage’) {
steps {
bat ‘dotnet build’
}
}
stage(‘Test Stage’) {
steps {
bat ‘dotnet test’
bat ‘dotnet clean’
}
}
stage(‘Reports’) {
steps {
script{
allure([
includeProperties: false,
jdk: ‘’,
properties: ,
results: [[path: ‘target/allure-results’]]
])
}
}
}
}
}
1 test fails and four pass, but report is not generated. Could you help me please ASAP