diff --git a/pipelines/mse-rgaa.jenkinsfile b/pipelines/mse-rgaa.jenkinsfile index 977518c..2650739 100644 --- a/pipelines/mse-rgaa.jenkinsfile +++ b/pipelines/mse-rgaa.jenkinsfile @@ -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', diff --git a/resources/com/cadoles/pa11y/Dockerfile b/resources/com/cadoles/pa11y/Dockerfile index 4aa90e6..e313b3b 100644 --- a/resources/com/cadoles/pa11y/Dockerfile +++ b/resources/com/cadoles/pa11y/Dockerfile @@ -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