Refactor Makefile
Some checks reported warnings
Cadoles/go-http-peering/pipeline/head This commit is unstable

This commit is contained in:
2022-09-05 12:40:58 +02:00
parent 932aa46a18
commit 9c26b79769
5 changed files with 33 additions and 31 deletions

17
Jenkinsfile vendored
View File

@ -9,9 +9,26 @@ pipeline {
}
stages {
stage('Lint') {
steps {
script {
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
sh 'make lint'
}
}
}
}
stage('Test') {
steps {
script {
sh 'make test'
}
}
}
stage('Release') {
steps {
script {
sh 'make tidy'
sh 'ARCH_TARGETS="amd64 arm arm64" make release'
def attachments = sh(returnStdout: true, script: 'find release -maxdepth 1 -type f').split(' ')