William Petit
cf8f026574
Some checks reported warnings
Cadoles/go-http-peering/pipeline/head This commit is unstable
38 lines
671 B
Groovy
38 lines
671 B
Groovy
@Library('cadoles') _
|
|
|
|
pipeline {
|
|
agent {
|
|
dockerfile {
|
|
filename 'Dockerfile'
|
|
dir 'misc/ci'
|
|
}
|
|
}
|
|
|
|
stages {
|
|
stage('Lint') {
|
|
steps {
|
|
script {
|
|
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
|
sh 'make lint'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
script {
|
|
sh 'make test'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
post {
|
|
always {
|
|
script {
|
|
cleanWs()
|
|
}
|
|
}
|
|
}
|
|
}
|