36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
 | 
						|
        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',
 | 
						|
                        reportName: 'R7RS-SRFI Test Report',
 | 
						|
                        reportTitles: 'R7RS-SRFI Test Report'])
 | 
						|
                }
 | 
						|
            }
 | 
						|
        }
 | 
						|
 | 
						|
    }
 | 
						|
    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()
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |