20 lines
		
	
	
		
			562 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			562 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
pipeline {
 | 
						|
    agent any
 | 
						|
    stages {
 | 
						|
        stage('setup') {
 | 
						|
            steps {
 | 
						|
                sh 'git checkout delta'
 | 
						|
                sh 'git reset --hard origin/delta'
 | 
						|
                sh 'git clean -fd'
 | 
						|
            }
 | 
						|
        }
 | 
						|
        stage('test') {
 | 
						|
            steps {
 | 
						|
                sh './testrun.sh'
 | 
						|
                logParser failBuildOnError: true, projectRulePath: 'Jenkinsparse', parsingRulesPath: 'Jenkinsparse', showGraphs: true, unstableOnWarning: true, useProjectRule: true
 | 
						|
                sh 'git reset --hard'
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |