test cli native
This commit is contained in:
parent
92fea37170
commit
6d48542bfc
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue