From 2a55edcc40372403fb2de8ed20ed5c44464d416e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 25 Jun 2022 16:30:08 +0200 Subject: Added JenkinsFile --- Jenkinsfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Jenkinsfile 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 -- cgit v1.2.3