diff --git a/vars/transformPipeline.groovy b/vars/transformPipeline.groovy index 31204ab..fb2ddf6 100644 --- a/vars/transformPipeline.groovy +++ b/vars/transformPipeline.groovy @@ -127,15 +127,15 @@ post { always { script { + if (pipelineParams.containsKey('trelloCard')) { + updateCard pipelineParams.trelloCard + } archiveArtifacts artifacts: 'out/*', excludes: 'out/*.html' - junit 'reports/**/*.xml' + junit allowEmptyResults: true, testResults: 'reports/**/*.xml' publishHTML([ allowMissing: true, alwaysLinkToLastBuild: true, keepAll: true, reportDir: 'out', reportFiles: 'main.html', reportName: 'Transform']) - if (pipelineParams.containsKey('trelloCard')) { - updateCard pipelineParams.trelloCard - } } } }