34 lines
803 B
Groovy
34 lines
803 B
Groovy
@Library('eo-jenkins-lib@main') import eo.Utils
|
|
|
|
pipeline {
|
|
agent any
|
|
options { disableConcurrentBuilds() }
|
|
stages {
|
|
stage('Unit Tests (bullseye)') {
|
|
steps {
|
|
catchError(stageResult: 'FAILURE') {
|
|
sh './test-debvm bookworm'
|
|
}
|
|
}
|
|
}
|
|
stage('Unit Tests (bookworm)') {
|
|
steps {
|
|
catchError(stageResult: 'FAILURE') {
|
|
sh './test-debvm trixie'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
script {
|
|
utils = new Utils()
|
|
utils.mail_notify(currentBuild, env, 'ci+jenkins-publik-devinst@entrouvert.org')
|
|
}
|
|
}
|
|
success {
|
|
cleanWs()
|
|
}
|
|
}
|
|
}
|