|
stage('Supervision Protractor') { |
|
steps { |
|
script { |
|
ansiColor('xterm') { |
|
dir('ci_scripts_workspace') { |
|
try { |
|
sh 'ci/run_protractor_suite.sh' |
|
} catch (exception) { |
|
sh 'ci/run_serenity_report.sh' |
|
publishHTML([ |
|
allowMissing: false, |
|
alwaysLinkToLastBuild: false, |
|
keepAll: false, |
|
reportDir: 'protractor-serenity-report', |
|
reportFiles: 'index.html', |
|
reportName: 'Supervision Serenity Report', |
|
reportTitles: "Tag: ${SIRIUS_NEW_TAG}" |
|
]) |
|
|
|
fileOperations([fileZipOperation('protractor-serenity-report')]) |
|
archiveArtifacts artifacts: 'protractor-serenity-report.zip' |
|
|
|
throw exception |
|
} |
|
} |
|
} |
|
} |
|
} |
|
} |