test cli native

This commit is contained in:
Rudy Masson 2022-11-16 13:31:05 +01:00
parent 92fea37170
commit 6d48542bfc
1 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ pipeline {
) )
]) { ]) {
def report = pa11y.audit(u.trim(), [ def report = pa11y.audit(u.trim(), [
reporter: 'html', reporter: 'cli',
username: env.MSEDEV_USERNAME, username: env.MSEDEV_USERNAME,
password: env.MSEDEV_PASSWORD, password: env.MSEDEV_PASSWORD,
standard: 'WCAG2AA', standard: 'WCAG2AA',
@ -44,13 +44,13 @@ pipeline {
includeWarnings: params.INCLUDE_WARNINGS, includeWarnings: params.INCLUDE_WARNINGS,
]) ])
writeFile file:"./report_${count}.html", text:report writeFile file:"./report_${count}.xml", text:report
count++ count++
} }
} }
} }
junit testResults: '*.html', skipPublishingChecks: true junit testResults: '*.xml', skipPublishingChecks: true
rocketSend( rocketSend(
channel: '#cnous-mse', channel: '#cnous-mse',