diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-06-25 16:30:08 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-06-25 17:50:28 +0200 |
commit | 2a55edcc40372403fb2de8ed20ed5c44464d416e (patch) | |
tree | 28c4de4c356038287fe8e678040d469b3de1514b /Jenkinsfile | |
parent | 5ed9b42bad3d1fed22f371da6672ffaf044c57aa (diff) |
Added JenkinsFile
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 27 |
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 |