r7rs-tests/templates/Jenkinsfile-bottom

36 lines
1.2 KiB
Plaintext
Raw Normal View History

2024-10-05 04:55:06 -04:00
stage("Report") {
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
unstash 'reports'
sh './report'
archiveArtifacts artifacts: 'reports/*.html'
publishHTML (target : [allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: true,
reportDir: 'reports',
reportFiles: '*.html,*.css',
2024-10-05 09:22:22 -04:00
reportName: 'R7RS Conformance Test Report',
reportTitles: 'R7RS Conformance Test Report'])
2024-10-05 04:55:06 -04:00
}
}
}
}
post {
always {
archiveArtifacts artifacts: 'reports/*.log'
archiveArtifacts artifacts: 'reports/*.html'
sh 'for f in srfi/*.sld; do snow-chibi package "$f"; done'
archiveArtifacts artifacts: '*.tgz'
archiveArtifacts artifacts: 'srfi/*.tgz'
deleteDir()
}
failure {
archiveArtifacts artifacts: 'reports/*.html'
archiveArtifacts artifacts: 'reports/*.log'
deleteDir()
}
}
}