removes ubuntu 20.04 form list

This commit is contained in:
Eyck Jentzsch 2024-07-06 10:25:29 +02:00
parent 7ebfb5897c
commit 08c9e36fae
1 changed files with 13 additions and 10 deletions

23
Jenkinsfile vendored
View File

@ -51,28 +51,28 @@ pipeline {
stages { stages {
stage('SCC test pipeline') { stage('SCC test pipeline') {
parallel { parallel {
stage('U22.04') { stage('ubuntu-22.04') {
agent {docker { image 'ubuntu-22.04' } } agent {docker { image 'ubuntu-22.04' } }
stages { stages {
stage('Checkout') { steps { checkout_project() }} stage('Checkout') { steps { checkout_project() }}
stage('Build & test') { steps { build_n_test_project() }} stage('Build & test') { steps { build_n_test_project() }}
} }
} }
stage('U20.04') { // stage('U20.04') {
agent {docker { image 'ubuntu-20.04' } } // agent {docker { image 'ubuntu-20.04' } }
stages { // stages {
stage('Checkout') { steps { checkout_project() }} // stage('Checkout') { steps { checkout_project() }}
stage('Build & test') { steps { build_n_test_project() }} // stage('Build & test') { steps { build_n_test_project() }}
} // }
} // }
stage('COS7') { stage('centos7') {
agent {docker { image 'centos7' } } agent {docker { image 'centos7' } }
stages { stages {
stage('Checkout') { steps { checkout_project() }} stage('Checkout') { steps { checkout_project() }}
stage('Build & test') { steps { build_n_test_project() }} stage('Build & test') { steps { build_n_test_project() }}
} }
} }
stage('RCK8') { stage('rockylinux8') {
agent {docker { image 'rockylinux8' } } agent {docker { image 'rockylinux8' } }
stages { stages {
stage('Checkout') { steps { checkout_project() }} stage('Checkout') { steps { checkout_project() }}
@ -86,6 +86,9 @@ pipeline {
stage('Checkout') { steps { checkout_project() }} stage('Checkout') { steps { checkout_project() }}
stage('Build & check format') { steps { stage('Build & check format') { steps {
sh''' sh'''
python3 -mvenv .venv
. .venv/bin/activate
pip3 install -r requirements.txt
cmake -S . -B build --preset Release cmake -S . -B build --preset Release
cmake --build build --target format-check cmake --build build --target format-check
''' '''