summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..b483ac3
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,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') ])
+ }
+ }
+} \ No newline at end of file