summaryrefslogtreecommitdiff
path: root/Jenkinsfile
blob: b483ac324937a4407c8b77a23286012986db4a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
pipeline {
	agent { label 'c++20' }

	stages {
		stage('Build') {
			steps {
				echo 'Building...'
				sh 'rm -Rf build'
				sh './bootstrap.sh'
			}
		}
		stage('Test') {
			steps {
				echo 'Testing...'
				sh './ctor check'
			}
		}
	}

	post {
		always {
			xunit(thresholds: [ skipped(failureThreshold: '0'),
			                    failed(failureThreshold: '0') ],
			      tools: [ CppUnit(pattern: 'build/test/*.xml') ])
		}
	}
}