test reporter html

This commit is contained in:
Rudy Masson 2022-11-16 13:07:23 +01:00
parent 1d8b6495b2
commit 92fea37170
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -35,7 +35,7 @@ RUN apk add --no-cache \
chromium \
bash
RUN PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install -g pa11y@^5.0.0 pa11y-reporter-html@^1.0.0 pa11y-reporter-junit
RUN PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install -g pa11y@^6.2.3
RUN adduser -D pa11y