Refactor Makefile
Some checks reported warnings
Cadoles/go-http-peering/pipeline/head This commit is unstable
Some checks reported warnings
Cadoles/go-http-peering/pipeline/head This commit is unstable
This commit is contained in:
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -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(' ')
|
||||
|
Reference in New Issue
Block a user